Skip to content

Commit 4ccf7ba

Browse files
committed
fix
1 parent 0955bb9 commit 4ccf7ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/eth-rpc-adapter/src/__tests__/e2e/endpoint.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1941,7 +1941,7 @@ describe('endpoint', () => {
19411941
const bbb = (gasLimit.toNumber() % 100000) / 100;
19421942

19431943
const { gasLimit: gasLimitWithBlockTag } = await estimateGas(tx, 'latest');
1944-
expect(gasLimitWithBlockTag).to.equal(gasLimit);
1944+
expect(gasLimitWithBlockTag.toBigInt()).to.equal(gasLimit.toBigInt());
19451945

19461946
// should be passing gasLimit instead of usedGas
19471947
expect(bbb).to.gt(GAS_MONSTER_GAS_REQUIRED / 30000);

0 commit comments

Comments
 (0)