A Soroban call in a fee bump paid by a muxed account: charge and refund on the fee source
The resource fee is charged at the maximum and the unused part refunded after apply; both go to the fee source bob (via M(bob, 13)), not to the inner source alice.
The shape
The resource fee is charged at the maximum and the unused part refunded after apply; both go to the fee source bob (via M(bob, 13)), not to the inner source alice.
Variants
| Variant | Protocol | Network | Source | Size | sha256 |
|---|---|---|---|---|---|
p30-mainnet-generated | P30 | mainnet passphrase | generated by stellar-core v30.0.0 | 3,068 B | eb1bef3c3157… |
p28-mainnet-generated | P28 | mainnet passphrase | generated by stellar-core v30.0.0 | 3,060 B | 8b26ec845dd7… |
p30-testnet-generated | P30 | testnet passphrase | generated by stellar-core v30.0.0 | 3,068 B | f4dc123d5dc1… |
p28-testnet-generated | P28 | testnet passphrase | generated by stellar-core v30.0.0 | 3,060 B | 630c77fcd03a… |
What a correct reader returns
| A correct reader finds | Value | Backed by |
|---|---|---|
| The fee source is bob muxed with ID 13. | MCDNGZ7NJFNBWBP7DXYQKJRBG2VAIR5DCCCLUDBZW5B3VGUFKDG5AAAAAAAAAAAABWR4I | constructionsnapshotcorewalker |
| The refund after apply goes to bob. | some change where 1 fields match | snapshotcorewalker |
Check it yourself
make verify # schema, hashes, the byte-for-byte round trip and every fact above
make oracle # the facts' values, re-read by stellar-core and the schema walkerEntry id fee-bump.soroban-muxed-fee-source · compiled from catalog/fee-bump.soroban-muxed-fee-source.json · entry.json
A fee bump whose fee source is a muxed account
The outer fee source is M(frank, 12345): frank's base account pays, the inner source alice's sequence is consumed.
An oversubscribed ledger: the transaction set's base fee is 2000, not the header's 100
101 operations queued for a 100-operation set, bids 3000, 2000 and 1000 per operation: core keeps the two highest and sets the component base fee to the lowest kept bid.