mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 21:01:02 +00:00
Migrate to Weight::from_parts (#6794)
* Migrate to from_parts Have a look at https://github.com/ggwpez/substrate-scripts/blob/master/migrate-from-parts.py Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Adapt to master Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * update lockfile for {"substrate"} --------- Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: parity-processbot <>
This commit is contained in:
committed by
GitHub
parent
c5637bda91
commit
177bedc160
@@ -79,63 +79,63 @@ pub trait WeightInfo {
|
||||
pub struct TestWeightInfo;
|
||||
impl WeightInfo for TestWeightInfo {
|
||||
fn send() -> Weight {
|
||||
Weight::from_ref_time(100_000_000)
|
||||
Weight::from_parts(100_000_000, 0)
|
||||
}
|
||||
|
||||
fn teleport_assets() -> Weight {
|
||||
Weight::from_ref_time(100_000_000)
|
||||
Weight::from_parts(100_000_000, 0)
|
||||
}
|
||||
|
||||
fn reserve_transfer_assets() -> Weight {
|
||||
Weight::from_ref_time(100_000_000)
|
||||
Weight::from_parts(100_000_000, 0)
|
||||
}
|
||||
|
||||
fn execute() -> Weight {
|
||||
Weight::from_ref_time(100_000_000)
|
||||
Weight::from_parts(100_000_000, 0)
|
||||
}
|
||||
|
||||
fn force_xcm_version() -> Weight {
|
||||
Weight::from_ref_time(100_000_000)
|
||||
Weight::from_parts(100_000_000, 0)
|
||||
}
|
||||
|
||||
fn force_default_xcm_version() -> Weight {
|
||||
Weight::from_ref_time(100_000_000)
|
||||
Weight::from_parts(100_000_000, 0)
|
||||
}
|
||||
|
||||
fn force_subscribe_version_notify() -> Weight {
|
||||
Weight::from_ref_time(100_000_000)
|
||||
Weight::from_parts(100_000_000, 0)
|
||||
}
|
||||
|
||||
fn force_unsubscribe_version_notify() -> Weight {
|
||||
Weight::from_ref_time(100_000_000)
|
||||
Weight::from_parts(100_000_000, 0)
|
||||
}
|
||||
|
||||
fn migrate_supported_version() -> Weight {
|
||||
Weight::from_ref_time(100_000_000)
|
||||
Weight::from_parts(100_000_000, 0)
|
||||
}
|
||||
|
||||
fn migrate_version_notifiers() -> Weight {
|
||||
Weight::from_ref_time(100_000_000)
|
||||
Weight::from_parts(100_000_000, 0)
|
||||
}
|
||||
|
||||
fn already_notified_target() -> Weight {
|
||||
Weight::from_ref_time(100_000_000)
|
||||
Weight::from_parts(100_000_000, 0)
|
||||
}
|
||||
|
||||
fn notify_current_targets() -> Weight {
|
||||
Weight::from_ref_time(100_000_000)
|
||||
Weight::from_parts(100_000_000, 0)
|
||||
}
|
||||
|
||||
fn notify_target_migration_fail() -> Weight {
|
||||
Weight::from_ref_time(100_000_000)
|
||||
Weight::from_parts(100_000_000, 0)
|
||||
}
|
||||
|
||||
fn migrate_version_notify_targets() -> Weight {
|
||||
Weight::from_ref_time(100_000_000)
|
||||
Weight::from_parts(100_000_000, 0)
|
||||
}
|
||||
|
||||
fn migrate_and_notify_old_targets() -> Weight {
|
||||
Weight::from_ref_time(100_000_000)
|
||||
Weight::from_parts(100_000_000, 0)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user