mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-20 05:14:35 +00:00
Update test vectors to v1.1.0 (#2642)
This commit is contained in:
committed by
Paul Hauner
parent
e08b333c11
commit
7236dcbdbf
@@ -480,7 +480,9 @@ impl ChainSpec {
|
||||
altair_fork_epoch: Some(Epoch::new(74240)),
|
||||
merge_fork_version: [0x02, 0x00, 0x00, 0x00],
|
||||
merge_fork_epoch: None,
|
||||
terminal_total_difficulty: Uint256::MAX,
|
||||
terminal_total_difficulty: Uint256::MAX
|
||||
.checked_sub(Uint256::from(2u64.pow(10)))
|
||||
.expect("calculation does not overflow"),
|
||||
|
||||
/*
|
||||
* Network specific
|
||||
@@ -521,6 +523,9 @@ impl ChainSpec {
|
||||
epochs_per_sync_committee_period: Epoch::new(8),
|
||||
altair_fork_version: [0x01, 0x00, 0x00, 0x01],
|
||||
altair_fork_epoch: None,
|
||||
// Merge
|
||||
merge_fork_version: [0x02, 0x00, 0x00, 0x01],
|
||||
merge_fork_epoch: None,
|
||||
// Other
|
||||
network_id: 2, // lighthouse testnet network id
|
||||
deposit_chain_id: 5,
|
||||
|
||||
@@ -34,7 +34,7 @@ impl ForkName {
|
||||
spec
|
||||
}
|
||||
ForkName::Merge => {
|
||||
spec.altair_fork_epoch = None;
|
||||
spec.altair_fork_epoch = Some(Epoch::new(0));
|
||||
spec.merge_fork_epoch = Some(Epoch::new(0));
|
||||
spec
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user