near / nearcore

Reference client for NEAR Protocol
https://near.org
GNU General Public License v3.0
2.31k stars 613 forks source link

Transaction replay testing tool #2612

Open ilblackdragon opened 4 years ago

ilblackdragon commented 4 years ago

Tool, that allows to:

Additional considerations, that transactions relaying on randomness output or transaction hash, hence this can only be done within runtime-standalone where a context can be provided.

Performance changes of runtime can be tracked using this tool.

PS. Ethereum transaction replay can be cool as well, but may be even harder to orchestrate as there will be context.

frol commented 4 years ago

Do you want to have a tool that will re-submit all the transactions to a regularly running network or use runtime-standalone and only check the state?

FYI, some preliminary infrastructure of runtime-standalone is getting closer: https://github.com/nearprotocol/nearcore/blob/97ac8315e275f594090cc8fd6698a17b29707fe3/runtime/runtime-standalone/src/lib.rs#L261-L314

MaksymZavershynskyi commented 4 years ago

We can do both, and start with runtime-standalone as it is going to be easier. Having both will allow us to immediately find whether the source of regression is in the runtime or inside the chain, e.g. p2p network.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity in the last 2 months. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity in the last 2 months. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.