Skip to content

fix: support CeloDynamicFeeTxV2 (CIP-64) in span batches#430

Open
palango wants to merge 1 commit intocelo-rebase-16from
celo-span-batch-cip64
Open

fix: support CeloDynamicFeeTxV2 (CIP-64) in span batches#430
palango wants to merge 1 commit intocelo-rebase-16from
celo-span-batch-cip64

Conversation

@palango
Copy link

@palango palango commented Mar 13, 2026

Span batch encoding/decoding failed on Celo CIP-64 transactions (type 0x7b) because the tx type switch statements only handled legacy, access list, dynamic fee, and set code types.

Add spanBatchCeloDynamicFeeTxV2Data to carry the FeeCurrency field through the encode/decode round trip, and wire it into all 5 switch sites: newSpanBatchTx, decodeTyped, convertToFullTx, recoverV, and convertVToYParity.

Resolves https://github.com/celo-org/celo-blockchain-planning/issues/1360

Span batch encoding/decoding failed on Celo CIP-64 transactions (type
0x7b) because the tx type switch statements only handled legacy, access
list, dynamic fee, and set code types.

Add spanBatchCeloDynamicFeeTxV2Data to carry the FeeCurrency field
through the encode/decode round trip, and wire it into all 5 switch
sites: newSpanBatchTx, decodeTyped, convertToFullTx, recoverV, and
convertVToYParity.
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