From 3d40e71dc03797ef7b87f83607efb0ef59b1c9ce Mon Sep 17 00:00:00 2001 From: Eitan Seri-Levi Date: Tue, 9 Dec 2025 15:33:15 -0300 Subject: [PATCH 1/9] fix network_params.yml testnet script --- scripts/tests/network_params.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/tests/network_params.yaml b/scripts/tests/network_params.yaml index 0fda1aa34ba..cc510426cba 100644 --- a/scripts/tests/network_params.yaml +++ b/scripts/tests/network_params.yaml @@ -6,6 +6,7 @@ participants: cl_image: lighthouse:local cl_extra_params: - --target-peers=3 + supernode: true count: 4 network_params: electra_fork_epoch: 0 From 92206ecd47db0313f72b06af02f8ff8b40f5d5b9 Mon Sep 17 00:00:00 2001 From: Eitan Seri-Levi Date: Tue, 9 Dec 2025 15:51:48 -0300 Subject: [PATCH 2/9] Fix testnet script --- scripts/tests/genesis-sync-config-fulu.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/tests/genesis-sync-config-fulu.yaml b/scripts/tests/genesis-sync-config-fulu.yaml index 98dc8751d62..6d2c2647a90 100644 --- a/scripts/tests/genesis-sync-config-fulu.yaml +++ b/scripts/tests/genesis-sync-config-fulu.yaml @@ -21,8 +21,7 @@ participants: validator_count: 0 network_params: seconds_per_slot: 6 - electra_fork_epoch: 0 - fulu_fork_epoch: 1 + fulu_fork_epoch: 0 preset: "minimal" additional_services: - tx_fuzz From 769ec798b7e6804a165376b27da314f8c78f504b Mon Sep 17 00:00:00 2001 From: Eitan Seri-Levi Date: Tue, 9 Dec 2025 16:17:38 -0300 Subject: [PATCH 3/9] rerun --- scripts/tests/network_params.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/tests/network_params.yaml b/scripts/tests/network_params.yaml index cc510426cba..428c1698947 100644 --- a/scripts/tests/network_params.yaml +++ b/scripts/tests/network_params.yaml @@ -9,6 +9,7 @@ participants: supernode: true count: 4 network_params: + electra_fork_epoch: 0 seconds_per_slot: 3 num_validator_keys_per_node: 20 From dd5ae5bc5bee26957b0d17fbe6ab3acb24f397b7 Mon Sep 17 00:00:00 2001 From: Eitan Seri-Levi Date: Tue, 9 Dec 2025 16:17:43 -0300 Subject: [PATCH 4/9] rerun --- scripts/tests/network_params.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/tests/network_params.yaml b/scripts/tests/network_params.yaml index 428c1698947..cc510426cba 100644 --- a/scripts/tests/network_params.yaml +++ b/scripts/tests/network_params.yaml @@ -9,7 +9,6 @@ participants: supernode: true count: 4 network_params: - electra_fork_epoch: 0 seconds_per_slot: 3 num_validator_keys_per_node: 20 From 2160e8435552715911655648ec2cfff7cf6087c6 Mon Sep 17 00:00:00 2001 From: Eitan Seri-Levi Date: Tue, 9 Dec 2025 17:02:23 -0300 Subject: [PATCH 5/9] Fix --- scripts/tests/genesis-sync-config-electra.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/scripts/tests/genesis-sync-config-electra.yaml b/scripts/tests/genesis-sync-config-electra.yaml index 153f754c94a..3e7c08cea39 100644 --- a/scripts/tests/genesis-sync-config-electra.yaml +++ b/scripts/tests/genesis-sync-config-electra.yaml @@ -6,11 +6,9 @@ participants: # nodes without validators, used for testing sync. - cl_type: lighthouse cl_image: lighthouse:local - supernode: true # no supernode in Electra, this is for future proof validator_count: 0 - cl_type: lighthouse cl_image: lighthouse:local - supernode: false validator_count: 0 network_params: seconds_per_slot: 6 From abe4fb7d8ae4d1324e39eca3ae31227cc42fc791 Mon Sep 17 00:00:00 2001 From: Eitan Seri-Levi Date: Tue, 9 Dec 2025 17:26:23 -0300 Subject: [PATCH 6/9] hmm --- scripts/tests/genesis-sync-config-electra.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scripts/tests/genesis-sync-config-electra.yaml b/scripts/tests/genesis-sync-config-electra.yaml index 3e7c08cea39..98ceab58c76 100644 --- a/scripts/tests/genesis-sync-config-electra.yaml +++ b/scripts/tests/genesis-sync-config-electra.yaml @@ -2,13 +2,19 @@ participants: - cl_type: lighthouse cl_image: lighthouse:local + el_type: geth + el_image: ethpandaops/geth:master count: 2 # nodes without validators, used for testing sync. - cl_type: lighthouse cl_image: lighthouse:local + el_type: geth + el_image: ethpandaops/geth:master validator_count: 0 - cl_type: lighthouse cl_image: lighthouse:local + el_type: geth + el_image: ethpandaops/geth:master validator_count: 0 network_params: seconds_per_slot: 6 From 1ac711da9ea10973c2fe4c20d31cf154b08937ff Mon Sep 17 00:00:00 2001 From: Eitan Seri-Levi Date: Tue, 9 Dec 2025 18:10:35 -0300 Subject: [PATCH 7/9] update --- scripts/tests/genesis-sync-config-electra.yaml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/scripts/tests/genesis-sync-config-electra.yaml b/scripts/tests/genesis-sync-config-electra.yaml index 98ceab58c76..1d1ed4d3152 100644 --- a/scripts/tests/genesis-sync-config-electra.yaml +++ b/scripts/tests/genesis-sync-config-electra.yaml @@ -2,23 +2,18 @@ participants: - cl_type: lighthouse cl_image: lighthouse:local - el_type: geth - el_image: ethpandaops/geth:master count: 2 # nodes without validators, used for testing sync. - cl_type: lighthouse cl_image: lighthouse:local - el_type: geth - el_image: ethpandaops/geth:master validator_count: 0 - cl_type: lighthouse cl_image: lighthouse:local - el_type: geth - el_image: ethpandaops/geth:master validator_count: 0 network_params: seconds_per_slot: 6 electra_fork_epoch: 0 + fulu_fork_epoch: 100000 # a really big number so this test stays in electra preset: "minimal" additional_services: - tx_fuzz From 96619b1e96997cfccbfeddc326ee8e35283cfa71 Mon Sep 17 00:00:00 2001 From: Tan Chee Keong Date: Wed, 10 Dec 2025 13:34:48 +0800 Subject: [PATCH 8/9] do not call BN if attestation_duties is empty --- .../validator_services/src/attestation_service.rs | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/validator_client/validator_services/src/attestation_service.rs b/validator_client/validator_services/src/attestation_service.rs index b2b8bc81e22..587d4668b8a 100644 --- a/validator_client/validator_services/src/attestation_service.rs +++ b/validator_client/validator_services/src/attestation_service.rs @@ -193,6 +193,12 @@ impl AttestationService = self.duties_service.attesters(slot).into_iter().collect(); + + // Return early if there is no attestation duties + if attestation_duties.is_empty() { + return Ok(()); + } + let attestation_service = self.clone(); let attestation_data_handle = self @@ -371,10 +377,6 @@ impl AttestationService Date: Thu, 11 Dec 2025 11:15:37 +0530 Subject: [PATCH 9/9] Be explicit about fulu_fork_epoch --- scripts/tests/network_params.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/tests/network_params.yaml b/scripts/tests/network_params.yaml index cc510426cba..35916ac1e4e 100644 --- a/scripts/tests/network_params.yaml +++ b/scripts/tests/network_params.yaml @@ -9,7 +9,7 @@ participants: supernode: true count: 4 network_params: - electra_fork_epoch: 0 + fulu_fork_epoch: 0 seconds_per_slot: 3 num_validator_keys_per_node: 20 global_log_level: debug