Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shunjizhan committed Dec 4, 2023
1 parent 0955bb9 commit 4ccf7ba
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1941,7 +1941,7 @@ describe('endpoint', () => {
const bbb = (gasLimit.toNumber() % 100000) / 100;

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

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

0 comments on commit 4ccf7ba

Please sign in to comment.