Skip to content
This repository has been archived by the owner on Nov 15, 2024. It is now read-only.

Commit

Permalink
update: sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptokage1996 committed Aug 13, 2024
1 parent bfbe4fc commit 6159122
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions contracts/account-history-contract/src/entry_point/sudo.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
use crate::action::execute::clean_up_storage;
use crate::action::sudo::update_metadata_prices;
use crate::states::DELETE_OLD_DATA_ENABLED;
use crate::{msg::SudoMsg, states::DELETE_EPOCH};
use cosmwasm_std::{entry_point, DepsMut, Env, Response, StdResult};
Expand All @@ -13,7 +12,6 @@ pub fn sudo(mut deps: DepsMut<ElysQuery>, _env: Env, msg: SudoMsg) -> StdResult<
if DELETE_OLD_DATA_ENABLED.load(deps.storage)? == true {
clean_up_storage(&mut deps, epoch)?;
}
update_metadata_prices(deps)?;
Ok(Response::new())
}
}
Expand Down

0 comments on commit 6159122

Please sign in to comment.