Skip to content

Commit 4735930

Browse files
holimanfjl
authored andcommitted
core: blocknumber in genesis as hex (#14812)
1 parent 0ff35e1 commit 4735930

2 files changed

Lines changed: 5 additions & 6 deletions

File tree

‎core/gen_genesis.go‎

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

‎core/genesis.go‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ type genesisSpecMarshaling struct {
9292
ExtraData hexutil.Bytes
9393
GasLimit math.HexOrDecimal64
9494
GasUsed math.HexOrDecimal64
95+
Number math.HexOrDecimal64
9596
Difficulty *math.HexOrDecimal256
9697
Alloc map[common.UnprefixedAddress]GenesisAccount
9798
}

0 commit comments

Comments
 (0)