replace From<>InboundLaneApi with direct storage reads (#1348)

This commit is contained in:
Svyatoslav Nikolsky
2022-03-09 15:59:59 +03:00
committed by Bastian Köcher
parent ba2b0b086c
commit f95456d4ea
17 changed files with 39 additions and 144 deletions
-6
View File
@@ -779,12 +779,6 @@ impl_runtime_apis! {
}
}
impl bp_rialto::FromRialtoInboundLaneApi<Block> for Runtime {
fn unrewarded_relayers_state(lane: bp_messages::LaneId) -> bp_messages::UnrewardedRelayersState {
BridgeRialtoMessages::inbound_unrewarded_relayers_state(lane)
}
}
#[cfg(feature = "runtime-benchmarks")]
impl frame_benchmarking::Benchmark<Block> for Runtime {
fn benchmark_metadata(extra: bool) -> (