Companion for dispatch_as (#715)

* dispatch as companion

* oops, forgot to save file

* Update Cargo.lock
This commit is contained in:
Shawn Tabrizi
2021-11-04 17:44:18 +01:00
committed by GitHub
parent 78bcd6a222
commit eec45a7232
7 changed files with 394 additions and 264 deletions
@@ -281,6 +281,7 @@ impl pallet_multisig::Config for Runtime {
impl pallet_utility::Config for Runtime {
type Event = Event;
type Call = Call;
type PalletsOrigin = OriginCaller;
type WeightInfo = weights::pallet_utility::WeightInfo<Runtime>;
}
@@ -39,4 +39,7 @@ impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
// Standard Error: 0
.saturating_add((4_571_000 as Weight).saturating_mul(c as Weight))
}
fn dispatch_as() -> Weight {
(14_340_000 as Weight)
}
}