mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-09 03:31:45 +00:00
Un-ignore EF test for v1.6.0-alpha.1 (#7632)
Closes: - https://github.com/sigp/lighthouse/issues/7547 Run the test that was previously ignored when we were between spec versions.
This commit is contained in:
@@ -22,7 +22,6 @@ use state_processing::{
|
|||||||
ConsensusContext,
|
ConsensusContext,
|
||||||
};
|
};
|
||||||
use std::fmt::Debug;
|
use std::fmt::Debug;
|
||||||
use std::path::PathBuf;
|
|
||||||
use types::{
|
use types::{
|
||||||
Attestation, AttesterSlashing, BeaconBlock, BeaconBlockBody, BeaconBlockBodyBellatrix,
|
Attestation, AttesterSlashing, BeaconBlock, BeaconBlockBody, BeaconBlockBodyBellatrix,
|
||||||
BeaconBlockBodyCapella, BeaconBlockBodyDeneb, BeaconBlockBodyElectra, BeaconBlockBodyFulu,
|
BeaconBlockBodyCapella, BeaconBlockBodyDeneb, BeaconBlockBodyElectra, BeaconBlockBodyFulu,
|
||||||
@@ -50,7 +49,6 @@ pub struct WithdrawalsPayload<E: EthSpec> {
|
|||||||
|
|
||||||
#[derive(Debug, Clone)]
|
#[derive(Debug, Clone)]
|
||||||
pub struct Operations<E: EthSpec, O: Operation<E>> {
|
pub struct Operations<E: EthSpec, O: Operation<E>> {
|
||||||
path: PathBuf,
|
|
||||||
metadata: Metadata,
|
metadata: Metadata,
|
||||||
execution_metadata: Option<ExecutionMetadata>,
|
execution_metadata: Option<ExecutionMetadata>,
|
||||||
pub pre: BeaconState<E>,
|
pub pre: BeaconState<E>,
|
||||||
@@ -557,7 +555,6 @@ impl<E: EthSpec, O: Operation<E>> LoadCase for Operations<E, O> {
|
|||||||
};
|
};
|
||||||
|
|
||||||
Ok(Self {
|
Ok(Self {
|
||||||
path: path.into(),
|
|
||||||
metadata,
|
metadata,
|
||||||
execution_metadata,
|
execution_metadata,
|
||||||
pre,
|
pre,
|
||||||
@@ -577,17 +574,6 @@ impl<E: EthSpec, O: Operation<E>> Case for Operations<E, O> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn result(&self, _case_index: usize, fork_name: ForkName) -> Result<(), Error> {
|
fn result(&self, _case_index: usize, fork_name: ForkName) -> Result<(), Error> {
|
||||||
// FIXME(das): remove this once v1.6.0-alpha.1 is released
|
|
||||||
// We are ahead of the v1.6.0-alpha.0 spec in our implementation of
|
|
||||||
// `get_max_blobs_per_block`, so we fail the execution payload test which expects the
|
|
||||||
// empty blob schedule to generate an error.
|
|
||||||
if O::handler_name() == "execution_payload"
|
|
||||||
&& fork_name == ForkName::Fulu
|
|
||||||
&& self.path.ends_with("invalid_exceed_max_blobs_per_block")
|
|
||||||
{
|
|
||||||
return Err(Error::SkippedKnownFailure);
|
|
||||||
}
|
|
||||||
|
|
||||||
let spec = &testing_spec::<E>(fork_name);
|
let spec = &testing_spec::<E>(fork_name);
|
||||||
|
|
||||||
let mut pre_state = self.pre.clone();
|
let mut pre_state = self.pre.clone();
|
||||||
|
|||||||
Reference in New Issue
Block a user