diff --git a/engine/src/state_chain_observer/client/base_rpc_api.rs b/engine/src/state_chain_observer/client/base_rpc_api.rs index 8589f88df5..87afc4f830 100644 --- a/engine/src/state_chain_observer/client/base_rpc_api.rs +++ b/engine/src/state_chain_observer/client/base_rpc_api.rs @@ -1,7 +1,5 @@ use async_trait::async_trait; -use cf_amm::{common::Tick, range_orders::Liquidity}; -use cf_primitives::Asset; use jsonrpsee::core::{ client::{ClientT, Subscription, SubscriptionClientT}, RpcResult, @@ -11,7 +9,7 @@ use sp_core::{ storage::{StorageData, StorageKey}, Bytes, }; -use sp_runtime::{traits::BlakeTwo256, AccountId32}; +use sp_runtime::traits::BlakeTwo256; use sp_version::RuntimeVersion; use state_chain_runtime::SignedBlock; @@ -130,13 +128,6 @@ pub trait BaseRpcApi { async fn runtime_version(&self) -> RpcResult; - async fn pool_minted_positions( - &self, - lp: AccountId32, - asset: Asset, - at: state_chain_runtime::Hash, - ) -> RpcResult>; - async fn dry_run( &self, extrinsic: Bytes, @@ -240,17 +231,6 @@ impl BaseRpcApi for BaseRpcClient RpcResult> { - // TODO: Add function that gets minted range and limit orders #3082 - //self.raw_rpc_client.cf_pool_minted_positions(lp, asset, Some(at)).await - Err(jsonrpsee::core::Error::Custom("Not implemented".to_string())) - } - async fn dry_run( &self, extrinsic: Bytes,