mirror of
https://gitlab.com/pulsechaincom/lighthouse-pulse.git
synced 2025-01-03 09:47:38 +00:00
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 <paul@paulhauner.com>
This commit is contained in:
parent
84e6d71950
commit
f5bdca09ff
@ -484,7 +484,7 @@ fn aggregated_gossip_verification() {
|
|||||||
assert_invalid!(
|
assert_invalid!(
|
||||||
"sync contribution created with incorrect sync committee",
|
"sync contribution created with incorrect sync committee",
|
||||||
next_valid_contribution.clone(),
|
next_valid_contribution.clone(),
|
||||||
SyncCommitteeError::InvalidSignature
|
SyncCommitteeError::InvalidSignature | SyncCommitteeError::AggregatorNotInCommittee { .. }
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ pub mod altair {
|
|||||||
pub const PROPOSER_WEIGHT: u64 = 8;
|
pub const PROPOSER_WEIGHT: u64 = 8;
|
||||||
pub const WEIGHT_DENOMINATOR: u64 = 64;
|
pub const WEIGHT_DENOMINATOR: u64 = 64;
|
||||||
pub const SYNC_COMMITTEE_SUBNET_COUNT: u64 = 4;
|
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] = [
|
pub const PARTICIPATION_FLAG_WEIGHTS: [u64; NUM_FLAG_INDICES] = [
|
||||||
TIMELY_SOURCE_WEIGHT,
|
TIMELY_SOURCE_WEIGHT,
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
TESTS_TAG := v1.1.0-alpha.8
|
TESTS_TAG := v1.1.0-beta.1
|
||||||
TESTS = general minimal mainnet
|
TESTS = general minimal mainnet
|
||||||
TARBALLS = $(patsubst %,%-$(TESTS_TAG).tar.gz,$(TESTS))
|
TARBALLS = $(patsubst %,%-$(TESTS_TAG).tar.gz,$(TESTS))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user