From f5bdca09ff1ed031dd0d4032319c9f7c2666e267 Mon Sep 17 00:00:00 2001 From: Michael Sproul Date: Tue, 27 Jul 2021 05:43:35 +0000 Subject: [PATCH] Update to spec v1.1.0-beta.1 (#2460) ## Proposed Changes Update to the latest version of the Altair spec, which includes new tests and a tweak to the target sync aggregators. ## Additional Info This change is _not_ required for the imminent Altair devnet, and is waiting on the merge of #2321 to unstable. Co-authored-by: Paul Hauner --- beacon_node/beacon_chain/tests/sync_committee_verification.rs | 2 +- consensus/types/src/consts.rs | 2 +- testing/ef_tests/Makefile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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 { .. } ); } 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))