mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-03 00:31:50 +00:00
Gloas(EIP-7732): Containers / Constants (#7923)
* #7850 This is the first round of the conga line! 🎉 Just spec constants and container changes so far. Co-Authored-By: shane-moore <skm1790@gmail.com> Co-Authored-By: Mark Mackey <mark@sigmaprime.io> Co-Authored-By: Shane K Moore <41407272+shane-moore@users.noreply.github.com> Co-Authored-By: Eitan Seri- Levi <eserilev@gmail.com> Co-Authored-By: ethDreamer <37123614+ethDreamer@users.noreply.github.com> Co-Authored-By: Jimmy Chen <jchen.tc@gmail.com> Co-Authored-By: Jimmy Chen <jimmy@sigmaprime.io> Co-Authored-By: Michael Sproul <michael@sigmaprime.io>
This commit is contained in:
19
Makefile
19
Makefile
@@ -30,6 +30,11 @@ TEST_FEATURES ?=
|
||||
# Cargo profile for regular builds.
|
||||
PROFILE ?= release
|
||||
|
||||
# List of all hard forks up to gloas. This list is used to set env variables for several tests so that
|
||||
# they run for different forks.
|
||||
# TODO(EIP-7732) Remove this once we extend network tests to support gloas and use RECENT_FORKS instead
|
||||
RECENT_FORKS_BEFORE_GLOAS=electra fulu
|
||||
|
||||
# List of all recent hard forks. This list is used to set env variables for http_api tests
|
||||
RECENT_FORKS=electra fulu gloas
|
||||
|
||||
@@ -197,29 +202,31 @@ run-ef-tests:
|
||||
cargo nextest run --release -p ef_tests --features "ef_tests,$(EF_TEST_FEATURES),fake_crypto"
|
||||
./$(EF_TESTS)/check_all_files_accessed.py $(EF_TESTS)/.accessed_file_log.txt $(EF_TESTS)/consensus-spec-tests
|
||||
|
||||
# Run the tests in the `beacon_chain` crate for recent forks.
|
||||
test-beacon-chain: $(patsubst %,test-beacon-chain-%,$(RECENT_FORKS))
|
||||
# Run the tests in the `beacon_chain` crate for all known forks.
|
||||
# TODO(EIP-7732) Extend to support gloas by using RECENT_FORKS instead
|
||||
test-beacon-chain: $(patsubst %,test-beacon-chain-%,$(RECENT_FORKS_BEFORE_GLOAS))
|
||||
|
||||
test-beacon-chain-%:
|
||||
env FORK_NAME=$* cargo nextest run --release --features "fork_from_env,slasher/lmdb,$(TEST_FEATURES)" -p beacon_chain
|
||||
|
||||
# Run the tests in the `http_api` crate for recent forks.
|
||||
test-http-api: $(patsubst %,test-http-api-%,$(RECENT_FORKS))
|
||||
test-http-api: $(patsubst %,test-http-api-%,$(RECENT_FORKS_BEFORE_GLOAS))
|
||||
|
||||
test-http-api-%:
|
||||
env FORK_NAME=$* cargo nextest run --release --features "beacon_chain/fork_from_env" -p http_api
|
||||
|
||||
|
||||
# Run the tests in the `operation_pool` crate for all known forks.
|
||||
test-op-pool: $(patsubst %,test-op-pool-%,$(RECENT_FORKS))
|
||||
test-op-pool: $(patsubst %,test-op-pool-%,$(RECENT_FORKS_BEFORE_GLOAS))
|
||||
|
||||
test-op-pool-%:
|
||||
env FORK_NAME=$* cargo nextest run --release \
|
||||
--features "beacon_chain/fork_from_env,$(TEST_FEATURES)"\
|
||||
-p operation_pool
|
||||
|
||||
# Run the tests in the `network` crate for recent forks.
|
||||
test-network: $(patsubst %,test-network-%,$(RECENT_FORKS))
|
||||
# Run the tests in the `network` crate for all known forks.
|
||||
# TODO(EIP-7732) Extend to support gloas by using RECENT_FORKS instead
|
||||
test-network: $(patsubst %,test-network-%,$(RECENT_FORKS_BEFORE_GLOAS))
|
||||
|
||||
test-network-%:
|
||||
env FORK_NAME=$* cargo nextest run --release \
|
||||
|
||||
Reference in New Issue
Block a user