-
Notifications
You must be signed in to change notification settings - Fork 13
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
Implement "struct Contract" in cosmwasm_vm::testing #85
Labels
enhancement
New feature or request
Comments
loloicci
added a commit
that referenced
this issue
Mar 19, 2021
Add vm::testing::Contract which represents a contract in integration tests. It enables integration tests instantiate a new instance every time before execute init/handle/query/migrate. See #85 for detail.
loloicci
added a commit
that referenced
this issue
Mar 19, 2021
Add vm::testing::Contract which represents a contract in integration tests. It enables integration tests instantiate a new instance every time before execute init/handle/query/migrate. See #85 for detail.
3 tasks
loloicci
added a commit
that referenced
this issue
Mar 19, 2021
Add vm::testing::Contract which represents a contract in integration tests. It enables integration tests instantiate a new instance every time before execute init/handle/query/migrate. See #85 for detail.
loloicci
added a commit
that referenced
this issue
Mar 25, 2021
…integration tests (#87) * feat: add vm::testing::Contract Add vm::testing::Contract which represents a contract in integration tests. It enables integration tests instantiate a new instance every time before execute init/handle/query/migrate. See #85 for detail. * feat: improve the errors with Contract and add tests * refactor: rename some functions rename as following. get_instance -> generate_instance recycle -> recycle_instance * refactor: cargo fmt
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We have the motivation to export some functions in #81 and #84. But, it can be solved by implementing a structure like.
This is like
cosmwasm_vm::Cache
without disk cache and for a single contract.I suggest implementing this in
cosmwasm_vm::testing
and close #81 and #84 by this.The text was updated successfully, but these errors were encountered: