Skip to content

Commit

Permalink
feat: use peer-das image for dora when eip7594 is active (#593)
Browse files Browse the repository at this point in the history
Adds PeerDAS (EIP7594) support for dory by using a [custom
image](ethpandaops/dora#61)
  • Loading branch information
pk910 committed May 6, 2024
1 parent 9062edd commit 1b4bd3d
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -511,8 +511,8 @@ network_params:
# The epoch at which the deneb/electra/eip7594(peerdas) forks are set to occur. Note: PeerDAS and Electra clients are currently
# working on forks. So set either one of the below forks.
deneb_fork_epoch: 0
electra_fork_epoch: 500
eip7594_fork_epoch: 1000
electra_fork_epoch: 100000000
eip7594_fork_epoch: 100000001
# The fork version to set if the eip7594 fork is active
eip7594_fork_version: "0x70000038"
Expand Down
4 changes: 2 additions & 2 deletions network_params.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ network_params:
min_validator_withdrawability_delay: 256
shard_committee_period: 256
deneb_fork_epoch: 0
electra_fork_epoch: 500
eip7594_fork_epoch: 1000
electra_fork_epoch: 100000000
eip7594_fork_epoch: 100000001
eip7594_fork_version: "0x70000038"
network_sync_base_url: https://ethpandaops-ethereum-node-snapshots.ams3.digitaloceanspaces.com/
additional_services:
Expand Down
2 changes: 2 additions & 0 deletions src/dora/dora_launcher.star
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ def get_config(

if network_params.preset == "minimal":
IMAGE_NAME = "ethpandaops/dora:minimal-preset"
elif network_params.eip7594_fork_epoch < 100000000:
IMAGE_NAME = "ethpandaops/dora:peer-das"
else:
IMAGE_NAME = "ethpandaops/dora:latest"

Expand Down
8 changes: 4 additions & 4 deletions src/package_io/input_parser.star
Original file line number Diff line number Diff line change
Expand Up @@ -693,8 +693,8 @@ def default_network_params():
"min_validator_withdrawability_delay": 256,
"shard_committee_period": 256,
"deneb_fork_epoch": 0,
"electra_fork_epoch": 500,
"eip7594_fork_epoch": 1000,
"electra_fork_epoch": 100000000,
"eip7594_fork_epoch": 100000001,
"eip7594_fork_version": "0x70000038",
"network_sync_base_url": "https://ethpandaops-ethereum-node-snapshots.ams3.digitaloceanspaces.com/",
"preset": "mainnet",
Expand All @@ -717,8 +717,8 @@ def default_minimal_network_params():
"min_validator_withdrawability_delay": 256,
"shard_committee_period": 64,
"deneb_fork_epoch": 0,
"electra_fork_epoch": 500,
"eip7594_fork_epoch": 1000,
"electra_fork_epoch": 100000000,
"eip7594_fork_epoch": 100000001,
"eip7594_fork_version": "0x70000038",
"network_sync_base_url": "https://ethpandaops-ethereum-node-snapshots.ams3.digitaloceanspaces.com/",
"preset": "minimal",
Expand Down

0 comments on commit 1b4bd3d

Please sign in to comment.