go-ethereum/eth/txtracker
Csaba Kiraly df517d1f3a eth/txtracker: replace time.Sleep with deterministic step channel
Tests used time.Sleep(50ms) to wait for async chain head processing,
making the suite slow (~2s) and flaky under CI load.

Add a step channel (buffered 1) to the Tracker, sent after each
event in the loop. Tests wait on the channel with a 1s timeout.
Suite now completes in <10ms.
2026-04-11 16:35:54 +02:00
..
tracker.go eth/txtracker: replace time.Sleep with deterministic step channel 2026-04-11 16:35:54 +02:00
tracker_test.go eth/txtracker: replace time.Sleep with deterministic step channel 2026-04-11 16:35:54 +02:00