Pre-dispatch call filter (#687)

* pre-dispatch call filter

* swap filter <-> weight

* clippy

* fmt
This commit is contained in:
Svyatoslav Nikolsky
2021-02-01 23:53:33 +03:00
committed by Bastian Köcher
parent a9e607c9a2
commit 8ee90afae6
3 changed files with 56 additions and 1 deletions
+1
View File
@@ -266,6 +266,7 @@ impl pallet_bridge_call_dispatch::Config for Runtime {
type Event = Event;
type MessageId = (bp_message_lane::LaneId, bp_message_lane::MessageNonce);
type Call = Call;
type CallFilter = ();
type EncodedCall = crate::millau_messages::FromMillauEncodedCall;
type SourceChainAccountId = bp_millau::AccountId;
type TargetChainAccountPublic = MultiSigner;