Commit 1b4bd3d1 authored by pk910's avatar pk910 Committed by GitHub

feat: use `peer-das` image for dora when eip7594 is active (#593)

Adds PeerDAS (EIP7594) support for dory by using a [custom
image](https://github.com/ethpandaops/dora/pull/61)
parent 9062edd5
...@@ -511,8 +511,8 @@ network_params: ...@@ -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 # 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. # working on forks. So set either one of the below forks.
deneb_fork_epoch: 0 deneb_fork_epoch: 0
electra_fork_epoch: 500 electra_fork_epoch: 100000000
eip7594_fork_epoch: 1000 eip7594_fork_epoch: 100000001
# The fork version to set if the eip7594 fork is active # The fork version to set if the eip7594 fork is active
eip7594_fork_version: "0x70000038" eip7594_fork_version: "0x70000038"
......
...@@ -71,8 +71,8 @@ network_params: ...@@ -71,8 +71,8 @@ network_params:
min_validator_withdrawability_delay: 256 min_validator_withdrawability_delay: 256
shard_committee_period: 256 shard_committee_period: 256
deneb_fork_epoch: 0 deneb_fork_epoch: 0
electra_fork_epoch: 500 electra_fork_epoch: 100000000
eip7594_fork_epoch: 1000 eip7594_fork_epoch: 100000001
eip7594_fork_version: "0x70000038" eip7594_fork_version: "0x70000038"
network_sync_base_url: https://ethpandaops-ethereum-node-snapshots.ams3.digitaloceanspaces.com/ network_sync_base_url: https://ethpandaops-ethereum-node-snapshots.ams3.digitaloceanspaces.com/
additional_services: additional_services:
......
...@@ -95,6 +95,8 @@ def get_config( ...@@ -95,6 +95,8 @@ def get_config(
if network_params.preset == "minimal": if network_params.preset == "minimal":
IMAGE_NAME = "ethpandaops/dora:minimal-preset" IMAGE_NAME = "ethpandaops/dora:minimal-preset"
elif network_params.eip7594_fork_epoch < 100000000:
IMAGE_NAME = "ethpandaops/dora:peer-das"
else: else:
IMAGE_NAME = "ethpandaops/dora:latest" IMAGE_NAME = "ethpandaops/dora:latest"
......
...@@ -693,8 +693,8 @@ def default_network_params(): ...@@ -693,8 +693,8 @@ def default_network_params():
"min_validator_withdrawability_delay": 256, "min_validator_withdrawability_delay": 256,
"shard_committee_period": 256, "shard_committee_period": 256,
"deneb_fork_epoch": 0, "deneb_fork_epoch": 0,
"electra_fork_epoch": 500, "electra_fork_epoch": 100000000,
"eip7594_fork_epoch": 1000, "eip7594_fork_epoch": 100000001,
"eip7594_fork_version": "0x70000038", "eip7594_fork_version": "0x70000038",
"network_sync_base_url": "https://ethpandaops-ethereum-node-snapshots.ams3.digitaloceanspaces.com/", "network_sync_base_url": "https://ethpandaops-ethereum-node-snapshots.ams3.digitaloceanspaces.com/",
"preset": "mainnet", "preset": "mainnet",
...@@ -717,8 +717,8 @@ def default_minimal_network_params(): ...@@ -717,8 +717,8 @@ def default_minimal_network_params():
"min_validator_withdrawability_delay": 256, "min_validator_withdrawability_delay": 256,
"shard_committee_period": 64, "shard_committee_period": 64,
"deneb_fork_epoch": 0, "deneb_fork_epoch": 0,
"electra_fork_epoch": 500, "electra_fork_epoch": 100000000,
"eip7594_fork_epoch": 1000, "eip7594_fork_epoch": 100000001,
"eip7594_fork_version": "0x70000038", "eip7594_fork_version": "0x70000038",
"network_sync_base_url": "https://ethpandaops-ethereum-node-snapshots.ams3.digitaloceanspaces.com/", "network_sync_base_url": "https://ethpandaops-ethereum-node-snapshots.ams3.digitaloceanspaces.com/",
"preset": "minimal", "preset": "minimal",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment