Skip to content

Commit

Permalink
Doc changes
Browse files Browse the repository at this point in the history
  • Loading branch information
acolytec3 committed Jul 28, 2023
1 parent d2f687e commit f9dc005
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions packages/block/docs/classes/Block.md
Original file line number Diff line number Diff line change
Expand Up @@ -344,9 +344,9 @@ ___

**validateBlobTransactions**(`parentHeader`): `void`

Validates that data gas fee for each transaction is greater than or equal to the
dataGasPrice for the block and that total data gas in block is less than maximum
data gas per block
Validates that blob gas fee for each transaction is greater than or equal to the
dataGasPrice for the block and that total blob gas in block is less than maximum
blob gas per block

#### Parameters

Expand Down
10 changes: 5 additions & 5 deletions packages/block/docs/classes/BlockHeader.md
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ EIP-4399: After merge to PoS, `mixHash` supplanted as `prevRandao`

**calcDataFee**(`numBlobs`): `bigint`

Returns the total fee for data gas spent for including blobs in block.
Returns the total fee for blob gas spent for including blobs in block.

#### Parameters

Expand All @@ -331,7 +331,7 @@ Returns the total fee for data gas spent for including blobs in block.

`bigint`

the total data gas fee for numBlobs blobs
the total blob gas fee for numBlobs blobs

#### Defined in

Expand Down Expand Up @@ -359,7 +359,7 @@ ___

**calcNextExcessDataGas**(): `bigint`

Calculates the excess data gas for next (hopefully) post EIP 4844 block.
Calculates the excess blob gas for next (hopefully) post EIP 4844 block.

#### Returns

Expand Down Expand Up @@ -542,13 +542,13 @@ ___

**getDataGasPrice**(): `bigint`

Returns the price per unit of data gas for a blob transaction in the current/pending block
Returns the price per unit of blob gas for a blob transaction in the current/pending block

#### Returns

`bigint`

the price in gwei per unit of data gas spent
the price in gwei per unit of blob gas spent

#### Defined in

Expand Down
2 changes: 1 addition & 1 deletion packages/tx/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ Hardforks adding features and/or tx types:
| Hardfork | Introduced | Description |
| ---------------- | ---------- | ------------------------------------------------------------------------------------------------------- |
| `spuriousDragon` |  `v2.0.0` |  `EIP-155` replay protection (disable by setting HF pre-`spuriousDragon`) |
| `istanbul` |  `v2.1.1`  | Support for reduced non-zero call data gas prices ([EIP-2028](https://eips.ethereum.org/EIPS/eip-2028)) |
| `istanbul` |  `v2.1.1`  | Support for reduced non-zero call blob gas prices ([EIP-2028](https://eips.ethereum.org/EIPS/eip-2028)) |
| `muirGlacier` |  `v2.1.2` |  - |
| `berlin` | `v3.1.0` |  `EIP-2718` Typed Transactions, Optional Access Lists Tx Type `EIP-2930` |
| `london` | `v3.2.0` | `EIP-1559` Transactions |
Expand Down
2 changes: 1 addition & 1 deletion packages/tx/docs/interfaces/BlobEIP4844TxData.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ ___

`Optional` **maxFeePerDataGas**: `BigIntLike`

The maximum fee per data gas paid for the transaction
The maximum fee per blob gas paid for the transaction

#### Defined in

Expand Down

0 comments on commit f9dc005

Please sign in to comment.