Skip to content

Commit

Permalink
update gas tests (#7074)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex authored Jun 4, 2024
1 parent a7d67c6 commit 1b1049d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/web3/test/e2e/estimate_gas.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,9 @@ describe(`${getSystemTestBackend()} tests - estimateGas`, () => {
break;
case 'NUMBER_BIGINT':
// eslint-disable-next-line jest/no-conditional-expect
expect(result).toBe(BigInt(expectedGasEstimate));
expect(typeof result).toBe('bigint');
// eslint-disable-next-line jest/no-conditional-expect
expect(result.toString()).toBe(expectedGasEstimate.toString());
break;
default:
throw new Error('Unhandled format');
Expand Down

1 comment on commit 1b1049d

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Benchmark suite Current: 1b1049d Previous: a7d67c6 Ratio
processingTx 9151 ops/sec (±3.87%) 9004 ops/sec (±4.26%) 0.98
processingContractDeploy 38199 ops/sec (±8.00%) 38832 ops/sec (±7.40%) 1.02
processingContractMethodSend 18831 ops/sec (±7.05%) 18670 ops/sec (±7.23%) 0.99
processingContractMethodCall 37775 ops/sec (±5.08%) 37139 ops/sec (±5.60%) 0.98
abiEncode 43128 ops/sec (±7.05%) 43522 ops/sec (±6.91%) 1.01
abiDecode 30542 ops/sec (±6.35%) 29115 ops/sec (±7.30%) 0.95
sign 1512 ops/sec (±3.92%) 1597 ops/sec (±0.97%) 1.06
verify 367 ops/sec (±0.55%) 369 ops/sec (±0.66%) 1.01

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.