• rjl493456442's avatar
    core: fix benchmark panic (#24657) · 195c9791
    rjl493456442 authored
    This PR fixes a few panics in the chain marker benchmarks. The root
    cause for panic is in chain marker the genesis header/block is not
    accessible, while it's expected to be obtained in tests. So this PR
    avoids touching genesis header at all to avoid panic.
    195c9791
bench_test.go 9.37 KB