Skip to content

Commit

Permalink
fix: keep chainid in tx payload as u64; change auth chainid to u256
Browse files Browse the repository at this point in the history
  • Loading branch information
danceratopz committed Dec 18, 2024
1 parent 96352c2 commit febb397
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ethereum/prague/fork_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class Authorization:
The authorization for a set code transaction.
"""

chain_id: U64
chain_id: U256
address: Address
nonce: U64
y_parity: U8
Expand Down
2 changes: 1 addition & 1 deletion src/ethereum/prague/transactions.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ class SetCodeTransaction:
The transaction type added in EIP-7702.
"""

chain_id: U256
chain_id: U64
nonce: U64
max_priority_fee_per_gas: Uint
max_fee_per_gas: Uint
Expand Down

0 comments on commit febb397

Please sign in to comment.