mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-03 00:31:50 +00:00
Update test vectors to v1.1.0 (#2642)
This commit is contained in:
committed by
Paul Hauner
parent
18eee2dc82
commit
fd828199f5
@@ -20,10 +20,11 @@ tests_dir_filename = sys.argv[2]
|
||||
# following regular expressions, we will assume they are to be ignored (i.e., we are purposefully
|
||||
# *not* running the spec tests).
|
||||
excluded_paths = [
|
||||
# Eth1Block
|
||||
# Eth1Block and PowBlock
|
||||
#
|
||||
# Intentionally omitted, as per https://github.com/sigp/lighthouse/issues/1835
|
||||
"tests/.*/.*/ssz_static/Eth1Block/",
|
||||
"tests/.*/.*/ssz_static/PowBlock/",
|
||||
# LightClientStore
|
||||
"tests/.*/.*/ssz_static/LightClientStore",
|
||||
# LightClientUpdate
|
||||
|
||||
@@ -56,9 +56,7 @@ impl<E: EthSpec> LoadCase for GenesisInitialization<E> {
|
||||
impl<E: EthSpec> Case for GenesisInitialization<E> {
|
||||
fn is_enabled_for_fork(fork_name: ForkName) -> bool {
|
||||
// Altair genesis and later requires real crypto.
|
||||
// FIXME(merge): enable merge tests once available
|
||||
fork_name == ForkName::Base
|
||||
|| cfg!(not(feature = "fake_crypto")) && fork_name != ForkName::Merge
|
||||
fork_name == ForkName::Base || cfg!(not(feature = "fake_crypto"))
|
||||
}
|
||||
|
||||
fn result(&self, _case_index: usize, fork_name: ForkName) -> Result<(), Error> {
|
||||
|
||||
@@ -498,11 +498,6 @@ pub struct GenesisValidityHandler<E>(PhantomData<E>);
|
||||
impl<E: EthSpec + TypeName> Handler for GenesisValidityHandler<E> {
|
||||
type Case = cases::GenesisValidity<E>;
|
||||
|
||||
// FIXME(merge): enable merge test once available
|
||||
fn is_enabled_for_fork(&self, fork_name: ForkName) -> bool {
|
||||
fork_name != ForkName::Merge
|
||||
}
|
||||
|
||||
fn config_name() -> &'static str {
|
||||
E::name()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user