From 5dc96f78d74dd2d01949caa636e2bfafd2effe9d Mon Sep 17 00:00:00 2001 From: parithosh Date: Mon, 6 May 2024 10:38:46 +0200 Subject: [PATCH 1/3] add peerdas support --- config-example/cl/config.yaml | 11 +++++++++++ config-example/values.env | 2 ++ 2 files changed, 13 insertions(+) diff --git a/config-example/cl/config.yaml b/config-example/cl/config.yaml index 9c45ccd..ade2982 100644 --- a/config-example/cl/config.yaml +++ b/config-example/cl/config.yaml @@ -37,9 +37,14 @@ CAPELLA_FORK_EPOCH: 0 DENEB_FORK_VERSION: $DENEB_FORK_VERSION DENEB_FORK_EPOCH: 0 +# Electra ELECTRA_FORK_VERSION: $ELECTRA_FORK_VERSION ELECTRA_FORK_EPOCH: $ELECTRA_FORK_EPOCH +# EIP7594 +EIP7594_FORK_VERSION: $PEERDAS_FORK_VERSION +EIP7594_FORK_EPOCH: $PEERDAS_FORK_EPOCH + # Time parameters # --------------------------------------------------------------- # 12 seconds @@ -72,6 +77,12 @@ MAX_PER_EPOCH_ACTIVATION_CHURN_LIMIT: $MAX_CHURN # --------------------------------------------------------------- # 40% PROPOSER_SCORE_BOOST: 40 +# 20% +REORG_HEAD_WEIGHT_THRESHOLD: 20 +# 160% +REORG_PARENT_WEIGHT_THRESHOLD: 160 +# `2` epochs +REORG_MAX_EPOCHS_SINCE_FINALIZATION: 2 # Deposit contract # --------------------------------------------------------------- diff --git a/config-example/values.env b/config-example/values.env index a0d7396..2dfc62b 100644 --- a/config-example/values.env +++ b/config-example/values.env @@ -14,6 +14,8 @@ export CAPELLA_FORK_VERSION="0x40000000" export DENEB_FORK_VERSION="0x50000000" export ELECTRA_FORK_VERSION="0x60000000" export ELECTRA_FORK_EPOCH="2000" +export PEERDAS_FORK_VERSION="0x70000000" +export PEERDAS_FORK_EPOCH="99999" export WITHDRAWAL_TYPE="0x00" export WITHDRAWAL_ADDRESS=0xf97e180c050e5Ab072211Ad2C213Eb5AEE4DF134 export BEACON_STATIC_ENR="enr:-Iq4QJk4WqRkjsX5c2CXtOra6HnxN-BMXnWhmhEQO9Bn9iABTJGdjUOurM7Btj1ouKaFkvTRoju5vz2GPmVON2dffQKGAX53x8JigmlkgnY0gmlwhLKAlv6Jc2VjcDI1NmsxoQK6S-Cii_KmfFdUJL2TANL3ksaKUnNXvTCv1tLwXs0QgIN1ZHCCIyk" From c8fbdd4afc6257dbdc7d3446c9c57ad530e1c35e Mon Sep 17 00:00:00 2001 From: parithosh Date: Mon, 6 May 2024 11:00:15 +0200 Subject: [PATCH 2/3] rename peerdas --- config-example/cl/config.yaml | 4 ++-- config-example/values.env | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config-example/cl/config.yaml b/config-example/cl/config.yaml index ade2982..aa8687c 100644 --- a/config-example/cl/config.yaml +++ b/config-example/cl/config.yaml @@ -42,8 +42,8 @@ ELECTRA_FORK_VERSION: $ELECTRA_FORK_VERSION ELECTRA_FORK_EPOCH: $ELECTRA_FORK_EPOCH # EIP7594 -EIP7594_FORK_VERSION: $PEERDAS_FORK_VERSION -EIP7594_FORK_EPOCH: $PEERDAS_FORK_EPOCH +EIP7594_FORK_VERSION: $EIP7594_FORK_VERSION +EIP7594_FORK_EPOCH: $EIP7594_FORK_EPOCH # Time parameters # --------------------------------------------------------------- diff --git a/config-example/values.env b/config-example/values.env index 2dfc62b..d4f4fbf 100644 --- a/config-example/values.env +++ b/config-example/values.env @@ -14,8 +14,8 @@ export CAPELLA_FORK_VERSION="0x40000000" export DENEB_FORK_VERSION="0x50000000" export ELECTRA_FORK_VERSION="0x60000000" export ELECTRA_FORK_EPOCH="2000" -export PEERDAS_FORK_VERSION="0x70000000" -export PEERDAS_FORK_EPOCH="99999" +export EIP7594_FORK_VERSION="0x70000000" +export EIP7594_FORK_EPOCH="99999" export WITHDRAWAL_TYPE="0x00" export WITHDRAWAL_ADDRESS=0xf97e180c050e5Ab072211Ad2C213Eb5AEE4DF134 export BEACON_STATIC_ENR="enr:-Iq4QJk4WqRkjsX5c2CXtOra6HnxN-BMXnWhmhEQO9Bn9iABTJGdjUOurM7Btj1ouKaFkvTRoju5vz2GPmVON2dffQKGAX53x8JigmlkgnY0gmlwhLKAlv6Jc2VjcDI1NmsxoQK6S-Cii_KmfFdUJL2TANL3ksaKUnNXvTCv1tLwXs0QgIN1ZHCCIyk" From 2cf7a109a3e7b94667cdd92ad07013aa7dd83bff Mon Sep 17 00:00:00 2001 From: Parithosh Jayanthi Date: Mon, 6 May 2024 11:01:28 +0200 Subject: [PATCH 3/3] Update config-example/cl/config.yaml Co-authored-by: Barnabas Busa Signed-off-by: Parithosh Jayanthi --- config-example/cl/config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config-example/cl/config.yaml b/config-example/cl/config.yaml index aa8687c..a2b91f6 100644 --- a/config-example/cl/config.yaml +++ b/config-example/cl/config.yaml @@ -41,7 +41,7 @@ DENEB_FORK_EPOCH: 0 ELECTRA_FORK_VERSION: $ELECTRA_FORK_VERSION ELECTRA_FORK_EPOCH: $ELECTRA_FORK_EPOCH -# EIP7594 +# EIP7594 - Peerdas EIP7594_FORK_VERSION: $EIP7594_FORK_VERSION EIP7594_FORK_EPOCH: $EIP7594_FORK_EPOCH