diff --git a/Makefile b/Makefile index 174e232a1d..6d84af1f54 100644 --- a/Makefile +++ b/Makefile @@ -106,6 +106,10 @@ setup-hive: ## ๐Ÿ Set up Hive testing framework TEST_PATTERN ?= / SIM_LOG_LEVEL ?= 3 SIM_PARALLELISM ?= 16 +# https://github.com/ethereum/execution-apis/pull/627 changed the simulation to use a pre-merge genesis block, so we need to pin to a commit before that +ifeq ( $(SIMULATION) , ethereum/rpc-compat ) +SIM_BUILDARG_FLAG = --sim.buildarg "branch=d08382ae5c808680e976fce4b73f4ba91647199b" +endif # Runs a Hive testing suite. A web interface showing the results is available at http://127.0.0.1:8080 via the `view-hive` target. # The endpoints tested can be filtered by supplying a test pattern in the form "/endpoint_1|endpoint_2|..|endpoint_n". @@ -116,7 +120,7 @@ SIM_PARALLELISM ?= 16 HIVE_CLIENT_FILE := ../fixtures/hive/clients.yaml run-hive: build-image setup-hive ## ๐Ÿงช Run Hive testing suite - - cd hive && ./hive --client-file $(HIVE_CLIENT_FILE) --client ethrex --sim $(SIMULATION) --sim.limit "$(TEST_PATTERN)" --sim.parallelism $(SIM_PARALLELISM) --sim.loglevel $(SIM_LOG_LEVEL) + - cd hive && ./hive --client-file $(HIVE_CLIENT_FILE) --client ethrex --sim $(SIMULATION) --sim.limit "$(TEST_PATTERN)" --sim.parallelism $(SIM_PARALLELISM) --sim.loglevel $(SIM_LOG_LEVEL) $(SIM_BUILDARG_FLAG) $(MAKE) view-hive run-hive-all: build-image setup-hive ## ๐Ÿงช Run all Hive testing suites @@ -124,7 +128,7 @@ run-hive-all: build-image setup-hive ## ๐Ÿงช Run all Hive testing suites $(MAKE) view-hive run-hive-debug: build-image setup-hive ## ๐Ÿž Run Hive testing suite in debug mode - cd hive && ./hive --sim $(SIMULATION) --client-file $(HIVE_CLIENT_FILE) --client ethrex --sim.loglevel 4 --sim.limit "$(TEST_PATTERN)" --sim.parallelism "$(SIM_PARALLELISM)" --docker.output + cd hive && ./hive --sim $(SIMULATION) --client-file $(HIVE_CLIENT_FILE) --client ethrex --sim.loglevel 4 --sim.limit "$(TEST_PATTERN)" --sim.parallelism "$(SIM_PARALLELISM)" --docker.output $(SIM_BUILDARG_FLAG) # EELS Hive TEST_PATTERN_EELS ?= .*fork_Paris.*|.*fork_Shanghai.*|.*fork_Cancun.*|.*fork_Prague.*