Skip to content

Commit

Permalink
genesis: use non-zero timestamps
Browse files Browse the repository at this point in the history
as suggested

Ceyhun Onur:
"warp cannot be activated at timestamp = 0
"which is before Durango
"also set genesis timestamp  to some non-zero value (a recent timestamp is fine).

Gene Aumson:
"thanks. just to confirm, is there a recent change that started enforcing this? again, this genesis file was working not long ago"

Ceyhun Onur:
"yes it was changed after v0.6.3 when we introduced modifiable network upgrades and fixing a regression with using 0 timestamps in genesis."
  • Loading branch information
feuGeneA committed Jun 25, 2024
1 parent af837c3 commit e92f46e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/utils/warp-genesis.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"blockGasCostStep": 500000
},
"warpConfig": {
"blockTimestamp": 0
"blockTimestamp": 1719343601
},
"contractNativeMinterConfig": {
"blockTimestamp": 0,
Expand All @@ -35,7 +35,7 @@
}
},
"nonce": "0x0",
"timestamp": "0x0",
"timestamp": "0x667B19F0",
"extraData": "0x00",
"gasLimit": "0x1312D00",
"difficulty": "0x0",
Expand Down

0 comments on commit e92f46e

Please sign in to comment.