Closed as not planned
Description
MockApi after 2.0 expects valid bech32 address, so current implementation of mock_env()
would fail address validation:
address: Addr::unchecked("cosmos2contract"),
I would prefer to have valid address instead, for example
address: MockApi::default().addr_make("cosmos2contract"),
Or more flexible with passing MockApi inside mock env function:
address: mock_api.addr_make("cosmos2contract"),
Metadata
Metadata
Assignees
Labels
No labels