What problem does it solve?
Concurrency bugs in Erigon's parallel executor, p2p, and txpool code often pass normal tests but corrupt state under real load. This Skill runs the full Go test suite with the -race flag to surface data races before they reach production.
Core Features & Use Cases
- Full race-detector test run: Executes
make test-all-race with a RAM disk backing the heavy temp-file I/O of the execution tests suite.
- EEST spec race shards: Builds the race-instrumented
evm.race binary and runs dedicated EEST spec test shards for stable, devnet, and legacy blocktests.
- Targeted drill-down: Re-runs individual failing packages with
go test -race and interprets race detector stack traces to locate the conflicting goroutines.
- Use Case: After modifying the parallel executor in
execution/exec3, run the race gate (make lint plus make test-all-race with a RAM disk) to confirm no data races were introduced before merging.
Quick Start
Ask the assistant to run the Erigon race detector tests, and it will create a RAM disk, set ERIGON_EXECUTION_TESTS_TMPDIR, and execute make test-all-race.