mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 01:11:10 +00:00
Added multisig in Rococo (#3873)
* Added multisig in Rococo * removed formatting error Co-authored-by: Ayush <>
This commit is contained in:
@@ -251,9 +251,11 @@ construct_runtime! {
|
||||
|
||||
Utility: pallet_utility::{Pallet, Call, Event} = 90,
|
||||
Proxy: pallet_proxy::{Pallet, Call, Storage, Event<T>} = 91,
|
||||
Multisig: pallet_multisig::{Pallet, Call, Storage, Event<T>},
|
||||
|
||||
// Pallet for sending XCM.
|
||||
XcmPallet: pallet_xcm::{Pallet, Call, Storage, Event<T>, Origin} = 99,
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1082,7 +1084,7 @@ impl InstanceFilter<Call> for ProxyType {
|
||||
Call::Auctions { .. } |
|
||||
Call::Crowdloan { .. } |
|
||||
Call::Registrar { .. } |
|
||||
Call::Slots { .. }
|
||||
Call::Multisig(..) | Call::Slots { .. }
|
||||
),
|
||||
}
|
||||
}
|
||||
@@ -1139,6 +1141,24 @@ impl pallet_membership::Config for Runtime {
|
||||
type WeightInfo = ();
|
||||
}
|
||||
|
||||
parameter_types! {
|
||||
// One storage item; key size is 32; value is size 4+4+16+32 bytes = 56 bytes.
|
||||
pub const DepositBase: Balance = deposit(1, 88);
|
||||
// Additional storage item size of 32 bytes.
|
||||
pub const DepositFactor: Balance = deposit(0, 32);
|
||||
pub const MaxSignatories: u16 = 100;
|
||||
}
|
||||
|
||||
impl pallet_multisig::Config for Runtime {
|
||||
type Event = Event;
|
||||
type Call = Call;
|
||||
type Currency = Balances;
|
||||
type DepositBase = DepositBase;
|
||||
type DepositFactor = DepositFactor;
|
||||
type MaxSignatories = MaxSignatories;
|
||||
type WeightInfo = ();
|
||||
}
|
||||
|
||||
#[cfg(not(feature = "disable-runtime-api"))]
|
||||
sp_api::impl_runtime_apis! {
|
||||
impl sp_api::Core<Block> for Runtime {
|
||||
|
||||
Reference in New Issue
Block a user