andromedaprotocol/andromeda-core

[RC] Unsupported Balance Query in all ado. This is also a conflict in cw20 balance query if the query is intentional

Closed this issue · 1 comments

Describe the bug

All ADOs now have Balance query which when execute returns unsupported query error.
If this query is needed, it should be renamed to something else because it can conflict with CW20 Balance query

Error Code

Query failed with (6): UnsupportedOperation: query wasm contract failed: unknown request

To Reproduce

Steps to reproduce the behavior:

  1. Query Balance Query for any ado, say app-contract
  2. See Error

Expected behavior

No Balance query if its not implemented

Seems like a mistake, probably a remnant from one of our macros?