chore: bump chain-fusion-signer to v0.4.0#288
Merged
Conversation
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.
Member
Author
|
should not be merged until the CFS is updated on mainnet |
raymondk
approved these changes
Jun 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.sources/chain-fusion-signerfrom v0.3.0 (8cea727) to v0.4.0 (a18c52a).sources/VERSIONSdocs/guides/chain-fusion/chain-fusion-signer.mdWhat changed in v0.4.0
The key functional change is per-input BTC fee pricing (PR #512):
btc_caller_sign: was flat 132B cycles → now74B + (n_inputs × 37B)cyclesbtc_caller_send: was flat 132B cycles → now95B + (n_inputs × 37B)cyclesEach BTC input requires one
sign_with_ecdsacall, so fees now scale with the number of UTXOs spent. The old flat fee was inaccurate and inconsistent with the rest ofSignerMethods.fee()returns a grace-period default sized for 2 inputs (148B / 169B) for backward compatibility. Callers with more than 2 inputs should usebtc_fee_for_inputs(n).All other method fees are unchanged.
Docs changes
All other checked pages (
concepts/chain-fusion/,guides/chain-fusion/bitcoin.mdx, etc.) contain no hardcoded BTC fee values — no further changes needed.