Tests that given a root hash, a state can sync iteratively on a single thread, requesting retrieval tasks and returning all of them in one go.
(t *testing.T)
| 132 | // Tests that given a root hash, a state can sync iteratively on a single thread, |
| 133 | // requesting retrieval tasks and returning all of them in one go. |
| 134 | func TestIterativeStateSyncIndividual(t *testing.T) { testIterativeStateSync(t, 1) } |
| 135 | func TestIterativeStateSyncBatched(t *testing.T) { testIterativeStateSync(t, 100) } |
| 136 | |
| 137 | func testIterativeStateSync(t *testing.T, batch int) { |
nothing calls this directly
no test coverage detected