mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 12:17:58 +00:00
Deprecate Weight::from_{ref_time, proof_size} (#13475)
* Deprecate Weight::from_{ref_time, proof_size}
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
* Update templates
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
* Use from_parts
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
* Use from_parts
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
* Dont revert comment 🤦
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
* ".git/.scripts/commands/bench/bench.sh" pallet dev pallet_balances
* Update weight files
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
* More fixes
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
* Adapt to Master changes
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
---------
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: command-bot <>
This commit is contained in:
committed by
GitHub
parent
7981d4aa59
commit
9e56e1acdd
@@ -37,13 +37,13 @@ pub trait WeightInfo {
|
||||
}
|
||||
|
||||
impl WeightInfo for () {
|
||||
fn add_well_known_node() -> Weight { Weight::from_ref_time(50_000_000) }
|
||||
fn remove_well_known_node() -> Weight { Weight::from_ref_time(50_000_000) }
|
||||
fn swap_well_known_node() -> Weight { Weight::from_ref_time(50_000_000) }
|
||||
fn reset_well_known_nodes() -> Weight { Weight::from_ref_time(50_000_000) }
|
||||
fn claim_node() -> Weight { Weight::from_ref_time(50_000_000) }
|
||||
fn remove_claim() -> Weight { Weight::from_ref_time(50_000_000) }
|
||||
fn transfer_node() -> Weight { Weight::from_ref_time(50_000_000) }
|
||||
fn add_connections() -> Weight { Weight::from_ref_time(50_000_000) }
|
||||
fn remove_connections() -> Weight { Weight::from_ref_time(50_000_000) }
|
||||
fn add_well_known_node() -> Weight { Weight::from_parts(50_000_000, 0) }
|
||||
fn remove_well_known_node() -> Weight { Weight::from_parts(50_000_000, 0) }
|
||||
fn swap_well_known_node() -> Weight { Weight::from_parts(50_000_000, 0) }
|
||||
fn reset_well_known_nodes() -> Weight { Weight::from_parts(50_000_000, 0) }
|
||||
fn claim_node() -> Weight { Weight::from_parts(50_000_000, 0) }
|
||||
fn remove_claim() -> Weight { Weight::from_parts(50_000_000, 0) }
|
||||
fn transfer_node() -> Weight { Weight::from_parts(50_000_000, 0) }
|
||||
fn add_connections() -> Weight { Weight::from_parts(50_000_000, 0) }
|
||||
fn remove_connections() -> Weight { Weight::from_parts(50_000_000, 0) }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user