mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-19 12:56:12 +00:00
Update test vectors to v1.1.0 (#2642)
This commit is contained in:
committed by
Paul Hauner
parent
e08b333c11
commit
7236dcbdbf
@@ -1,4 +1,4 @@
|
||||
TESTS_TAG := v1.1.0-beta.5
|
||||
TESTS_TAG := v1.1.0
|
||||
TESTS = general minimal mainnet
|
||||
TARBALLS = $(patsubst %,%-$(TESTS_TAG).tar.gz,$(TESTS))
|
||||
|
||||
|
||||
@@ -20,16 +20,19 @@ 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
|
||||
"tests/.*/.*/ssz_static/LightClientUpdate",
|
||||
# LightClientSnapshot
|
||||
"tests/.*/.*/ssz_static/LightClientSnapshot",
|
||||
# Merkle proof tests, omitted for now
|
||||
"tests/.*/.*/merkle/.*",
|
||||
# Fork choice
|
||||
"tests/.*/*/fork_choice",
|
||||
]
|
||||
|
||||
@@ -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> {
|
||||
|
||||
@@ -446,11 +446,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