Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/consuming_tests/blockchain_test.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@ Hash of the last valid block, or the genesis block hash if the list of blocks is

Account allocation for verification after all the blocks have been processed.

#### - `blobSchedule`: [`BlobSchedule`](./common_types.md#blobschedule-mappingforkforkblobschedule)

Optional; present from Cancun on. Maps forks to their blob schedule configurations as defined by [EIP-7840](https://eips.ethereum.org/EIPS/eip-7840).

#### - `sealEngine`: `str`

Deprecated: Seal engine used to mine the blocks.
Expand Down
8 changes: 8 additions & 0 deletions docs/consuming_tests/blockchain_test_engine.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,18 @@ Version of the `engine_forkchoiceUpdatedVX` directive to use to set the head of

Starting account allocation for the test. State root calculated from this allocation must match the one in the genesis block.

#### - `lastblockhash`: [`Hash`](./common_types.md#hash)

Hash of the last valid block, or the genesis block hash if the list of blocks is empty, or contains a single invalid block.

#### - `post`: [`Alloc`](./common_types.md#alloc-mappingaddressaccount)

Account allocation for verification after all the blocks have been processed.

#### - `blobSchedule`: [`BlobSchedule`](./common_types.md#blobschedule-mappingforkforkblobschedule)

Optional; present from Cancun on. Maps forks to their blob schedule configurations as defined by [EIP-7840](https://eips.ethereum.org/EIPS/eip-7840).

### `FixtureEngineNewPayload`

#### - `executionPayload`: [`FixtureExecutionPayload`](#fixtureexecutionpayload)
Expand Down
20 changes: 20 additions & 0 deletions docs/consuming_tests/common_types.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,26 @@ Storage of the account.

State allocation represented as a JSON object, where the keys are the addresses of the accounts, and the values are the accounts.

### `BlobSchedule`: [`Mapping`](#mapping)`[`[`Fork`](#fork)`,`[`ForkBlobSchedule`](#forkblobschedule)`]`

Maps forks to blob schedule configurations as defined by [EIP-7840](https://eips.ethereum.org/EIPS/eip-7840).

### `ForkBlobSchedule`

A fork blob schedule as defined by [EIP-7840](https://eips.ethereum.org/EIPS/eip-7840) as a JSON dictionary with the following entries:

#### - `target`: [`ZeroPaddedHexNumber`](#zeropaddedhexnumber)

The target blob count for a block.

#### - `max`: [`ZeroPaddedHexNumber`](#zeropaddedhexnumber)

The maximum possible blob count for a block.

#### - `base_fee_update_fraction`: [`ZeroPaddedHexNumber`](#zeropaddedhexnumber)

The blob base fee update fraction (adjusts the responsiveness of blob gas pricing per fork).

## Fork

Fork type is represented as a JSON string that can be set to one of the following values:
Expand Down
4 changes: 4 additions & 0 deletions docs/consuming_tests/state_test.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ Transaction to be executed.

Mapping of lists of post for verification per fork, where each element represents a single possible outcome of the transaction execution after being applied to the `pre`.

#### - `blobSchedule`: [`BlobSchedule`](./common_types.md#blobschedule-mappingforkforkblobschedule)

Optional; present from Cancun on. Maps forks to their blob schedule configurations as defined by [EIP-7840](https://eips.ethereum.org/EIPS/eip-7840).

### `FixtureEnvironment`

#### - `currentCoinbase`: [`Address`](./common_types.md#address)
Expand Down
Loading