Commit 0a9e445b authored by Barnabas Busa's avatar Barnabas Busa Committed by GitHub

feat: add support for fulu/osaka fusaka (#798)

parent 853417ef
participants: participants:
- el_type: besu - el_type: besu
el_image: ethpandaops/besu:shemnon-eof-cancunEOF-fork el_image: ethpandaops/besu:main
count: 3 count: 3
cl_type: teku cl_type: teku
cl_image: ethpandaops/teku:master cl_image: ethpandaops/teku:master
network_params: network_params:
electra_fork_epoch: 1 electra_fork_epoch: 1
eof_activation_epoch: 2 fulu_fork_epoch: 2
preset: minimal
additional_services: additional_services:
- dora - dora
- blockscout - blockscout
...@@ -547,15 +547,16 @@ network_params: ...@@ -547,15 +547,16 @@ 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: 100000000 electra_fork_epoch: 100000000
eip7594_fork_epoch: 100000001
fulu_fork_epoch: 100000001
eip7594_fork_epoch: 100000002
# 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: "0x60000038" eip7594_fork_version: "0x60000038"
# EOF activation fork epoch (EL only fork)
# Defaults to None
eof_activation_epoch: ""
# Network sync base url for syncing public networks from a custom snapshot (mostly useful for shadowforks) # Network sync base url for syncing public networks from a custom snapshot (mostly useful for shadowforks)
# Defaults to "https://snapshots.ethpandaops.io/" # Defaults to "https://snapshots.ethpandaops.io/"
......
...@@ -397,7 +397,6 @@ def run(plan, args={}): ...@@ -397,7 +397,6 @@ def run(plan, args={}):
prefunded_accounts, prefunded_accounts,
fuzz_target, fuzz_target,
tx_spammer_params, tx_spammer_params,
network_params.electra_fork_epoch,
global_node_selectors, global_node_selectors,
) )
plan.print("Successfully launched transaction spammer") plan.print("Successfully launched transaction spammer")
......
...@@ -88,10 +88,10 @@ network_params: ...@@ -88,10 +88,10 @@ network_params:
shard_committee_period: 256 shard_committee_period: 256
deneb_fork_epoch: 0 deneb_fork_epoch: 0
electra_fork_epoch: 100000000 electra_fork_epoch: 100000000
eip7594_fork_epoch: 100000001 fulu_fork_epoch: 100000001
eip7594_fork_epoch: 100000002
eip7594_fork_version: "0x60000038" eip7594_fork_version: "0x60000038"
network_sync_base_url: https://snapshots.ethpandaops.io/ network_sync_base_url: https://snapshots.ethpandaops.io/
eof_activation_epoch: ""
data_column_sidecar_subnet_count: 128 data_column_sidecar_subnet_count: 128
samples_per_slot: 8 samples_per_slot: 8
custody_requirement: 4 custody_requirement: 4
......
...@@ -121,7 +121,7 @@ def get_config( ...@@ -121,7 +121,7 @@ def get_config(
if assertoor_params.image != "": if assertoor_params.image != "":
IMAGE_NAME = assertoor_params.image IMAGE_NAME = assertoor_params.image
elif network_params.electra_fork_epoch < 100000000: elif network_params.electra_fork_epoch < constants.ELECTRA_FORK_EPOCH:
IMAGE_NAME = "ethpandaops/assertoor:electra-support" IMAGE_NAME = "ethpandaops/assertoor:electra-support"
else: else:
IMAGE_NAME = "ethpandaops/assertoor:latest" IMAGE_NAME = "ethpandaops/assertoor:latest"
......
...@@ -122,6 +122,8 @@ def get_config( ...@@ -122,6 +122,8 @@ def get_config(
if dora_params.image != "": if dora_params.image != "":
IMAGE_NAME = dora_params.image IMAGE_NAME = dora_params.image
elif network_params.electra_fork_epoch < constants.ELECTRA_FORK_EPOCH:
IMAGE_NAME = "ethpandaops/dora:master"
else: else:
IMAGE_NAME = "ethpandaops/dora:latest" IMAGE_NAME = "ethpandaops/dora:latest"
......
...@@ -103,11 +103,15 @@ BELLATRIX_FORK_VERSION = "0x30000038" ...@@ -103,11 +103,15 @@ BELLATRIX_FORK_VERSION = "0x30000038"
CAPELLA_FORK_VERSION = "0x40000038" CAPELLA_FORK_VERSION = "0x40000038"
DENEB_FORK_VERSION = "0x50000038" DENEB_FORK_VERSION = "0x50000038"
ELECTRA_FORK_VERSION = "0x60000038" ELECTRA_FORK_VERSION = "0x60000038"
EIP7594_FORK_VERSION = "0x70000038" ELECTRA_FORK_EPOCH = 100000000
FULU_FORK_VERSION = "0x70000038"
FULU_FORK_EPOCH = 100000001
EIP7594_FORK_VERSION = "0x80000038"
EIP7594_FORK_EPOCH = 100000002
ETHEREUM_GENESIS_GENERATOR = struct( ETHEREUM_GENESIS_GENERATOR = struct(
capella_genesis="ethpandaops/ethereum-genesis-generator:2.0.12", # Deprecated (no support for minimal config) capella_genesis="ethpandaops/ethereum-genesis-generator:2.0.12", # Deprecated (no support for minimal config)
deneb_genesis="ethpandaops/ethereum-genesis-generator:3.3.7", # Default deneb_genesis="ethpandaops/ethereum-genesis-generator:3.4.0", # Default
verkle_support_genesis="ethpandaops/ethereum-genesis-generator:3.0.0-rc.19", # soon to be deneb genesis, waiting for rebase verkle_support_genesis="ethpandaops/ethereum-genesis-generator:3.0.0-rc.19", # soon to be deneb genesis, waiting for rebase
verkle_genesis="ethpandaops/ethereum-genesis-generator:verkle-gen-v1.0.0", verkle_genesis="ethpandaops/ethereum-genesis-generator:verkle-gen-v1.0.0",
) )
......
...@@ -288,9 +288,9 @@ def input_parser(plan, input_args): ...@@ -288,9 +288,9 @@ def input_parser(plan, input_args):
eth1_follow_distance=result["network_params"]["eth1_follow_distance"], eth1_follow_distance=result["network_params"]["eth1_follow_distance"],
deneb_fork_epoch=result["network_params"]["deneb_fork_epoch"], deneb_fork_epoch=result["network_params"]["deneb_fork_epoch"],
electra_fork_epoch=result["network_params"]["electra_fork_epoch"], electra_fork_epoch=result["network_params"]["electra_fork_epoch"],
fulu_fork_epoch=result["network_params"]["fulu_fork_epoch"],
eip7594_fork_epoch=result["network_params"]["eip7594_fork_epoch"], eip7594_fork_epoch=result["network_params"]["eip7594_fork_epoch"],
eip7594_fork_version=result["network_params"]["eip7594_fork_version"], eip7594_fork_version=result["network_params"]["eip7594_fork_version"],
eof_activation_epoch=result["network_params"]["eof_activation_epoch"],
network=result["network_params"]["network"], network=result["network_params"]["network"],
min_validator_withdrawability_delay=result["network_params"][ min_validator_withdrawability_delay=result["network_params"][
"min_validator_withdrawability_delay" "min_validator_withdrawability_delay"
...@@ -847,10 +847,10 @@ def default_network_params(): ...@@ -847,10 +847,10 @@ 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": 100000000, "electra_fork_epoch": constants.ELECTRA_FORK_EPOCH,
"eip7594_fork_epoch": 100000001, "fulu_fork_epoch": constants.FULU_FORK_EPOCH,
"eip7594_fork_epoch": constants.EIP7594_FORK_EPOCH,
"eip7594_fork_version": "0x60000038", "eip7594_fork_version": "0x60000038",
"eof_activation_epoch": "",
"network_sync_base_url": "https://snapshots.ethpandaops.io/", "network_sync_base_url": "https://snapshots.ethpandaops.io/",
"data_column_sidecar_subnet_count": 128, "data_column_sidecar_subnet_count": 128,
"samples_per_slot": 8, "samples_per_slot": 8,
...@@ -881,10 +881,10 @@ def default_minimal_network_params(): ...@@ -881,10 +881,10 @@ 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": 100000000, "electra_fork_epoch": constants.ELECTRA_FORK_EPOCH,
"eip7594_fork_epoch": 100000001, "fulu_fork_epoch": constants.FULU_FORK_EPOCH,
"eip7594_fork_epoch": constants.EIP7594_FORK_EPOCH,
"eip7594_fork_version": "0x60000038", "eip7594_fork_version": "0x60000038",
"eof_activation_epoch": "",
"network_sync_base_url": "https://snapshots.ethpandaops.io/", "network_sync_base_url": "https://snapshots.ethpandaops.io/",
"data_column_sidecar_subnet_count": 128, "data_column_sidecar_subnet_count": 128,
"samples_per_slot": 8, "samples_per_slot": 8,
......
...@@ -155,9 +155,9 @@ SUBCATEGORY_PARAMS = { ...@@ -155,9 +155,9 @@ SUBCATEGORY_PARAMS = {
"shard_committee_period", "shard_committee_period",
"deneb_fork_epoch", "deneb_fork_epoch",
"electra_fork_epoch", "electra_fork_epoch",
"fulu_fork_epoch",
"eip7594_fork_epoch", "eip7594_fork_epoch",
"eip7594_fork_version", "eip7594_fork_version",
"eof_activation_epoch",
"network_sync_base_url", "network_sync_base_url",
"data_column_sidecar_subnet_count", "data_column_sidecar_subnet_count",
"samples_per_slot", "samples_per_slot",
......
...@@ -110,14 +110,15 @@ def new_env_file_for_el_cl_genesis_data( ...@@ -110,14 +110,15 @@ def new_env_file_for_el_cl_genesis_data(
"Eth1FollowDistance": network_params.eth1_follow_distance, "Eth1FollowDistance": network_params.eth1_follow_distance,
"DenebForkEpoch": network_params.deneb_fork_epoch, "DenebForkEpoch": network_params.deneb_fork_epoch,
"ElectraForkEpoch": network_params.electra_fork_epoch, "ElectraForkEpoch": network_params.electra_fork_epoch,
"FuluForkEpoch": network_params.fulu_fork_epoch,
"EIP7594ForkEpoch": network_params.eip7594_fork_epoch, "EIP7594ForkEpoch": network_params.eip7594_fork_epoch,
"EIP7594ForkVersion": network_params.eip7594_fork_version, "EIP7594ForkVersion": network_params.eip7594_fork_version,
"EOFActivationEpoch": network_params.eof_activation_epoch,
"GenesisForkVersion": constants.GENESIS_FORK_VERSION, "GenesisForkVersion": constants.GENESIS_FORK_VERSION,
"BellatrixForkVersion": constants.BELLATRIX_FORK_VERSION, "BellatrixForkVersion": constants.BELLATRIX_FORK_VERSION,
"CapellaForkVersion": constants.CAPELLA_FORK_VERSION, "CapellaForkVersion": constants.CAPELLA_FORK_VERSION,
"DenebForkVersion": constants.DENEB_FORK_VERSION, "DenebForkVersion": constants.DENEB_FORK_VERSION,
"ElectraForkVersion": constants.ELECTRA_FORK_VERSION, "ElectraForkVersion": constants.ELECTRA_FORK_VERSION,
"FuluForkVersion": constants.FULU_FORK_VERSION,
"ShadowForkFile": shadowfork_file, "ShadowForkFile": shadowfork_file,
"MinValidatorWithdrawabilityDelay": network_params.min_validator_withdrawability_delay, "MinValidatorWithdrawabilityDelay": network_params.min_validator_withdrawability_delay,
"ShardCommitteePeriod": network_params.shard_committee_period, "ShardCommitteePeriod": network_params.shard_committee_period,
......
...@@ -13,14 +13,12 @@ def launch_transaction_spammer( ...@@ -13,14 +13,12 @@ def launch_transaction_spammer(
prefunded_addresses, prefunded_addresses,
el_uri, el_uri,
tx_spammer_params, tx_spammer_params,
electra_fork_epoch,
global_node_selectors, global_node_selectors,
): ):
config = get_config( config = get_config(
prefunded_addresses, prefunded_addresses,
el_uri, el_uri,
tx_spammer_params.tx_spammer_extra_args, tx_spammer_params.tx_spammer_extra_args,
electra_fork_epoch,
global_node_selectors, global_node_selectors,
) )
plan.add_service(SERVICE_NAME, config) plan.add_service(SERVICE_NAME, config)
...@@ -30,7 +28,6 @@ def get_config( ...@@ -30,7 +28,6 @@ def get_config(
prefunded_addresses, prefunded_addresses,
el_uri, el_uri,
tx_spammer_extra_args, tx_spammer_extra_args,
electra_fork_epoch,
node_selectors, node_selectors,
): ):
tx_spammer_image = "ethpandaops/tx-fuzz:master" tx_spammer_image = "ethpandaops/tx-fuzz:master"
......
...@@ -28,8 +28,6 @@ def get_config( ...@@ -28,8 +28,6 @@ def get_config(
tolerations, tolerations,
node_selectors, node_selectors,
keymanager_enabled, keymanager_enabled,
network,
electra_fork_epoch,
port_publisher, port_publisher,
vc_index, vc_index,
): ):
......
...@@ -72,8 +72,6 @@ def launch( ...@@ -72,8 +72,6 @@ def launch(
tolerations=tolerations, tolerations=tolerations,
node_selectors=node_selectors, node_selectors=node_selectors,
keymanager_enabled=keymanager_enabled, keymanager_enabled=keymanager_enabled,
network=network, # TODO: remove when deneb rebase is done
electra_fork_epoch=electra_fork_epoch, # TODO: remove when deneb rebase is done
port_publisher=port_publisher, port_publisher=port_publisher,
vc_index=vc_index, vc_index=vc_index,
) )
......
...@@ -14,9 +14,10 @@ export DENEB_FORK_VERSION="{{ .DenebForkVersion }}" ...@@ -14,9 +14,10 @@ export DENEB_FORK_VERSION="{{ .DenebForkVersion }}"
export DENEB_FORK_EPOCH="{{ .DenebForkEpoch }}" export DENEB_FORK_EPOCH="{{ .DenebForkEpoch }}"
export ELECTRA_FORK_VERSION="{{ .ElectraForkVersion }}" export ELECTRA_FORK_VERSION="{{ .ElectraForkVersion }}"
export ELECTRA_FORK_EPOCH="{{ .ElectraForkEpoch }}" export ELECTRA_FORK_EPOCH="{{ .ElectraForkEpoch }}"
export FULU_FORK_VERSION="{{ .FuluForkVersion }}"
export FULU_FORK_EPOCH="{{ .FuluForkEpoch }}"
export EIP7594_FORK_EPOCH="{{ .EIP7594ForkEpoch }}" export EIP7594_FORK_EPOCH="{{ .EIP7594ForkEpoch }}"
export EIP7594_FORK_VERSION="{{ .EIP7594ForkVersion }}" export EIP7594_FORK_VERSION="{{ .EIP7594ForkVersion }}"
export EOF_ACTIVATION_EPOCH="{{ .EOFActivationEpoch }}"
export WITHDRAWAL_TYPE="0x00" export WITHDRAWAL_TYPE="0x00"
export WITHDRAWAL_ADDRESS=0xf97e180c050e5Ab072211Ad2C213Eb5AEE4DF134 export WITHDRAWAL_ADDRESS=0xf97e180c050e5Ab072211Ad2C213Eb5AEE4DF134
export GENESIS_TIMESTAMP={{ .UnixTimestamp }} export GENESIS_TIMESTAMP={{ .UnixTimestamp }}
......
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