Skip to content

Commit

Permalink
runtime: enable runtime API for eth bridge
Browse files Browse the repository at this point in the history
  • Loading branch information
penumbra23 committed Feb 11, 2025
1 parent e244691 commit 399608d
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions runtime/src/apis.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,8 @@ use crate::RuntimeGenesisConfig;
use crate::{Members, Networks, Shards, Staking, Tasks};

// HASHI Bridge
#[cfg(feature = "testnet")]
use crate::configs::bridge::NetworkId as BridgeNetworkId;
#[cfg(feature = "testnet")]
use crate::EthBridge;
#[cfg(feature = "testnet")]
use eth_bridge::{
common::{AssetId as BridgeAssetId, BalancePrecision as BridgeBalancePrecision},
offchain::SignatureParams as BridgeSignatureParams,
Expand All @@ -57,7 +54,6 @@ use eth_bridge::{
RequestStatus as BridgeRequestStatus,
},
};
#[cfg(feature = "testnet")]
use sp_runtime::DispatchError;

// Original Author: ntn-x2 @ KILTprotocol
Expand Down Expand Up @@ -377,8 +373,6 @@ impl_runtime_apis! {
}
}


#[cfg(feature = "testnet")]
impl
eth_bridge_runtime_api::EthBridgeRuntimeApi<
Block,
Expand Down

0 comments on commit 399608d

Please sign in to comment.