Skip to content
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

refactor: initialising pop drink session. #9

Open
Daanvdplas opened this issue Sep 27, 2024 · 0 comments
Open

refactor: initialising pop drink session. #9

Daanvdplas opened this issue Sep 27, 2024 · 0 comments

Comments

@Daanvdplas
Copy link
Collaborator

Taking inspiration from new_test().execute_with(|| { }), an improvement might be to define something similar in pop-drink which takes the session and contract details as parameters and then has a function for executing a closure, with the session and contract address as the closure parameters.

https://github.com/r0gue-io/pop-node/pull/300/files/bea0e9aa4b9f9e231b2be5ad25f974bf290913fc#r1778408231

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant