File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -189,6 +189,17 @@ major releases of `cosmwasm`. Note that you can also view the
189189 +};
190190 ```
191191
192+ - The ` update_balance ` , ` set_denom_metadata ` , ` set_withdraw_address ` ,
193+ ` set_withdraw_addresses ` and ` clear_withdraw_addresses ` functions were removed
194+ from the ` MockQuerier ` . Use the newly exposed modules to access them directly:
195+
196+ ``` diff
197+ -querier.update_balance("addr", coins(1000, "ATOM"));
198+ +querier.bank.update_balance("addr", coins(1000, "ATOM"));
199+ -querier.set_withdraw_address("delegator", "withdrawer");
200+ +querier.distribution.set_withdraw_address("delegator", "withdrawer");
201+ ```
202+
192203- If you were using ` QueryRequest::Stargate ` , you might want to enable the
193204 ` cosmwasm_2_0 ` cargo feature and migrate to ` QueryRequest::Grpc ` instead.
194205 While the stargate query sometimes returns protobuf encoded data and sometimes
You can’t perform that action at this time.
0 commit comments