From a51f9d094d3136bd09ecf9ffc6f15ed5f0f4ca91 Mon Sep 17 00:00:00 2001 From: joshua-mir Date: Fri, 4 Sep 2020 15:53:52 +0200 Subject: [PATCH 1/2] Add metadata shadows to multisig pallet --- frame/multisig/src/lib.rs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/frame/multisig/src/lib.rs b/frame/multisig/src/lib.rs index f8f6e8ed63bc9..26fffc807ec29 100644 --- a/frame/multisig/src/lib.rs +++ b/frame/multisig/src/lib.rs @@ -262,6 +262,17 @@ decl_module! { /// Deposit one of this module's events by using the default implementation. fn deposit_event() = default; + /// The base amount of currency needed to reserve for creating a multisig execution or to store + /// a dispatch call for later. + const DepositBase: BalanceOf = T::DepositBase::get(); + + /// The amount of currency needed per unit threshold when creating a multisig execution. + const DepositFactor: BalanceOf = T::DepositFactor::get(); + + /// The maximum amount of signatories allowed for a given multisig. + const MaxSignatories: u16 = T::MaxSignatories::get(); + + /// Immediately dispatch a multi-signature call using a single approval from the caller. /// /// The dispatch origin for this call must be _Signed_. From 3a32657df5f172b6e16c65f0f8dbdc88e605d403 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bastian=20K=C3=B6cher?= Date: Mon, 7 Sep 2020 14:22:28 +0200 Subject: [PATCH 2/2] Update frame/multisig/src/lib.rs --- frame/multisig/src/lib.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/frame/multisig/src/lib.rs b/frame/multisig/src/lib.rs index 26fffc807ec29..72a0f7cd070a2 100644 --- a/frame/multisig/src/lib.rs +++ b/frame/multisig/src/lib.rs @@ -272,7 +272,6 @@ decl_module! { /// The maximum amount of signatories allowed for a given multisig. const MaxSignatories: u16 = T::MaxSignatories::get(); - /// Immediately dispatch a multi-signature call using a single approval from the caller. /// /// The dispatch origin for this call must be _Signed_.