mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 09:21:04 +00:00
implement dispatch_as (#4075)
* support dispatch_as * add weight * Update Cargo.lock Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
This commit is contained in:
Generated
+168
-168
File diff suppressed because it is too large
Load Diff
@@ -934,6 +934,7 @@ impl pallet_identity::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>;
|
||||
}
|
||||
|
||||
|
||||
@@ -55,4 +55,7 @@ impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
|
||||
// Standard Error: 0
|
||||
.saturating_add((3_292_000 as Weight).saturating_mul(c as Weight))
|
||||
}
|
||||
fn dispatch_as() -> Weight {
|
||||
(14_340_000 as Weight)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -952,6 +952,7 @@ impl pallet_vesting::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>;
|
||||
}
|
||||
|
||||
|
||||
@@ -55,4 +55,7 @@ impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
|
||||
// Standard Error: 0
|
||||
.saturating_add((1_014_000 as Weight).saturating_mul(c as Weight))
|
||||
}
|
||||
fn dispatch_as() -> Weight {
|
||||
(14_340_000 as Weight)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1041,6 +1041,7 @@ impl validator_manager::Config for Runtime {
|
||||
impl pallet_utility::Config for Runtime {
|
||||
type Event = Event;
|
||||
type Call = Call;
|
||||
type PalletsOrigin = OriginCaller;
|
||||
type WeightInfo = ();
|
||||
}
|
||||
|
||||
|
||||
@@ -616,6 +616,7 @@ impl pallet_identity::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>;
|
||||
}
|
||||
|
||||
|
||||
@@ -55,4 +55,7 @@ impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
|
||||
// Standard Error: 0
|
||||
.saturating_add((3_091_000 as Weight).saturating_mul(c as Weight))
|
||||
}
|
||||
fn dispatch_as() -> Weight {
|
||||
(14_340_000 as Weight)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user