@@ -24,7 +24,7 @@ major releases of `cosmwasm`. Note that you can also view the
2424 ` stargate ` feature instead, since it was previously implied by ` ibc3 ` .
2525
2626 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.
2828
2929 If you were using ` cosmwasm-std ` with ` default-features = false ` , you probably
3030 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
156156 +StdError::generic_err(msg)
157157 ```
158158
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
160160 done for all addresses that are validated or canonicalized during the test or
161161 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:
163163
164164 ``` diff
165165 -let msg = InstantiateMsg {
@@ -172,10 +172,10 @@ major releases of `cosmwasm`. Note that you can also view the
172172 +};
173173 ```
174174
175- - Replace addresses in integration tests using ` cosmwasm-vm ` with valid bech32
175+ - Replace addresses in integration tests using ` cosmwasm-vm ` with valid Bech32
176176 addresses. This has to be done for all addresses that are validated or
177177 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
179179 string:
180180
181181 ``` diff
@@ -206,9 +206,9 @@ major releases of `cosmwasm`. Note that you can also view the
206206
207207- If you were using ` QueryRequest::Stargate ` , you might want to enable the
208208 ` 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
210210 JSON encoded data, depending on the chain, the gRPC query always returns
211- protobuf encoded data.
211+ protobuf- encoded data.
212212
213213 ``` diff
214214 -deps.querier.query(&QueryRequest::Stargate {
@@ -1311,7 +1311,7 @@ arbitrary ones.
13111311
13121312 The existing ` CanonicalAddr ` remains unchanged and can be used in cases in
13131313 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
13151315 cosmos1pfq05em6sfkls66ut4m2257p7qwlk448h8mysz takes 45 bytes as direct ASCII
13161316 and 28 bytes when its canonical representation is base64 encoded). For
13171317 fixed-length database keys ` CanonicalAddr ` remains handy though.
0 commit comments