File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -105,13 +105,15 @@ type Header struct {
105105 // ParentBeaconRoot was added by EIP-4788 and is ignored in legacy headers.
106106 ParentBeaconRoot * common.Hash `json:"parentBeaconBlockRoot" rlp:"optional"`
107107
108- //BlockHash is the hash of the block reported by the node.
108+ // !!ADDED BY ETHKIT!!
109+ // BlockHash is the hash of the block reported by the node.
109110 //
110111 // NOTE: this field is added by ethkit, as go-ethereum does not have this
111112 // because it computes the hash from the rlp encoding.
112113 // We've also added `ComputedBlockHash()` method for the block hash as
113114 // computed by rlp encoding.
114115 BlockHash common.Hash `json:"hash"`
116+
115117 // RequestsHash was added by EIP-7685 and is ignored in legacy headers.
116118 RequestsHash * common.Hash `json:"requestsHash" rlp:"optional"`
117119}
Original file line number Diff line number Diff line change @@ -72,6 +72,7 @@ type Receipt struct {
7272 BlockNumber * big.Int `json:"blockNumber,omitempty"`
7373 TransactionIndex uint `json:"transactionIndex"`
7474
75+ // !!ADDED BY ETHKIT!!
7576 // NOTE: go-ethereum doesn't include these types on the object,
7677 // even though they are available on the eth_getTransactionReceipt payload
7778 From common.Address `json:"from"`
You can’t perform that action at this time.
0 commit comments