Consider using RuntimeTester to test runtime #4854
Labels
C-housekeeping
Category: Refactoring, cleanups, code quality
Groomed
Node
Node team
P-low
Priority: low
T-node
Team: issues relevant to the node experience team
In #4497 and #4812 we added runtime-tester infrastructure – a high-level driver for
nearcore
which can be used to simulate various block processing scenarios. We successfully used it for fuzzing (#4524) and for providing minimal reproductions for issues (#4771).As an actionable next step, I suggest trying to use this same infra for some of our tests. The goals would be:
RuntimeConfig
s #4698 (comment), Apply block updates to split shards #4847 (comment))A good candidate is
nearcore/integration-tests/tests/client/process_blocks.rs
Line 3672 in df508ca
nearcore::NightshadeRuntime::new
and it feel like they all should be replaceable withScenario
APIs.The text was updated successfully, but these errors were encountered: