Skip to content

chore: bump chain-fusion-signer to v0.4.0#288

Merged
raymondk merged 1 commit into
mainfrom
infra/bump-chain-fusion-signer-v0.4.0
Jun 9, 2026
Merged

chore: bump chain-fusion-signer to v0.4.0#288
raymondk merged 1 commit into
mainfrom
infra/bump-chain-fusion-signer-v0.4.0

Conversation

@marc0olo

@marc0olo marc0olo commented Jun 9, 2026

Copy link
Copy Markdown
Member

Summary

  • Bumps .sources/chain-fusion-signer from v0.3.0 (8cea727) to v0.4.0 (a18c52a)
  • Updates .sources/VERSIONS
  • Updates API fees table in docs/guides/chain-fusion/chain-fusion-signer.md

What changed in v0.4.0

The key functional change is per-input BTC fee pricing (PR #512):

  • btc_caller_sign: was flat 132B cycles → now 74B + (n_inputs × 37B) cycles
  • btc_caller_send: was flat 132B cycles → now 95B + (n_inputs × 37B) cycles

Each BTC input requires one sign_with_ecdsa call, so fees now scale with the number of UTXOs spent. The old flat fee was inaccurate and inconsistent with the rest of SignerMethods.

fee() returns a grace-period default sized for 2 inputs (148B / 169B) for backward compatibility. Callers with more than 2 inputs should use btc_fee_for_inputs(n).

All other method fees are unchanged.

Docs changes

  • Fee table updated: BTC methods now show the formula instead of a flat value
  • Added a callout explaining the per-input model and giving a worked example (2-input sign = 148B cycles)
  • Version reference updated from v0.3.0 to v0.4.0

All other checked pages (concepts/chain-fusion/, guides/chain-fusion/bitcoin.mdx, etc.) contain no hardcoded BTC fee values — no further changes needed.

BTC sign/send fees now scale per UTXO input (one sign_with_ecdsa per
input): btc_caller_sign is 74B + N×37B cycles, btc_caller_send is
95B + N×37B cycles. Update the API fees table and add an explanation
of the per-input pricing model.
@marc0olo marc0olo requested a review from a team as a code owner June 9, 2026 09:50
@marc0olo

marc0olo commented Jun 9, 2026

Copy link
Copy Markdown
Member Author

should not be merged until the CFS is updated on mainnet

@raymondk raymondk merged commit fb06949 into main Jun 9, 2026
8 checks passed
@raymondk raymondk deleted the infra/bump-chain-fusion-signer-v0.4.0 branch June 9, 2026 11:26
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.

2 participants