From d67fb7249ed5f699e56ecf5ae37f673824beb4b9 Mon Sep 17 00:00:00 2001 From: gajinder Date: Thu, 21 Dec 2023 21:25:21 +0530 Subject: [PATCH 1/3] schedule dencun on goerli --- README.md | 1 + prater/config.yaml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a16584d..e02b075 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,7 @@ The Goerli testnet was merged with the Prater proof-of-stake beacon chain. This - London: `5_062_605` - Terminal Total Difficulty: `10790000` (_passed_) - Shanghai (timestamp): `1678832736` + - Cancun (timestamp): `1705473120` - Status Dashboard: - https://stats.goerli.net/ - Block Explorers: diff --git a/prater/config.yaml b/prater/config.yaml index e6977cf..eae5569 100644 --- a/prater/config.yaml +++ b/prater/config.yaml @@ -43,7 +43,7 @@ CAPELLA_FORK_VERSION: 0x03001020 CAPELLA_FORK_EPOCH: 162304 # DENEB DENEB_FORK_VERSION: 0x04001020 -DENEB_FORK_EPOCH: 18446744073709551615 +DENEB_FORK_EPOCH: 231680 # Time parameters # --------------------------------------------------------------- From 4428570dc2467118bf561bda56bf6b3a806243d6 Mon Sep 17 00:00:00 2001 From: gajinder Date: Tue, 2 Jan 2024 14:08:02 +0530 Subject: [PATCH 2/3] add deneb fields --- prater/config.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/prater/config.yaml b/prater/config.yaml index eae5569..86ebd98 100644 --- a/prater/config.yaml +++ b/prater/config.yaml @@ -71,6 +71,9 @@ EJECTION_BALANCE: 16000000000 MIN_PER_EPOCH_CHURN_LIMIT: 4 # 2**16 (= 65,536) CHURN_LIMIT_QUOTIENT: 65536 +# [New in Deneb:EIP7514] 2**3 (= 8) +MAX_PER_EPOCH_ACTIVATION_CHURN_LIMIT: 8 + # Deposit contract @@ -80,3 +83,13 @@ DEPOSIT_CHAIN_ID: 5 DEPOSIT_NETWORK_ID: 5 # Prater test deposit contract on Goerli Testnet DEPOSIT_CONTRACT_ADDRESS: 0xff50ed3d0ec03aC01D4C79aAd74928BFF48a7b2b + +# Deneb +# `2**7` (=128) +MAX_REQUEST_BLOCKS_DENEB: 128 +# MAX_REQUEST_BLOCKS_DENEB * MAX_BLOBS_PER_BLOCK +MAX_REQUEST_BLOB_SIDECARS: 768 +# `2**12` (= 4096 epochs, ~18 days) +MIN_EPOCHS_FOR_BLOB_SIDECARS_REQUESTS: 4096 +# `6` +BLOB_SIDECAR_SUBNET_COUNT: 6 From 1c08a2f5e43594004d49d0d66a62001ae7b1d06a Mon Sep 17 00:00:00 2001 From: gajinder Date: Tue, 2 Jan 2024 14:15:58 +0530 Subject: [PATCH 3/3] add missing proposerboot and networking fields --- prater/config.yaml | 34 +++++++++++++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/prater/config.yaml b/prater/config.yaml index 86ebd98..1928aeb 100644 --- a/prater/config.yaml +++ b/prater/config.yaml @@ -74,7 +74,10 @@ CHURN_LIMIT_QUOTIENT: 65536 # [New in Deneb:EIP7514] 2**3 (= 8) MAX_PER_EPOCH_ACTIVATION_CHURN_LIMIT: 8 - +# Fork choice +# --------------------------------------------------------------- +# 40% +PROPOSER_SCORE_BOOST: 40 # Deposit contract # --------------------------------------------------------------- @@ -84,6 +87,35 @@ DEPOSIT_NETWORK_ID: 5 # Prater test deposit contract on Goerli Testnet DEPOSIT_CONTRACT_ADDRESS: 0xff50ed3d0ec03aC01D4C79aAd74928BFF48a7b2b +# Networking +# --------------------------------------------------------------- +# `10 * 2**20` (= 10485760, 10 MiB) +GOSSIP_MAX_SIZE: 10485760 +# `2**10` (= 1024) +MAX_REQUEST_BLOCKS: 1024 +# `2**8` (= 256) +EPOCHS_PER_SUBNET_SUBSCRIPTION: 256 +# `MIN_VALIDATOR_WITHDRAWABILITY_DELAY + CHURN_LIMIT_QUOTIENT // 2` (= 33024, ~5 months) +MIN_EPOCHS_FOR_BLOCK_REQUESTS: 33024 +# `10 * 2**20` (=10485760, 10 MiB) +MAX_CHUNK_SIZE: 10485760 +# 5s +TTFB_TIMEOUT: 5 +# 10s +RESP_TIMEOUT: 10 +ATTESTATION_PROPAGATION_SLOT_RANGE: 32 +# 500ms +MAXIMUM_GOSSIP_CLOCK_DISPARITY: 500 +MESSAGE_DOMAIN_INVALID_SNAPPY: 0x00000000 +MESSAGE_DOMAIN_VALID_SNAPPY: 0x01000000 +# 2 subnets per node +SUBNETS_PER_NODE: 2 +# 2**8 (= 64) +ATTESTATION_SUBNET_COUNT: 64 +ATTESTATION_SUBNET_EXTRA_BITS: 0 +# ceillog2(ATTESTATION_SUBNET_COUNT) + ATTESTATION_SUBNET_EXTRA_BITS +ATTESTATION_SUBNET_PREFIX_BITS: 6 + # Deneb # `2**7` (=128) MAX_REQUEST_BLOCKS_DENEB: 128