@@ -24,7 +24,7 @@ major releases of `cosmwasm`. Note that you can also view the
24
24
` stargate ` feature instead, since it was previously implied by ` ibc3 ` .
25
25
26
26
Also remove any uses of the ` backtraces ` feature. You can use a
27
- ` RUST_BACKTRACE=1 ` env variable for this now.
27
+ ` RUST_BACKTRACE=1 ` environment variable for this now.
28
28
29
29
If you were using ` cosmwasm-std ` with ` default-features = false ` , you probably
30
30
want to enable the ` std ` feature now, as we might move certain existing
@@ -156,10 +156,10 @@ major releases of `cosmwasm`. Note that you can also view the
156
156
+StdError::generic_err(msg)
157
157
```
158
158
159
- - Replace addresses in unit tests with valid bech32 addresses. This has to be
159
+ - Replace addresses in unit tests with valid Bech32 addresses. This has to be
160
160
done for all addresses that are validated or canonicalized during the test or
161
161
within the contract. The easiest way to do this is by using
162
- ` MockApi::addr_make ` . It generates a bech32 address from any string:
162
+ ` MockApi::addr_make ` . It generates a Bech32 address from any string:
163
163
164
164
``` diff
165
165
-let msg = InstantiateMsg {
@@ -172,10 +172,10 @@ major releases of `cosmwasm`. Note that you can also view the
172
172
+};
173
173
```
174
174
175
- - Replace addresses in integration tests using ` cosmwasm-vm ` with valid bech32
175
+ - Replace addresses in integration tests using ` cosmwasm-vm ` with valid Bech32
176
176
addresses. This has to be done for all addresses that are validated or
177
177
canonicalized during the test or within the contract. The easiest way to do
178
- this is by using ` MockApi::addr_make ` . It generates a bech32 address from any
178
+ this is by using ` MockApi::addr_make ` . It generates a Bech32 address from any
179
179
string:
180
180
181
181
``` diff
@@ -206,9 +206,9 @@ major releases of `cosmwasm`. Note that you can also view the
206
206
207
207
- If you were using ` QueryRequest::Stargate ` , you might want to enable the
208
208
` cosmwasm_2_0 ` cargo feature and migrate to ` QueryRequest::Grpc ` instead.
209
- While the stargate query sometimes returns protobuf encoded data and sometimes
209
+ While the stargate query sometimes returns protobuf- encoded data and sometimes
210
210
JSON encoded data, depending on the chain, the gRPC query always returns
211
- protobuf encoded data.
211
+ protobuf- encoded data.
212
212
213
213
``` diff
214
214
-deps.querier.query(&QueryRequest::Stargate {
@@ -1311,7 +1311,7 @@ arbitrary ones.
1311
1311
1312
1312
The existing ` CanonicalAddr ` remains unchanged and can be used in cases in
1313
1313
which a compact binary representation is desired. For JSON state this does not
1314
- save much data (e.g. the bech32 address
1314
+ save much data (e.g. the Bech32 address
1315
1315
cosmos1pfq05em6sfkls66ut4m2257p7qwlk448h8mysz takes 45 bytes as direct ASCII
1316
1316
and 28 bytes when its canonical representation is base64 encoded). For
1317
1317
fixed-length database keys ` CanonicalAddr ` remains handy though.
0 commit comments