mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 07:01:03 +00:00
Companion for dispatch_as (#715)
* dispatch as companion * oops, forgot to save file * Update Cargo.lock
This commit is contained in:
@@ -302,6 +302,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_578_000 as Weight).saturating_mul(c as Weight))
|
||||
}
|
||||
fn dispatch_as() -> Weight {
|
||||
(14_340_000 as Weight)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user