From efc0de749c67f4fea51efeb642d0efa2bad9c667 Mon Sep 17 00:00:00 2001 From: Michael Sproul Date: Thu, 15 Jul 2021 09:59:13 +1000 Subject: [PATCH 1/2] Update to spec v1.1.0-beta.1 --- consensus/types/src/consts.rs | 2 +- testing/ef_tests/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/consensus/types/src/consts.rs b/consensus/types/src/consts.rs index 64dfad5ecd7..04e8e60ee55 100644 --- a/consensus/types/src/consts.rs +++ b/consensus/types/src/consts.rs @@ -9,7 +9,7 @@ pub mod altair { pub const PROPOSER_WEIGHT: u64 = 8; pub const WEIGHT_DENOMINATOR: u64 = 64; pub const SYNC_COMMITTEE_SUBNET_COUNT: u64 = 4; - pub const TARGET_AGGREGATORS_PER_SYNC_SUBCOMMITTEE: u64 = 4; + pub const TARGET_AGGREGATORS_PER_SYNC_SUBCOMMITTEE: u64 = 16; pub const PARTICIPATION_FLAG_WEIGHTS: [u64; NUM_FLAG_INDICES] = [ TIMELY_SOURCE_WEIGHT, diff --git a/testing/ef_tests/Makefile b/testing/ef_tests/Makefile index 4752433f679..8bfc0dba28c 100644 --- a/testing/ef_tests/Makefile +++ b/testing/ef_tests/Makefile @@ -1,4 +1,4 @@ -TESTS_TAG := v1.1.0-alpha.8 +TESTS_TAG := v1.1.0-beta.1 TESTS = general minimal mainnet TARBALLS = $(patsubst %,%-$(TESTS_TAG).tar.gz,$(TESTS)) From 6557a68c2677ccc97c1eb52e2c64b72f737349b8 Mon Sep 17 00:00:00 2001 From: Paul Hauner Date: Tue, 20 Jul 2021 13:54:39 +1000 Subject: [PATCH 2/2] Fix failing sync committee test --- beacon_node/beacon_chain/tests/sync_committee_verification.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beacon_node/beacon_chain/tests/sync_committee_verification.rs b/beacon_node/beacon_chain/tests/sync_committee_verification.rs index da1da0f998b..beeea37e622 100644 --- a/beacon_node/beacon_chain/tests/sync_committee_verification.rs +++ b/beacon_node/beacon_chain/tests/sync_committee_verification.rs @@ -484,7 +484,7 @@ fn aggregated_gossip_verification() { assert_invalid!( "sync contribution created with incorrect sync committee", next_valid_contribution.clone(), - SyncCommitteeError::InvalidSignature + SyncCommitteeError::InvalidSignature | SyncCommitteeError::AggregatorNotInCommittee { .. } ); }