ethereum.forks.shanghai.fork_typesethereum.forks.cancun.fork_types
Ethereum Types.
.. contents:: Table of Contents :backlinks: none :local:
Introduction
Types reused throughout the specification, which are specific to Ethereum.
Address¶
| 20 | Address = Bytes20 |
|---|
VersionedHash¶
| 22 | VersionedHash = Hash32 |
|---|
Root¶
| 24 | Root = Hash32 |
|---|
Bloom¶
| 26 | Bloom = Bytes256 |
|---|
encode_account ¶
Encode Account dataclass.
Storage is not stored in the Account dataclass, so Accounts cannot be
encoded without providing a storage root.