Skip to content

Commit

Permalink
Fix Link to SocketConstructorOpts Type (#7363)
Browse files Browse the repository at this point in the history
  • Loading branch information
danforbes authored Oct 30, 2024
1 parent 69d83e7 commit 95b4bab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/guides/02_web3_providers_guide/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ await web3.eth.getBlockNumber();

#### Configuring IPC Providers

The [`IpcProvider` constructor](/api/web3-providers-ipc/class/IpcProvider#constructor) accepts two optional parameters that can be used to configure the behavior of the `IpcProvider`: the first parameter must be of type [`SocketConstructorOpts`](https://microsoft.github.io/PowerBI-JavaScript/interfaces/_node_modules__types_node_net_d_._net_.socketconstructoropts.html) and the second parameter must be of type [`ReconnectOptions`](/api/web3/namespace/utils#ReconnectOptions).
The [`IpcProvider` constructor](/api/web3-providers-ipc/class/IpcProvider#constructor) accepts two optional parameters that can be used to configure the behavior of the `IpcProvider`: the first parameter must be of type [`SocketConstructorOpts`](https://docs.deno.com/api/node/net/~/SocketConstructorOpts) and the second parameter must be of type [`ReconnectOptions`](/api/web3/namespace/utils#ReconnectOptions).

```ts title='Configuring an IPC Provider'
// include both optional parameters
Expand Down

1 comment on commit 95b4bab

@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: 95b4bab Previous: 69d83e7 Ratio
processingTx 21855 ops/sec (±6.97%) 22353 ops/sec (±7.82%) 1.02
processingContractDeploy 39254 ops/sec (±7.93%) 37636 ops/sec (±7.55%) 0.96
processingContractMethodSend 15819 ops/sec (±7.30%) 15415 ops/sec (±6.99%) 0.97
processingContractMethodCall 27336 ops/sec (±7.42%) 28129 ops/sec (±6.61%) 1.03
abiEncode 44297 ops/sec (±7.25%) 42413 ops/sec (±7.80%) 0.96
abiDecode 30746 ops/sec (±6.13%) 30494 ops/sec (±7.44%) 0.99
sign 1531 ops/sec (±0.76%) 1487 ops/sec (±3.26%) 0.97
verify 358 ops/sec (±0.58%) 364 ops/sec (±0.46%) 1.02

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

Please sign in to comment.