Skip to content

Commit

Permalink
disable a ts error
Browse files Browse the repository at this point in the history
  • Loading branch information
Muhammad-Altabba committed Feb 7, 2024
1 parent d2fb9d3 commit fc3d121
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/web3-eth/src/web3_eth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ export class Web3Eth extends Web3Context<Web3EthExecutionAPI, RegisteredSubscrip
typeof providerOrContext === 'string' ||
isSupportedProvider(providerOrContext as SupportedProviders<any>)
) {
// @ts-ignore disable the error: "A 'super' call must be a root-level statement within a constructor of a derived class that contains initialized properties, parameter properties, or private identifiers."
super({
provider: providerOrContext as SupportedProviders<any>,
registeredSubscriptions,
Expand Down

1 comment on commit fc3d121

@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: fc3d121 Previous: 6c075db Ratio
processingTx 9677 ops/sec (±3.78%) 9301 ops/sec (±4.81%) 0.96
processingContractDeploy 40767 ops/sec (±8.01%) 39129 ops/sec (±7.62%) 0.96
processingContractMethodSend 20133 ops/sec (±4.66%) 19443 ops/sec (±5.19%) 0.97
processingContractMethodCall 40312 ops/sec (±4.14%) 38971 ops/sec (±6.34%) 0.97
abiEncode 44452 ops/sec (±8.61%) 44252 ops/sec (±6.92%) 1.00
abiDecode 31673 ops/sec (±7.29%) 30419 ops/sec (±8.89%) 0.96
sign 1709 ops/sec (±0.88%) 1656 ops/sec (±4.08%) 0.97
verify 382 ops/sec (±0.65%) 373 ops/sec (±0.78%) 0.98

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

Please sign in to comment.