Skip to content

Commit

Permalink
rahul nit fix
Browse files Browse the repository at this point in the history
  • Loading branch information
benesjan committed Oct 12, 2023
1 parent 68e3fca commit 3d094d6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion yarn-project/archiver/src/archiver/archiver_store.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@ describe('Archiver Memory Store', () => {
.fill(0)
.map((_, index) => L2Block.random(index));
await archiverStore.addBlocks(blocks);
const retrievedBlocks = await archiverStore.getBlocks(-5, 1);
const from = -5;
const limit = 1;
const retrievedBlocks = await archiverStore.getBlocks(from, limit);
expect(retrievedBlocks.length).toEqual(1);
expect(retrievedBlocks[0]).toEqual(blocks[0]);
});
Expand Down

0 comments on commit 3d094d6

Please sign in to comment.