Skip to content

Commit

Permalink
update prague to verkle renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
parithosh committed Aug 29, 2024
1 parent bd6b85d commit f0510d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/el-gen/genesis_besu.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,5 +126,5 @@
out["alloc"][key] = {"balance": weival}

out['config']['ethash'] = {}
out['config']['pragueTime'] = int(data['genesis_timestamp']) + int(data['genesis_delay']) + (int(data['electra_fork_epoch']) * 32 * int(data['slot_duration_in_seconds']))
out['config']['verkleTime'] = int(data['genesis_timestamp']) + int(data['genesis_delay']) + (int(data['electra_fork_epoch']) * 32 * int(data['slot_duration_in_seconds']))
print(json.dumps(out, indent=' '))
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']) + int(data['genesis_delay']) + (int(data['electra_fork_epoch']) * 32 * int(data['slot_duration_in_seconds']))
out['config']['verkleTime'] = 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 f0510d9

Please sign in to comment.