From ee1c6b23b75ac07b691cc197961582e7ea891b24 Mon Sep 17 00:00:00 2001 From: elizabeth Date: Mon, 19 Aug 2024 20:23:09 -0400 Subject: [PATCH] cleanup --- .../action_handler/ics20_withdrawal.rs | 24 ------------------- 1 file changed, 24 deletions(-) diff --git a/crates/core/component/shielded-pool/src/component/action_handler/ics20_withdrawal.rs b/crates/core/component/shielded-pool/src/component/action_handler/ics20_withdrawal.rs index b4fabe1c8b..63c38232c2 100644 --- a/crates/core/component/shielded-pool/src/component/action_handler/ics20_withdrawal.rs +++ b/crates/core/component/shielded-pool/src/component/action_handler/ics20_withdrawal.rs @@ -12,30 +12,6 @@ use crate::{ Ics20Withdrawal, }; -// #[async_trait] -// impl ActionHandler for Ics20Withdrawal { -// type CheckStatelessContext = (); -// async fn check_stateless(&self, _context: ()) -> Result<()> { -// self.validate() -// } - -// async fn check_historical(&self, state: Arc) -> Result<()> { -// ensure!( -// state -// .get_ibc_params() -// .await? -// .outbound_ics20_transfers_enabled, -// "transaction an ICS20 withdrawal, but outbound ICS20 withdrawals are not enabled" -// ); -// Ok(()) -// } - -// async fn check_and_execute(&self, mut state: S) -> Result<()> { -// state.withdrawal_check(self).await?; -// state.withdrawal_execute(self).await -// } -// } - impl Ics20WithdrawalWithHandler { pub async fn check_stateless(&self, _context: ()) -> Result<()> { self.action().validate()