Skip to content

Commit c6978a8

Browse files
committed
Inline instantiate2_address_impl
1 parent b2f971f commit c6978a8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/std/src/addresses.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,7 @@ pub fn instantiate2_address(
329329
/// Using any other value than 32 requires a coordination with the chain implementation.
330330
/// See also <https://github.com/CosmWasm/cosmwasm/issues/2155>.
331331
#[doc(hidden)]
332+
#[inline] // Only call this through a wrapper like instantiate2_address or a custom instantiate2_address_evm_compatible
332333
fn instantiate2_address_impl(
333334
checksum: &[u8],
334335
creator: &CanonicalAddr,

0 commit comments

Comments
 (0)