diff --git a/contracts/oracle/src/contract/mod.rs b/contracts/oracle/src/contract/mod.rs index 27b4d18cb..cb0ffb2da 100644 --- a/contracts/oracle/src/contract/mod.rs +++ b/contracts/oracle/src/contract/mod.rs @@ -120,7 +120,6 @@ pub fn sudo(deps: DepsMut<'_>, _env: Env, msg: SudoMsg) -> ContractResult Config::update(deps.storage, price_config), SudoMsg::RegisterFeeder { feeder_address } => Feeders::try_register(deps, feeder_address), SudoMsg::RemoveFeeder { feeder_address } => Feeders::try_remove(deps, feeder_address), - SudoMsg::RemovePriceAlarm { receiver } => MarketAlarms::new(deps.storage).remove(receiver), _ => SudoWithOracleBase::cmd(deps, msg), } .map(|()| response::empty_response()) diff --git a/contracts/oracle/src/msg.rs b/contracts/oracle/src/msg.rs index f5be5655f..c384a9b82 100644 --- a/contracts/oracle/src/msg.rs +++ b/contracts/oracle/src/msg.rs @@ -56,11 +56,6 @@ pub enum SudoMsg { SwapTree { tree: HumanReadableTree, }, - /// The aim is to remove price alarms for leases that are in - /// the process of decommissioning - RemovePriceAlarm { - receiver: Addr, - }, } #[derive(Serialize, Deserialize, Clone, Debug, PartialEq, Eq, JsonSchema)]