You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/consuming_tests/blockchain_test.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,8 +28,8 @@ For each [`Fixture`](#fixture) test object in the JSON fixture file, perform the
28
28
29
29
1. Determine whether the current block is valid or invalid:
30
30
31
-
1. If the [`expectException`](#expectexception-str) field is not present, it is valid, and object must be decoded as a [`FixtureBlock`](#fixtureblock).
32
-
2. If the [`expectException`](#expectexception-str) field is present, it is invalid, and object must be decoded as a [`InvalidFixtureBlock`](#invalidfixtureblock).
31
+
1. If the [`expectException`](#-expectexception-transactionexceptionblockexception) field is not present, it is valid, and object must be decoded as a [`FixtureBlock`](#fixtureblock).
32
+
2. If the [`expectException`](#-expectexception-transactionexceptionblockexception) field is present, it is invalid, and object must be decoded as a [`InvalidFixtureBlock`](#invalidfixtureblock).
33
33
34
34
2. Attempt to decode field [`rlp`](#-rlp-bytes) as the current block
35
35
1. If the block cannot be decoded:
@@ -192,7 +192,7 @@ Root hash of the parent beacon block.
192
192
193
193
#### - `rlp`: [`Bytes`](./common_types.md#bytes)
194
194
195
-
RLP serialized version of the block. Field is only optional when embedded in a [`InvalidFixtureBlock`](#invalidfixtureblock) as the [`rlp_decoded`](#rlp_decoded-optionalfixtureblock) field.
195
+
RLP serialized version of the block. Field is only optional when embedded in a [`InvalidFixtureBlock`](#invalidfixtureblock) as the [`rlp_decoded`](#-rlp_decoded-optionalfixtureblock) field.
Copy file name to clipboardExpand all lines: docs/consuming_tests/blockchain_test_engine.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,8 +36,8 @@ For each [`HiveFixture`](#hivefixture) test object in the JSON fixture file, per
36
36
2. If [`errorCode`](#-errorcode-optionalnumber) is present:
37
37
- Verify the directive returns an error, and the error code matches the one in [`errorCode`](#-errorcode-optionalnumber), otherwise fail the test.
38
38
- Proceed to the next payload.
39
-
3. If [`valid`](#-valid-bool) is `false`, verify that the directive returns `status` field of [PayloadStatusV1](https://github.com/ethereum/execution-apis/blob/main/src/engine/paris.md#payloadstatusv1) as `INVALID`, otherwise fail the test.
40
-
4. If [`valid`](#-valid-bool) is `true`, verify that the directive returns `status` field of [PayloadStatusV1](https://github.com/ethereum/execution-apis/blob/main/src/engine/paris.md#payloadstatusv1) as `VALID`, otherwise fail the test.
39
+
3. If `valid` is `false`, verify that the directive returns `status` field of [PayloadStatusV1](https://github.com/ethereum/execution-apis/blob/main/src/engine/paris.md#payloadstatusv1) as `INVALID`, otherwise fail the test.
40
+
4. If `valid` is `true`, verify that the directive returns `status` field of [PayloadStatusV1](https://github.com/ethereum/execution-apis/blob/main/src/engine/paris.md#payloadstatusv1) as `VALID`, otherwise fail the test.
Copy file name to clipboardExpand all lines: docs/consuming_tests/state_test.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ However tests generated by the `execution-spec-tests` repository do **not** use
20
20
21
21
## Consumption
22
22
23
-
For each [`Fixture`](#-fixture) test object in the JSON fixture file, perform the following steps:
23
+
For each [`Fixture`](#fixture) test object in the JSON fixture file, perform the following steps:
24
24
25
25
1. Use [`pre`](#-pre-alloc) as the starting state allocation of the execution environment for the test.
26
26
2. Use [`env`](#-env-fixtureenvironment) to configure the current execution environment.
@@ -32,10 +32,10 @@ For each [`Fixture`](#-fixture) test object in the JSON fixture file, perform th
32
32
4. Attempt to apply the transaction using the current execution environment:
33
33
34
34
1. If the transaction could not be applied to the current execution context:
35
-
- If [`expectException`](#-expectexception-str) is empty, fail the test.
36
-
- If [`expectException`](#-expectexception-str) is not empty, revert the state to the pre-state.
35
+
- If [`expectException`](#-expectexception-transactionexception) is empty, fail the test.
36
+
- If [`expectException`](#-expectexception-transactionexception) is not empty, revert the state to the pre-state.
37
37
2. If the transaction could be applied to the current execution context:
38
-
- If [`expectException`](#-expectexception-str) is not empty, fail the test.
38
+
- If [`expectException`](#-expectexception-transactionexception) is not empty, fail the test.
39
39
40
40
5. Compare the resulting post-state root with the expected post-state root contained in the [`hash`](#-hash-hash) field of the current [`FixtureForkPost`](#fixtureforkpost), and fail the test if they do not match.
41
41
6. Compare the resulting logs hash with the expected logs contained in the [`logs`](#-logs-hash) field of the current [`FixtureForkPost`](#fixtureforkpost), and fail the test if they do not match.
Copy file name to clipboardExpand all lines: docs/filling_tests/filling_tests_vs_code.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ Implemented test cases can be explored in VS Code's "Testing" View; click on the
11
11
</figure>
12
12
13
13
!!! note "Testing EVM Features Under Active Development"
14
-
See [the VS Code section](./filling_tests_dev_fork.md#executing-tests-for-features-under-development) in [Filling Tests for Features under Development](./filling_tests_dev_fork.md) to explore tests targeting EVM features under development.
14
+
See [the VS Code section](./filling_tests_dev_fork.md#vs-code-setup) in [Filling Tests for Features under Development](./filling_tests_dev_fork.md) to explore tests targeting EVM features under development.
2. [Execute tests for features under development](./filling_tests_dev_fork.md) via the `--fork` flag.
56
-
3. _Optional:_ [Configure VS Code](../getting_started/setup_vs_code.md) to auto-format Python code and [execute tests within VS Code](./filling_tests_vs_code.md#executing-and-debugging-test-cases).
56
+
3. _Optional:_ [Configure VS Code](../getting_started/setup_vs_code.md) to auto-format Python code and [execute tests within VS Code](./filling_tests_vs_code.md#filling-and-debugging-test-cases).
57
57
4. Implement a new test case, see [Writing Tests](../writing_tests/index.md).
0 commit comments