mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 19:11:02 +00:00
weights v1.5: iteration 2 (#1613)
This commit is contained in:
committed by
Bastian Köcher
parent
829b23c7cf
commit
e97bb57564
@@ -748,7 +748,7 @@ mod tests {
|
||||
let db_weight = <TestRuntime as frame_system::Config>::DbWeight::get();
|
||||
WeightInfoOf::<TestRuntime, ()>::submit_parachain_heads_weight(db_weight, proof, 1)
|
||||
.saturating_sub(if prune_expected {
|
||||
Weight::from_ref_time(0)
|
||||
Weight::zero()
|
||||
} else {
|
||||
WeightInfoOf::<TestRuntime, ()>::parachain_head_pruning_weight(db_weight)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user