mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-19 13:58:28 +00:00
Remove merge transition code (#8761)
Co-Authored-By: dapplion <35266934+dapplion@users.noreply.github.com>
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
use super::*;
|
||||
use beacon_chain::test_utils::test_spec;
|
||||
use state_processing::{
|
||||
BlockProcessingError, BlockSignatureStrategy, ConsensusContext, VerifyBlockRoot,
|
||||
per_block_processing, per_block_processing::errors::ExitInvalid,
|
||||
@@ -70,13 +71,13 @@ impl ExitTest {
|
||||
BlockSignatureStrategy::VerifyIndividual,
|
||||
VerifyBlockRoot::True,
|
||||
&mut ctxt,
|
||||
&E::default_spec(),
|
||||
&test_spec::<E>(),
|
||||
)
|
||||
}
|
||||
|
||||
#[cfg(all(test, not(debug_assertions)))]
|
||||
async fn run(self) -> BeaconState<E> {
|
||||
let spec = &E::default_spec();
|
||||
let spec = &test_spec::<E>();
|
||||
let expected = self.expected.clone();
|
||||
assert_eq!(STATE_EPOCH, spec.shard_committee_period);
|
||||
|
||||
|
||||
@@ -57,6 +57,7 @@ async fn get_harness<E: EthSpec>(
|
||||
.default_spec()
|
||||
.keypairs(KEYPAIRS[0..validator_count].to_vec())
|
||||
.fresh_ephemeral_store()
|
||||
.mock_execution_layer()
|
||||
.build();
|
||||
let skip_to_slot = slot - SLOT_OFFSET;
|
||||
if skip_to_slot > Slot::new(0) {
|
||||
|
||||
Reference in New Issue
Block a user