From 7fe0328d7013ebfd6aca96d37713c560d0b0f160 Mon Sep 17 00:00:00 2001 From: ajansari95 <53616488+ajansari95@users.noreply.github.com> Date: Tue, 23 Apr 2024 21:52:52 +0530 Subject: [PATCH] add empty migrate msg --- smart-contracts/contracts/cl-vault/src/contract.rs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/smart-contracts/contracts/cl-vault/src/contract.rs b/smart-contracts/contracts/cl-vault/src/contract.rs index 5394adecb..a5ca69510 100644 --- a/smart-contracts/contracts/cl-vault/src/contract.rs +++ b/smart-contracts/contracts/cl-vault/src/contract.rs @@ -183,9 +183,6 @@ pub fn reply(deps: DepsMut, env: Env, msg: Reply) -> Result Result { - REWARDS_STATUS.save(deps.storage, &RewardsStatus::Ready)?; - DISTRIBUTED_REWARDS.save(deps.storage, &CoinList::new())?; - CURRENT_TOTAL_SUPPLY.save(deps.storage, &Uint128::zero())?; - Ok(Response::new().add_attribute("migrate", "successful")) +pub fn migrate(_deps: DepsMut, _env: Env, _msg: MigrateMsg) -> Result { + Ok(Response::default()) }