Community Meeting April 21 Discussion - Workspaces RS #125
ChaoticTempest
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Community Meeting April 21 Notes
For a getting started overview of
workspaces-rs
check out the README in GitHub.What Changed: from 0.1 into 0.2 workspaces-rs
Fast Forwarding
What: Developers now have the ability to move ahead in block height, effectively simulating the ability to travel into the future.
Why: This helps with testing code that is time dependant, or requires multi-block transactions
Examples: Check out the simple example examples/fast_forward. A more involved example involving cron.cat is currently in development. You will be able to see it at examples/croncat.rs in the coming weeks.
Compile Project
What: New unstable feature
compile_project
. This feature allows users to point to a specific rust smart contract project, and have the tests compile it for them on the fly, instead of pre-compiling it manually.Why: This change should make compilation more convenient and reduce the time otherwise spent manually compiling.
Other Changes
Spinning up sandbox now requires an
.await
to wait for the sandbox to completely be brought up before making calls into it.Feedback
Workspaces is the future of testing on NEAR. Please give it a try, let us know what we're missing, and how to improve. Please leave any feedback or questions in this discussion thread!
Specific asks:
Beta Was this translation helpful? Give feedback.
All reactions