Skip to content

Version Packages (alpha) - #309

Merged
kassandraoftroy merged 1 commit into
masterfrom
changeset-release/master
Oct 1, 2026
Merged

kassandraoftroy merged 1 commit into
masterfrom
changeset-release/master

Conversation

@github-actions

@github-actions github-actions Bot commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to master, this PR will be updated.

⚠️⚠️⚠️⚠️⚠️⚠️

master is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, run changeset pre exit on master.

⚠️⚠️⚠️⚠️⚠️⚠️

Releases

@kohaku-eth/privacy-pools@0.0.2-alpha.21

Patch Changes

  • f829ce1: Add cost estimation and exact-output unshields. New estimateShield and estimateUnshield methods return the fees and net amounts for a shield/withdrawal without building a proof. prepareUnshield gains an exact option: when set, amount is read as the amount the recipient must receive (net). For relayer withdrawals the recipient receives that amount exactly. The quote is decomposed into its fixed base rate and its (size-independent) gas cost; the gross is sized from that and a fee is embedded in self-built relay data. Only the gas component is bumped by exact.gasBumpBPS (default 15%) to keep the payload acceptable if gas rises before submission — the relayer's base margin is not inflated. The required fee is bounded by the asset's on-chain maxRelayFeeBPS; the withdrawal is rejected if it would exceed the cap. Exact-output relayer payloads are broadcast without a feeCommitment, since the embedded fee is not one the relayer signed.

@github-actions github-actions Bot changed the title chore: version package (alpha) Version Packages (alpha) Oct 1, 2026
@github-actions
github-actions Bot force-pushed the changeset-release/master branch from 4eebbb0 to 2faa31c Compare October 1, 2026 07:04

@kassandraoftroy kassandraoftroy left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kassandraoftroy
kassandraoftroy merged commit 78e7d07 into master Oct 1, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant