Skip to content

Commit 573f8fc

Browse files
feat(core): align the upstream types.Header (#393)
1 parent afd09af commit 573f8fc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

core/types/block.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ type Header struct {
104104
ParentBeaconRoot *common.Hash `json:"parentBeaconBlockRoot" rlp:"optional"`
105105

106106
// RequestsHash was added by EIP-7685 and is ignored in legacy headers.
107-
RequestsHash *common.Hash `json:"requestsRoot" rlp:"optional"`
107+
RequestsHash *common.Hash `json:"requestsHash" rlp:"optional"`
108108
}
109109

110110
// field type overrides for gencodec

core/types/gen_header_json.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)