ethereum / ethereum/execution-specs

Transaction's `nonce` should be of type `U64`

Open
#986 7 comments 0 reactions 1 assignee Claimed by @gurukamath View on GitHub
A-spec-specs C-feat E-easy P-high stale
Dominant language
Python
Stars
1.2k
Forks
505
Avg merge
2d 14h
Merged PRs (30d)
116

Description

Because of [EIP-2671](https://eips.ethereum.org/EIPS/eip-2681), the nonce of a transaction is limited in size to fit in a `U64`. We currently use a `U256`:

https://github.com/ethereum/execution-specs/blob/fcd12750edd4443a91f138728689a1d0a503a7c1/src/ethereum/cancun/transactions.py#L37

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.