From d7d03a66d9319a213b41580720707f130e5eaeb6 Mon Sep 17 00:00:00 2001 From: Christoph Otter Date: Thu, 21 Dec 2023 11:28:13 +0100 Subject: [PATCH] Add migrating entry --- MIGRATING.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/MIGRATING.md b/MIGRATING.md index e13975ac2e..097a7cd9d5 100644 --- a/MIGRATING.md +++ b/MIGRATING.md @@ -189,6 +189,17 @@ major releases of `cosmwasm`. Note that you can also view the +}; ``` +- The `update_balance`, `set_denom_metadata`, `set_withdraw_address`, + `set_withdraw_addresses` and `clear_withdraw_addresses` functions were removed + from the `MockQuerier`. Use the newly exposed modules to access them directly: + + ```diff + -querier.update_balance("addr", coins(1000, "ATOM")); + +querier.bank.update_balance("addr", coins(1000, "ATOM")); + -querier.set_withdraw_address("delegator", "withdrawer"); + +querier.distribution.set_withdraw_address("delegator", "withdrawer"); + ``` + - If you were using `QueryRequest::Stargate`, you might want to enable the `cosmwasm_2_0` cargo feature and migrate to `QueryRequest::Grpc` instead. While the stargate query sometimes returns protobuf encoded data and sometimes