mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-21 23:39:26 +00:00
internal/era: update eraE type IDs to match spec (#33827)
Update to match the spec: https://github.com/eth-clients/e2store-format-specs/pull/16 --------- Co-authored-by: lightclient <lightclient@protonmail.com>
This commit is contained in:
parent
995fa79bf5
commit
9426444825
2 changed files with 3 additions and 3 deletions
|
|
@ -37,8 +37,8 @@ var (
|
||||||
TypeCompressedReceipts uint16 = 0x05
|
TypeCompressedReceipts uint16 = 0x05
|
||||||
TypeTotalDifficulty uint16 = 0x06
|
TypeTotalDifficulty uint16 = 0x06
|
||||||
TypeAccumulator uint16 = 0x07
|
TypeAccumulator uint16 = 0x07
|
||||||
TypeCompressedSlimReceipts uint16 = 0x08 // uses eth/69 encoding
|
TypeCompressedSlimReceipts uint16 = 0x0a // uses eth/69 encoding
|
||||||
TypeProof uint16 = 0x09
|
TypeProof uint16 = 0x0b
|
||||||
TypeBlockIndex uint16 = 0x3266
|
TypeBlockIndex uint16 = 0x3266
|
||||||
TypeComponentIndex uint16 = 0x3267
|
TypeComponentIndex uint16 = 0x3267
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,7 @@ package execdb
|
||||||
// Version = { type: 0x3265, data: nil }
|
// Version = { type: 0x3265, data: nil }
|
||||||
// CompressedHeader = { type: 0x03, data: snappyFramed(rlp(header)) }
|
// CompressedHeader = { type: 0x03, data: snappyFramed(rlp(header)) }
|
||||||
// CompressedBody = { type: 0x04, data: snappyFramed(rlp(body)) }
|
// CompressedBody = { type: 0x04, data: snappyFramed(rlp(body)) }
|
||||||
// CompressedSlimReceipts = { type: 0x08, data: snappyFramed(rlp([tx-type, post-state-or-status, cumulative-gas, logs])) }
|
// CompressedSlimReceipts = { type: 0x0a, data: snappyFramed(rlp([tx-type, post-state-or-status, cumulative-gas, logs])) }
|
||||||
// TotalDifficulty = { type: 0x06, data: uint256 (header.total_difficulty) }
|
// TotalDifficulty = { type: 0x06, data: uint256 (header.total_difficulty) }
|
||||||
// AccumulatorRoot = { type: 0x07, data: hash_tree_root(List(HeaderRecord, 8192)) }
|
// AccumulatorRoot = { type: 0x07, data: hash_tree_root(List(HeaderRecord, 8192)) }
|
||||||
// ComponentIndex = { type: 0x3267, data: component-index }
|
// ComponentIndex = { type: 0x3267, data: component-index }
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue