Integrate message-lane module RPCs into Rialto/Millau nodes (#458)

* integrate message-lane RPCs into Millau and Rialto runtime

* fmt

* use instance in InboundLanes

* moved RialtoMessageLaneKeys/MillauMessageLaneKeys inside rpc_extensions_builder to ease Substrate refs update
This commit is contained in:
Svyatoslav Nikolsky
2020-10-27 15:49:41 +03:00
committed by Bastian Köcher
parent ddef170340
commit 74249a0896
8 changed files with 135 additions and 10 deletions
+6
View File
@@ -28,6 +28,12 @@ mod chain;
/// Use this when something must be shared among all instances.
pub const NO_INSTANCE_ID: InstanceId = [0, 0, 0, 0];
/// Bridge-with-Rialto instance id.
pub const RIALTO_BRIDGE_INSTANCE: InstanceId = *b"rlto";
/// Bridge-with-Millau instance id.
pub const MILLAU_BRIDGE_INSTANCE: InstanceId = *b"mlau";
/// Call-dispatch module prefix.
pub const CALL_DISPATCH_MODULE_PREFIX: &[u8] = b"pallet-bridge/call-dispatch";