diff --git a/api/lib/src/lib.rs b/api/lib/src/lib.rs index 860c88414d..74b0345108 100644 --- a/api/lib/src/lib.rs +++ b/api/lib/src/lib.rs @@ -9,7 +9,6 @@ use cf_chains::{ CcmChannelMetadata, ForeignChain, }; use cf_primitives::{AccountRole, Asset, BasisPoints, ChannelId}; -use codec::Encode; use futures::FutureExt; use pallet_cf_governance::ExecutionMode; use pallet_cf_validator::MAX_LENGTH_FOR_VANITY_NAME; @@ -147,14 +146,11 @@ impl< { async fn dry_run( &self, - call: RuntimeCall, - at: Option, + _call: RuntimeCall, + _at: Option, ) -> Result { - Ok(self - .base_rpc_client - .raw_rpc_client - .dry_run(Encode::encode(&call).into(), at) - .await?) + // TODO: PRO-917 fix dry run + Ok(Bytes::from(vec![])) } } @@ -171,11 +167,6 @@ pub trait OperatorApi: SignedExtrinsicApi + RotateSessionKeysApi + AuctionPhaseA address: EthereumAddress, executor: Option, ) -> Result { - // Are we in a current auction phase - if self.is_auction_phase().await? { - bail!("We are currently in an auction phase. Please wait until the auction phase is over."); - } - let (tx_hash, ..) = self .submit_signed_extrinsic(pallet_cf_funding::Call::redeem { amount, address, executor }) .await