Various nits and alignments for SP testnets found during bumping polkadot-fellows repo (#3359)

This commit is contained in:
Branislav Kontur
2024-02-16 15:11:42 +01:00
committed by GitHub
parent 99234440f0
commit e84ec9f22d
4 changed files with 8 additions and 24 deletions
@@ -73,8 +73,6 @@ use testnet_parachains_constants::rococo::{
consensus::*, currency::*, fee::WeightToFee, snowbridge::INBOUND_QUEUE_PALLET_INDEX, time::*,
};
#[cfg(feature = "runtime-benchmarks")]
use bp_runtime::Chain;
use bp_runtime::HeaderId;
use bridge_hub_common::{
message_queue::{NarrowOriginToSibling, ParaIdToSibling},
@@ -1298,7 +1296,7 @@ impl_runtime_apis! {
impl BridgeMessagesConfig<bridge_to_westend_config::WithBridgeHubWestendMessagesInstance> for Runtime {
fn is_relayer_rewarded(relayer: &Self::AccountId) -> bool {
let bench_lane_id = <Self as BridgeMessagesConfig<bridge_to_westend_config::WithBridgeHubWestendMessagesInstance>>::bench_lane_id();
let bridged_chain_id = bp_bridge_hub_westend::BridgeHubWestend::ID;
let bridged_chain_id = bridge_to_westend_config::BridgeHubWestendChainId::get();
pallet_bridge_relayers::Pallet::<Runtime>::relayer_reward(
relayer,
bp_relayers::RewardsAccountParams::new(