Skip to content

Commit

Permalink
fix egg (#169)
Browse files Browse the repository at this point in the history
  • Loading branch information
parithosh authored Dec 18, 2024
1 parent 4a8850c commit 1a33496
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 8 deletions.
2 changes: 0 additions & 2 deletions apps/el-gen/genesis_besu.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,6 @@ def add_alloc_entry(addr, account):
else:
out['config']['cancunTime'] = 0

if 'blobSchedule' not in out['config']:
out['config']['blobSchedule'] = {}
out['config']['blobSchedule']['cancun'] = {
"target": data['target_blobs_per_block_cancun'],
"max": data['max_blobs_per_block_cancun']
Expand Down
5 changes: 1 addition & 4 deletions apps/el-gen/genesis_chainspec.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,10 +261,7 @@ def add_alloc_entry(addr, account):
out['params']['eip1153TransitionTimestamp'] = 0
out['params']['eip5656TransitionTimestamp'] = 0
out['params']['eip6780TransitionTimestamp'] = 0
# If blobSchedule is not in the config, add it
if 'blobSchedule' not in out['config']:
out['params']['blobSchedule'] = {}


# if blobSchedule is in the config, add the cancun blobSchedule
out['params']['blobSchedule']['cancun'] = {
"target": data['target_blobs_per_block_cancun'],
Expand Down
2 changes: 0 additions & 2 deletions apps/el-gen/genesis_geth.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,6 @@ def add_alloc_entry(addr, account):
else:
out['config']['cancunTime'] = 0

if 'blobSchedule' not in out['config']:
out['config']['blobSchedule'] = {}
out['config']['blobSchedule']['cancun'] = {
"target": data['target_blobs_per_block_cancun'],
"max": data['max_blobs_per_block_cancun']
Expand Down

0 comments on commit 1a33496

Please sign in to comment.