Skip to content

There is no QueryWrapper for unit test #802

Open
@0xhiros

Description

@0xhiros

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    devCritical path development tasks

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions