Skip to content

Commit

Permalink
chore: prune vstorage before reapAllVats
Browse files Browse the repository at this point in the history
  • Loading branch information
dckc committed Feb 3, 2025
1 parent d949b20 commit 85ddd5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/boot/test/fast-usdc/chain-impact.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -635,9 +635,9 @@ test.serial('iterate simulation several times', async t => {
});
// force GC and prune vstorage every 8 iterations
if (ix % 8 === 0) {
await doCoreEval('@agoric/fast-usdc/src/delete-completed-txs.js');
controller.reapAllVats();
await controller.run();
await doCoreEval('@agoric/fast-usdc/src/delete-completed-txs.js');
observations.push({
id: `post-prune-${ix}`,
...getResourceUsageStats(controller, storage.data),
Expand Down

0 comments on commit 85ddd5b

Please sign in to comment.