go-ethereum/eth/txtracker
Csaba Kiraly 78baeda9b0 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-06-23 10:11:01 +02:00
..
tracker.go eth/txtracker: replace time.Sleep with deterministic step channel 2026-06-23 10:11:01 +02:00
tracker_test.go eth/txtracker: replace time.Sleep with deterministic step channel 2026-06-23 10:11:01 +02:00