Skip to content

Commit 315246a

Browse files
authored
fix(l1): fix tooling/sync sync target so it uses existing target (#4811)
**Motivation** When running `make sync` in tooling/sync you get the following error: ``` make start-ethrex-hoodi >> ./logs/ethrex-sync-hoodi-levm.log make[1]: *** No rule to make target `start-ethrex-hoodi'. Stop. make: *** [sync] Error 2 ``` Because the specific `start-ethrex-hoodi` target no longer exists since this [pr](b7b7c1b). **Description** Change `start-ethrex-$(NETWORK)` to `start-ethrex` in `sync` target as it was intended to be used since [pr](b7b7c1b)
1 parent 38626cd commit 315246a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ tooling/ef_tests/state/runner_v2/success_report.txt
1717

1818
tooling/reorgs/data
1919

20+
tooling/sync/logs/
21+
2022
# Repos checked out by make target
2123
/hive/
2224
ethereum-package/

tooling/sync/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ ifndef SYNC_BLOCK_NUM
5858
endif
5959
# samply record --unstable-presymbolicate --save-only --
6060
mkdir -p logs
61-
make start-ethrex-$(NETWORK) >> ./logs/ethrex-sync-$(NETWORK)-$(EVM).log
61+
make start-ethrex >> ./logs/ethrex-sync-$(NETWORK)-$(EVM).log
6262

6363

6464
flamegraph-main: ## Run flamegraph on main branch. SYNC_BLOCK_NUM environment variable required (for block to start from). If NETWORK environment variable is not provided, mainnet will be used as default. EVM can also be set to select the evm to use. Execution logs are output to log file.

0 commit comments

Comments
 (0)