Skip to content

Support Ethereum typed transactions via TX_CONTAINER encoding#114

Open
CoderZhi wants to merge 2 commits into
masterfrom
support-typed-transactions
Open

Support Ethereum typed transactions via TX_CONTAINER encoding#114
CoderZhi wants to merge 2 commits into
masterfrom
support-typed-transactions

Conversation

@CoderZhi

Copy link
Copy Markdown
Contributor

Summary

  • Add support for EIP-1559 (DynamicFee), EIP-2930 (AccessList), EIP-4844 (Blob), and EIP-7702 (SetCode) typed transactions
  • Typed txs are signed as raw Ethereum RLP bytes and sent via TX_CONTAINER encoding to the node
  • SetCodeAuthorization uses IoTeX chain IDs (1/2/3) in the public API; internally maps to EVM network IDs (4689/4690/4691)
  • Bug fix: signContainer previously stripped all ActionCore fields except ChainID; now preserves Nonce, GasLimit, GasTipCap, GasFeeCap, and all other fields alongside the TxContainer

Test plan

  • go test ./iotex/... — 42 tests pass including TestCall_TypedTx_ActionCoreFieldsPreserved (Bug 2 regression guard)
  • Integration tests skip gracefully when IOTEX_CORE env is not set

🤖 Generated with Claude Code

CoderZhi and others added 2 commits May 29, 2026 15:28
test: add regression guard confirming signContainer keeps nonce/gasLimit/fees

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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