Skip to content

Commit

Permalink
Revert "Use consensus-spec-tests v1.3.0-rc.3 (sigp#4021)"
Browse files Browse the repository at this point in the history
This reverts commit caa6190.
  • Loading branch information
divagant-martian committed Mar 3, 2023
1 parent a9be1ea commit 20be702
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 10 deletions.
2 changes: 1 addition & 1 deletion testing/ef_tests/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
TESTS_TAG := v1.3.0-rc.3
TESTS_TAG := v1.3.0-rc.1
TESTS = general minimal mainnet
TARBALLS = $(patsubst %,%-$(TESTS_TAG).tar.gz,$(TESTS))

Expand Down
5 changes: 1 addition & 4 deletions testing/ef_tests/check_all_files_accessed.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,9 @@
"bls12-381-tests/hash_to_G2"
]


def normalize_path(path):
return path.split("consensus-spec-tests/")[1]


# Determine the list of filenames which were accessed during tests.
passed = set()
for line in open(accessed_files_filename, 'r').readlines():
Expand Down Expand Up @@ -90,5 +88,4 @@ def normalize_path(path):
# Exit with an error if there were any files missed.
assert len(missed) == 0, "{} missed files".format(len(missed))

print("Accessed {} files ({} intentionally excluded)".format(
accessed_files, excluded_files))
print("Accessed {} files ({} intentionally excluded)".format(accessed_files, excluded_files))
5 changes: 0 additions & 5 deletions testing/ef_tests/src/handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -653,11 +653,6 @@ impl<E: EthSpec + TypeName> Handler for MerkleProofValidityHandler<E> {

fn is_enabled_for_fork(&self, fork_name: ForkName) -> bool {
fork_name != ForkName::Base
// Test is skipped due to some changes in the Capella light client
// spec.
//
// https://github.com/sigp/lighthouse/issues/4022
&& fork_name != ForkName::Capella
}
}

Expand Down

0 comments on commit 20be702

Please sign in to comment.