diff --git a/bridges/bin/millau/runtime/src/lib.rs b/bridges/bin/millau/runtime/src/lib.rs index 693543fa1c..7ac3cc73bf 100644 --- a/bridges/bin/millau/runtime/src/lib.rs +++ b/bridges/bin/millau/runtime/src/lib.rs @@ -379,8 +379,8 @@ construct_runtime!( BridgeRialto: pallet_substrate_bridge::{Module, Call, Storage, Config}, BridgeRialtoMessages: pallet_bridge_messages::{Module, Call, Storage, Event}, BridgeDispatch: pallet_bridge_dispatch::{Module, Event}, - BridgeRialtoGrandpa: pallet_bridge_grandpa::{Module, Call}, - BridgeWestendGrandpa: pallet_bridge_grandpa::::{Module, Call, Config}, + BridgeRialtoGrandpa: pallet_bridge_grandpa::{Module, Call, Storage}, + BridgeWestendGrandpa: pallet_bridge_grandpa::::{Module, Call, Config, Storage}, System: frame_system::{Module, Call, Config, Storage, Event}, RandomnessCollectiveFlip: pallet_randomness_collective_flip::{Module, Call, Storage}, Timestamp: pallet_timestamp::{Module, Call, Storage, Inherent}, diff --git a/bridges/bin/rialto/runtime/src/lib.rs b/bridges/bin/rialto/runtime/src/lib.rs index dcbb3510e1..c2c50f05a7 100644 --- a/bridges/bin/rialto/runtime/src/lib.rs +++ b/bridges/bin/rialto/runtime/src/lib.rs @@ -480,7 +480,7 @@ construct_runtime!( BridgeRialtoCurrencyExchange: pallet_bridge_currency_exchange::::{Module, Call}, BridgeKovanCurrencyExchange: pallet_bridge_currency_exchange::::{Module, Call}, BridgeMillau: pallet_substrate_bridge::{Module, Call, Storage, Config}, - BridgeGrandpa: pallet_bridge_grandpa::{Module, Call}, + BridgeMillauGrandpa: pallet_bridge_grandpa::{Module, Call, Storage}, BridgeDispatch: pallet_bridge_dispatch::{Module, Event}, BridgeMillauMessages: pallet_bridge_messages::{Module, Call, Storage, Event}, System: frame_system::{Module, Call, Config, Storage, Event}, @@ -643,12 +643,12 @@ impl_runtime_apis! { impl bp_millau::MillauFinalityApi for Runtime { fn best_finalized() -> (bp_millau::BlockNumber, bp_millau::Hash) { - let header = BridgeGrandpa::best_finalized(); + let header = BridgeMillauGrandpa::best_finalized(); (header.number, header.hash()) } fn is_known_header(hash: bp_millau::Hash) -> bool { - BridgeGrandpa::is_known_header(hash) + BridgeMillauGrandpa::is_known_header(hash) } }