get rid of obsolete weight functions (#1926)

This commit is contained in:
Svyatoslav Nikolsky
2023-03-02 11:21:10 +03:00
committed by Bastian Köcher
parent 50d92eb8de
commit 3a145e5844
14 changed files with 99 additions and 93 deletions
@@ -723,7 +723,7 @@ pub(crate) mod tests {
(
nonce,
MessageDetails {
dispatch_weight: Weight::from_ref_time(1),
dispatch_weight: Weight::from_parts(1, 0),
size: 1,
reward: 1,
},
@@ -949,7 +949,7 @@ pub(crate) mod tests {
max_unrewarded_relayer_entries_at_target: 4,
max_unconfirmed_nonces_at_target: 4,
max_messages_in_single_batch: 4,
max_messages_weight_in_single_batch: Weight::from_ref_time(4),
max_messages_weight_in_single_batch: Weight::from_parts(4, 0),
max_messages_size_in_single_batch: 4,
},
},