We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e2bff5 commit 2a1c698Copy full SHA for 2a1c698
packages/std/src/addresses.rs
@@ -337,7 +337,10 @@ pub fn instantiate2_address(
337
creator: &CanonicalAddr,
338
salt: &[u8],
339
) -> Result<CanonicalAddr, Instantiate2AddressError> {
340
- instantiate2_address_impl(checksum, creator, salt, b"")
+ // Non-empty msg values are discouraged.
341
+ // See https://medium.com/cosmwasm/dev-note-3-limitations-of-instantiate2-and-how-to-deal-with-them-a3f946874230.
342
+ let msg = b"";
343
+ instantiate2_address_impl(checksum, creator, salt, msg)
344
}
345
346
/// The instantiate2 address derivation implementation. This API is used for
0 commit comments