CosmWasm / token-bindings

Minimal Rust bindings for token factory
Apache License 2.0
5 stars 5 forks source link

CustomHandler Mock implementation for cw-multi-test #7

Open adairrr opened 1 year ago

adairrr commented 1 year ago

The token factory custom bindings are cumbersome to use with cw-multi-test because there are no BasicApp mock implementations. The objective of this issue is to create this mock implementation similar to the following:

https://github.com/astroport-fi/terra-plus/blob/main/packages/multi-test/src/custom_handler.rs#L11-L35

https://github.com/astroport-fi/terra-plus/blob/main/packages/multi-test/src/terra.rs#L21-L75

Most likely, we should be using https://docs.rs/cw-multi-test/latest/cw_multi_test/fn.custom_app.html

ShinySyntax commented 8 months ago

hello, I am very interested in