near / nearcore

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

[Sandbox] Allow sandbox to produce blocks or "fast-forward" #4686

Open mikedotexe opened 3 years ago

mikedotexe commented 3 years ago

Per the discussion here: https://github.com/near/runner-js/issues/1 @ailisp has mentioned that the Sandbox feature he's worked on provides patch state but not arbitrary block production to simulate "fast-forwarding" in time.

This is a type of testing that is quite difficult using the simulation tests, which will be deprecated in favor of Sandbox testing, which uses the sandbox feature flag from nearcore and can run tests against it, and eventually spoon data from testnet/mainnet into it, and more.

This is a cross-team effort where Dev Platform is hoping to have this feature implemented.

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.

bowenwang1996 commented 2 years ago

Fast forward time should be possible to do now with #5123

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.

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.