PR specifies integer encoding and header position for EIP-7928
Oct 26 find · published Oct 23GHGitHub · ethereum/EIPs · 1 min readRead original
Network upgradesEIP-7928 block access list encoding
flcl42's PR clarifies how EIP-7928 encodes integers and positions the block access list hash in the header. The spec had left integer fields like StorageKey and StorageValue undefined, while execution-specs and go-ethereum used minimal big-endian encoding but devp2p specified zero-padded 32-byte strings. Following devp2p or the EIP's worked example would compute a different block hash from what Sepolia runs. The PR states that integer-typed fields are RLP unsigned integers in minimal big-endian, that block_access_list_hash follows requests_hash in the header, and fixes example values from wei amounts mislabeled as ETH. Readers implementing from the spec will now get the correct hash.
32 bytesAddress encoding length
0x80RLP encoding of zero
Comments
Sign in to join the conversation.