You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I reviewed the code again and think this was fixed (not working in 0.7) after the major storage refactor.
However, we need a test case showing that. You can add another test contract that accepts funds and queries it's balance and does some action that shows it queried properly (including the funds just sent)
Make a contract in test_helpers that looks more or less like the original Hackatom - init with arbiter, beneficiary and ExecuteMsg with a release all method (nothing else). Release will query the current balance and send it all (return BankMsg::Send)
Instantiate it, sending 20coin
arbiter releases tokens, sending an additional 10coin with that message
Check balance of recipient is 30coin
This will show that the querier is returning the balance after the additional 10coin send, not the outdated balance
When we execute/instantiate Wasm message, we:
Currently, if we move funds (1), those are not visible to the querier in (2). We need to ensure we use the proper setup for that.
The text was updated successfully, but these errors were encountered: