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

There is no QueryWrapper for unit test #802

Open
r2moon opened this issue Aug 1, 2021 · 0 comments
Open

There is no QueryWrapper for unit test #802

r2moon opened this issue Aug 1, 2021 · 0 comments
Labels
dev Critical path development tasks

Comments

@r2moon
Copy link

r2moon commented Aug 1, 2021

Most smart contracts are required to query data from other contracts, such as price oracles, etc.
To write unit tests for those things, we need to have mock querier to simulate results of other contracts.

Terra already have TerraQueryWrapper.
Anchor Protocol example

It looks like that Secret Network does not have it, or is there any other way to write unit tests for above cases?

@assafmo assafmo added the dev Critical path development tasks label Aug 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev Critical path development tasks
Projects
None yet
Development

No branches or pull requests

2 participants