Skip to content

Commit

Permalink
re-add prague offset
Browse files Browse the repository at this point in the history
  • Loading branch information
parithosh committed Oct 13, 2023
1 parent bb3dec1 commit b240478
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/el-gen/genesis_geth.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
out["alloc"][key] = {"balance": weival}

# TODO: This is a hack just for geth and just for kaustinen
out['config']['pragueTime'] = int(data['genesis_timestamp'])
out['config']['pragueTime'] = int(data['genesis_timestamp']) + int(data['genesis_delay']) + (int(data['electra_fork_epoch']) * 32 * int(data['slot_duration_in_seconds']))
# TODO: This is a hack just for geth and just for networks who want proofs in block at genesis
out['config']['proofInBlocks'] = True
out['config']['shanghaiTime'] = 0
Expand Down

0 comments on commit b240478

Please sign in to comment.