On chains contract does not exist until instantiation have finished. It means that querying contract_info on env.contract.address during instantiation would fail with No such contract: ADDRESS: instantiate wasm contract failed.
The issue is that cw-multi-test does not error in this case. Would be nice to replicate chain behavior!
On chains contract does not exist until instantiation have finished. It means that querying
contract_info
onenv.contract.address
during instantiation would fail withNo such contract: ADDRESS: instantiate wasm contract failed
. The issue is thatcw-multi-test
does not error in this case. Would be nice to replicate chain behavior!