Skip to content

Commit

Permalink
Remove fix_msg argument from Instantiate2
Browse files Browse the repository at this point in the history
  • Loading branch information
webmaster128 committed Dec 20, 2022
1 parent 93582b9 commit ccf3f08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/std/src/results/cosmos_msg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ pub enum WasmMsg {
///
/// This is translated to a [MsgInstantiateContract2](https://github.com/CosmWasm/wasmd/blob/v0.29.2/proto/cosmwasm/wasm/v1/tx.proto#L73-L96).
/// `sender` is automatically filled with the current contract's address.
/// `fix_msg` is automatically set to false.
#[cfg(feature = "cosmwasm_1_2")]
Instantiate2 {
admin: Option<String>,
Expand All @@ -175,7 +176,6 @@ pub enum WasmMsg {
msg: Binary,
funds: Vec<Coin>,
salt: Binary,
fix_msg: bool,
},
/// Migrates a given contracts to use new wasm code. Passes a MigrateMsg to allow us to
/// customize behavior.
Expand Down

0 comments on commit ccf3f08

Please sign in to comment.