with one click
erigon-build
Build the Erigon binary using make. Use this when you need to compile erigon before running any erigon commands.
Menu
Build the Erigon binary using make. Use this when you need to compile erigon before running any erigon commands.
| name | erigon-build |
| description | Build the Erigon binary using make. Use this when you need to compile erigon before running any erigon commands. |
| allowed-tools | Bash |
Build the Erigon binary by running make erigon from the repository root.
make erigon
This compiles the Erigon binary and places it at ./build/bin/erigon.
build/bin/erigonThe binary will be available at:
./build/bin/erigon
You can verify the build by running:
./build/bin/erigon --version
Use the 'erigon seg step-rebase' command to change the step size of an existing datadir. Use when the user wants to rebase segments or modify step sizes.
Run the full Erigon test suite locally using GOGC=80 make test-all. Use this before marking a PR ready for review. Equivalent to the "All tests" CI workflow.
Run Erigon tests with Go race detector to find data races and concurrency bugs. Use this for concurrency-sensitive changes (parallel executor, p2p, txpool). Takes 30-60 minutes.
Run Erigon CI checks locally and/or trigger them remotely on a branch via GitHub Actions workflow_dispatch. Use this when you need to verify a branch passes all CI before or after pushing — especially for branches like bal-devnet-2 that don't auto-trigger on push/PR events.
Implement a new EIP for a hardfork under development in Erigon. Use when the user asks to implement, port, or wire up an EIP — covers spec lookup, dep analysis, prior-work check, implementation, lint, tests, and a wrap-up saved to `agentspecs/`.
Run benchmarkoor performance benchmarks against a locally-built Erigon binary and produce per-test MGas/s comparison tables. Covers image build, dataset reset, run invocation, result parsing, and before/after comparisons.