Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Prev Previous commit
Next Next commit
Apply suggestions
  • Loading branch information
pmikolajczyk41 committed Jan 24, 2022
commit fce3ecbc6801464634c0a69cd6065bd97d3f46f0
3 changes: 2 additions & 1 deletion frame/contracts/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1555,10 +1555,11 @@ fn lazy_batch_removal_works() {

tries.push(trie.clone())
}

// Run single lazy removal
Contracts::on_initialize(Weight::max_value());

// Value should be gone now
// The single lazy removal should have removed all queued tries
for trie in tries.iter() {
assert_matches!(child::get::<i32>(trie, &[99]), None);
}
Expand Down