Skip to content

Commit

Permalink
adapt
Browse files Browse the repository at this point in the history
  • Loading branch information
girazoki committed Sep 11, 2024
1 parent 7a2eb74 commit 2a3d6fc
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,11 @@ describeSuite({

// Check the number of keys in storage
const palletKeys = await polkadotJs.rpc.state.getKeys("0x3fba98689ebed1138735e0e7a5a790ab");

// 5 keys: Version, RegisteredParas, PendingParas, PendingToRemove, PendingParathreadParams, BufferedParasToRegister
expect(palletKeys.length).to.be.eq(6);
// After one block BufferedParasToRegister should be cleaned
await context.createBlock();
// 5 keys: Version, RegisteredParas, PendingParas, PendingToRemove, PendingParathreadParams
expect(palletKeys.length).to.be.eq(5);

Expand Down

0 comments on commit 2a3d6fc

Please sign in to comment.