Skip to content

Commit

Permalink
updated stale filter definition
Browse files Browse the repository at this point in the history
  • Loading branch information
benesjan committed Oct 9, 2023
1 parent 1234514 commit c32f243
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions yarn-project/end-to-end/src/e2e_nested_contract.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,9 @@ describe('e2e_nested_contract', () => {
];

const tx = await new BatchCall(wallet, actions).send().wait();
const filter = {
const extendedLogs = await wallet.getUnencryptedLogs({
fromBlock: tx.blockNumber!,
limit: 2, // 2 logs expected
};
const extendedLogs = await wallet.getUnencryptedLogs(filter);
});
const processedLogs = extendedLogs.map(extendedLog => toBigIntBE(extendedLog.log.data));
expect(processedLogs).toEqual([20n, 40n]);
expect(await getChildStoredValue(childContract)).toEqual(40n);
Expand Down

0 comments on commit c32f243

Please sign in to comment.