-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(devnet): add sandbox & test contracts with drink #277
Conversation
# This is the 1st commit message: refactor: general # This is the commit message #2: init # This is the commit message #3: begin refactor # This is the commit message #4: refactor: error handling # This is the commit message #5: tests: add error handling tests # This is the commit message #6: WIP # This is the commit message #7: finalise error handling # This is the commit message #8: refactor: easier review
Co-authored-by: Frank Bell <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good. I think we should be able to abstract the complexities away much more. The developers should be able to get a lot of info on how to use this test suite, thats it.
I think we should not put too much focus on this right now before we have the psp22 example to a good state. Then we can have better judgement on how to move forward with the this pop-drink
/ sandbox
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Co-authored-by: Daan van der Plas <[email protected]>
Description
Implementation of the
pop_drink::Sandbox
struct for the Pop Network runtimes (located inpop-node/runtime
) required for the quasi testing withdrink
.This PR creates a
pop-sandbox
crate that implements thepop-drink::Sandbox
runtime environment for theDevnet
=>DevnetSandbox
.In the context of quasi-testing with pop-drink, a sandbox refers to an isolated runtime environment that simulates the behavior of a full node, without requiring an actual node. It can emulate key processes (where runtime pallets are involved) such as block initialization, execution, and block finalization.
Tasks
release
) Publishpop-drink
crate to registry.release
) Publishpop-sandbox
crate to registry.DevnetSandbox
implementation inpop-sandbox
pop-sandbox
crate.drink
test: feat: psp22 trait contract example with drink tests #300References