Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
thedavidmeister committed Jul 16, 2023
1 parent 2e2372a commit c783258
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/Interpreter/Ops/EVM/constantOps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ _: chain-id();`
expression0.dispatch,
[]
);
const id = await ethers.provider.getBlockNumber();
const id = (await ethers.provider.getNetwork()).chainId;
const result = await logic.stackTop();
assert(result.eq(id), `expected chain id ${id} got ${result}`);
});
Expand Down

0 comments on commit c783258

Please sign in to comment.