Skip to content

Commit

Permalink
add typedoc for TxOptions.common
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanio committed Sep 22, 2020
1 parent 9347ec9 commit b819f5d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/tx/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ import Common from '@ethereumjs/common'
* The options for initializing a Transaction.
*/
export interface TxOptions {
/**
* A Common object defining the chain and hardfork for the transaction.
*
* Default: `Common` object set to `mainnet` and the default hardfork as defined in the `Common` class.
*/
common?: Common
}

Expand Down

1 comment on commit b819f5d

@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: b819f5d Previous: 38dc920 Ratio
Block 9422905 1649 ops/sec (±2.86%) 1956 ops/sec (±6.85%) 1.19
Block 9422906 1583 ops/sec (±8.26%) 1960 ops/sec (±9.33%) 1.24
Block 9422907 1648 ops/sec (±1.63%) 2063 ops/sec (±2.23%) 1.25
Block 9422908 1662 ops/sec (±1.39%) 2010 ops/sec (±1.57%) 1.21
Block 9422909 1647 ops/sec (±1.49%) 1672 ops/sec (±12.10%) 1.02
Block 9422910 1550 ops/sec (±1.58%) 1975 ops/sec (±2.35%) 1.27
Block 9422911 1479 ops/sec (±2.08%) 2013 ops/sec (±2.31%) 1.36
Block 9422912 1147 ops/sec (±13.89%) 1944 ops/sec (±1.89%) 1.69
Block 9422913 1457 ops/sec (±2.07%) 1798 ops/sec (±2.55%) 1.23
Block 9422914 1461 ops/sec (±2.14%) 1939 ops/sec (±1.96%) 1.33

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

Please sign in to comment.