• Martin Holst Swende's avatar
    eth/filters, p2p/simulations: fix benchmarks (#23806) · 31870a59
    Martin Holst Swende authored
    Some benchmarks in eth/filters were not good: they weren't reproducible, relying on geth chaindata to be present.
    
    Another one was rejected because the receipt was lacking a backing transcation.
    
    The p2p simulation benchmark had a lot of the warnings below, due to the framework calling both
    Stop() and Close(). Apparently, the simulated adapter is the only implementation which has a Close(),
    and there is no need to call both Stop and Close on it.
    31870a59
bench_test.go 5.73 KB