mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 09:21:04 +00:00
Companion for Substrate 6868 (WeightInfo for System, Utility, and Timestamp) (#1606)
* fix compile warning * remove tests for weights * add custom weights * "Update Substrate" Co-authored-by: parity-processbot <>
This commit is contained in:
@@ -148,7 +148,7 @@ impl frame_system::Trait for Runtime {
|
||||
type AccountData = pallet_balances::AccountData<Balance>;
|
||||
type OnNewAccount = ();
|
||||
type OnKilledAccount = ();
|
||||
type SystemWeightInfo = ();
|
||||
type SystemWeightInfo = weights::frame_system::WeightInfo;
|
||||
}
|
||||
|
||||
impl pallet_scheduler::Trait for Runtime {
|
||||
@@ -241,7 +241,7 @@ impl pallet_timestamp::Trait for Runtime {
|
||||
type Moment = u64;
|
||||
type OnTimestampSet = Babe;
|
||||
type MinimumPeriod = MinimumPeriod;
|
||||
type WeightInfo = ();
|
||||
type WeightInfo = weights::pallet_timestamp::WeightInfo;
|
||||
}
|
||||
|
||||
parameter_types! {
|
||||
@@ -668,7 +668,7 @@ impl pallet_identity::Trait for Runtime {
|
||||
impl pallet_utility::Trait for Runtime {
|
||||
type Event = Event;
|
||||
type Call = Call;
|
||||
type WeightInfo = ();
|
||||
type WeightInfo = weights::pallet_utility::WeightInfo;
|
||||
}
|
||||
|
||||
parameter_types! {
|
||||
|
||||
Reference in New Issue
Block a user