diff --git a/artifacts/checksums.txt b/artifacts/checksums.txt index 53cbc40..5965f6f 100644 --- a/artifacts/checksums.txt +++ b/artifacts/checksums.txt @@ -1 +1 @@ -abe859d0055a8d3e9698f7a2d9ee61b96ecc50160c0c0c9965f564456ac4641f msig_launcher.wasm +f92ac4232b90cc4be0703e8bb7612ddbc41bf7f87cfacdf0dd280f37b1e3d8f5 msig_launcher.wasm diff --git a/artifacts/msig_launcher.wasm b/artifacts/msig_launcher.wasm index 8122007..bf4da25 100644 Binary files a/artifacts/msig_launcher.wasm and b/artifacts/msig_launcher.wasm differ diff --git a/contracts/msig-launcher/src/contract.rs b/contracts/msig-launcher/src/contract.rs index 32275de..c838c42 100644 --- a/contracts/msig-launcher/src/contract.rs +++ b/contracts/msig-launcher/src/contract.rs @@ -3,13 +3,15 @@ use cosmwasm_std::entry_point; use cosmwasm_std::{ to_json_binary, Binary, Deps, DepsMut, Env, MessageInfo, Order, Response, StdResult, }; +use cw2::{get_contract_version, set_contract_version}; use cw_storage_plus::Bound; // use cw2::set_contract_version; use crate::error::ContractError; use crate::execute::execute_instantiate; use crate::msg::{ - ExecuteMsg, InstantiateMsg, PageResult, QueryMsg, PAGINATION_DEFAULT, PAGINATION_LIMIT, + ExecuteMsg, InstantiateMsg, MigrateMsg, PageResult, QueryMsg, PAGINATION_DEFAULT, + PAGINATION_LIMIT, }; use crate::state::{MSIG, MSIG_CODE_IDS}; /* @@ -58,6 +60,11 @@ pub fn execute( } } +#[cfg_attr(not(feature = "library"), cosmwasm_std::entry_point)] +pub fn migrate(_deps: DepsMut, _env: Env, _msg: MigrateMsg) -> Result { + Ok(Response::default()) +} + #[cfg_attr(not(feature = "library"), entry_point)] pub fn query(deps: Deps, _env: Env, msg: QueryMsg) -> StdResult { match msg { diff --git a/contracts/msig-launcher/src/msg.rs b/contracts/msig-launcher/src/msg.rs index 4bcd376..c1e1bd5 100644 --- a/contracts/msig-launcher/src/msg.rs +++ b/contracts/msig-launcher/src/msg.rs @@ -23,6 +23,9 @@ pub enum ExecuteMsg { }, } +#[cw_serde] +pub struct MigrateMsg {} + #[cw_serde] pub struct Pagination { pub user: Addr,