Skip to content

Commit

Permalink
Remove version check (#851)
Browse files Browse the repository at this point in the history
  • Loading branch information
lubkoll authored Sep 4, 2024
1 parent 4964ceb commit 34d6dae
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion smart-contracts/osmosis/contracts/cl-vault/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,6 @@ pub fn reply(deps: DepsMut, env: Env, msg: Reply) -> Result<Response, ContractEr

#[cfg_attr(not(feature = "library"), entry_point)]
pub fn migrate(deps: DepsMut, _env: Env, msg: MigrateMsg) -> Result<Response, ContractError> {
cw2::assert_contract_version(deps.storage, CONTRACT_NAME, "0.3.0")?;
let previous_version =
cw2::ensure_from_older_version(deps.storage, CONTRACT_NAME, CONTRACT_VERSION)?;
let dex_router_item: Item<Addr> = Item::new("dex_router");
Expand Down

0 comments on commit 34d6dae

Please sign in to comment.