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/library/index.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,13 +2,13 @@
2
2
3
3
Execution spec tests consists of several packages that implement helper classes and tools that enable and simplify test case implementation. This section contains their reference documentation:
4
4
5
-
-[`ethereum_test_base_types`](./ethereum_test_base_types.md) - provides the basic types on top of which other testing libraries are built.
6
-
-[`ethereum_test_exceptions`](./ethereum_test_exceptions.md) - provides definitions for exceptions used in all tests.
7
-
-[`ethereum_test_fixtures`](./ethereum_test_fixtures.md) - provides definitions of all test fixture types that are produced in this repository and can be consumed by clients.
8
-
-[`ethereum_test_forks`](./ethereum_test_forks.md) - provides definitions for supported forks used in tests.
9
-
-[`ethereum_test_specs`](./ethereum_test_specs.md) - provides definitions for all spec types used to define test cases, and generate different kinds of test fixtures.
10
-
-[`ethereum_test_tools`](./ethereum_test_tools.md) - provides primitives and helpers to test Ethereum execution clients.
11
-
-[`ethereum_test_types`](./ethereum_test_types.md) - provides Ethereum types built on top of the base types which are used to define test cases and interact with other libraries.
12
-
-[`ethereum_test_vm`](./ethereum_test_vm.md) - provides definitions for the Ethereum Virtual Machine (EVM) as used to define bytecode in test cases.
13
-
-[`ethereum_clis`](./ethereum_clis.md) - a wrapper for the transition (`t8n`) tool.
5
+
-[`execution_testing.base_types`](./execution_testing_base_types.md) - provides the basic types on top of which other testing libraries are built.
6
+
-[`execution_testing.exceptions`](./execution_testing_exceptions.md) - provides definitions for exceptions used in all tests.
7
+
-[`execution_testing.fixtures`](./execution_testing_fixtures.md) - provides definitions of all test fixture types that are produced in this repository and can be consumed by clients.
8
+
-[`execution_testing.forks`](./execution_testing_forks.md) - provides definitions for supported forks used in tests.
9
+
-[`execution_testing.specs`](./execution_testing_specs.md) - provides definitions for all spec types used to define test cases, and generate different kinds of test fixtures.
10
+
-[`execution_testing.tools`](./execution_testing_tools.md) - provides primitives and helpers to test Ethereum execution clients.
11
+
-[`execution_testing.test_types`](./execution_testing_test_types.md) - provides Ethereum types built on top of the base types which are used to define test cases and interact with other libraries.
12
+
-[`execution_testing.vm`](./execution_testing_vm.md) - provides definitions for the Ethereum Virtual Machine (EVM) as used to define bytecode in test cases.
13
+
-[`execution_testing.client_clis`](./execution_testing_client_clis.md) - a wrapper for the transition (`t8n`) tool.
14
14
-[`pytest_plugins`](./pytest_plugins/index.md) - contains pytest customizations that provide additional functionality for generating test fixtures.
Copy file name to clipboardExpand all lines: docs/writing_tests/checklist_templates/eip_testing_checklist_template.md
+14-14Lines changed: 14 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -308,8 +308,8 @@ Opcode is used to attempt to recreate a contract that is currently mid-creation
308
308
309
309
### Framework Changes
310
310
311
-
- Add opcode to `src/ethereum_test_vm/opcode.py`
312
-
- Add opcode to relevant methods in the fork where the EIP is introduced in `src/ethereum_test_forks/forks/forks.py`
311
+
- Add opcode to `packages/testing/src/execution_testing/vm/opcode.py`
312
+
- Add opcode to relevant methods in the fork where the EIP is introduced in `packages/testing/src/execution_testing/forks/forks/forks.py`
313
313
314
314
## New Precompile
315
315
@@ -504,7 +504,7 @@ Verify the cold/warm state of the precompile address depending on the fork activ
504
504
505
505
### Framework Changes
506
506
507
-
- Add precompile address to relevant methods in the fork where the EIP is introduced in `src/ethereum_test_forks/forks/forks.py`
507
+
- Add precompile address to relevant methods in the fork where the EIP is introduced in `packages/testing/src/execution_testing/forks/forks/forks.py`
508
508
509
509
## Removed Precompile
510
510
@@ -533,7 +533,7 @@ Verify the cold/warm state of the precompile address depending on the fork activ
533
533
534
534
### Framework Changes
535
535
536
-
- Remove the precompile address from relevant methods in the fork where the EIP is removed in `src/ethereum_test_forks/forks/forks.py`
536
+
- Remove the precompile address from relevant methods in the fork where the EIP is removed in `packages/testing/src/execution_testing/forks/forks/forks.py`
537
537
538
538
## New System Contract
539
539
@@ -753,8 +753,8 @@ Verify calling the system contract before its activation fork results in correct
753
753
754
754
### Framework Changes
755
755
756
-
- Add system contract address to relevant methods in the fork where the EIP is introduced in `src/ethereum_test_forks/forks/forks.py`
757
-
- Add system contract bytecode to the returned value of `pre_allocation_blockchain` in the fork where the EIP is introduced in `src/ethereum_test_forks/forks/forks.py`
756
+
- Add system contract address to relevant methods in the fork where the EIP is introduced in `packages/testing/src/execution_testing/forks/forks/forks.py`
757
+
- Add system contract bytecode to the returned value of `pre_allocation_blockchain` in the fork where the EIP is introduced in `packages/testing/src/execution_testing/forks/forks/forks.py`
758
758
759
759
## New Transaction Type
760
760
@@ -1004,8 +1004,8 @@ Verify that a block prior to fork activation where the new transaction type is i
1004
1004
1005
1005
### Framework Changes
1006
1006
1007
-
- Modify `transaction_intrinsic_cost_calculator` in the fork where the EIP is introduced in `src/ethereum_test_forks/forks/forks.py`, adding the appropriate new fields that the transaction introduced and the logic to the intrinsic gas cost calculation, if any.
1008
-
- Add the transaction type number to `tx_types` response in the fork where the EIP is introduced in `src/ethereum_test_forks/forks/forks.py` (If applicable add also to `contract_creating_tx_types`).
1007
+
- Modify `transaction_intrinsic_cost_calculator` in the fork where the EIP is introduced in `packages/testing/src/execution_testing/forks/forks/forks.py`, adding the appropriate new fields that the transaction introduced and the logic to the intrinsic gas cost calculation, if any.
1008
+
- Add the transaction type number to `tx_types` response in the fork where the EIP is introduced in `packages/testing/src/execution_testing/forks/forks/forks.py` (If applicable add also to `contract_creating_tx_types`).
1009
1009
1010
1010
## New Block Header Field
1011
1011
@@ -1103,10 +1103,10 @@ Verify gas costs are updated at the fork transition boundary.
1103
1103
1104
1104
### Framework Changes
1105
1105
1106
-
- Modify `transaction_intrinsic_cost_calculator` in the fork where the EIP is introduced in `src/ethereum_test_forks/forks/forks.py` if the EIP affects intrinsic gas cost calculation.
1107
-
- Modify `transaction_data_floor_cost_calculator` in the fork where the EIP is introduced in `src/ethereum_test_forks/forks/forks.py` if the EIP affects calldata floor cost.
1108
-
- Modify `memory_expansion_gas_calculator` in the fork where the EIP is introduced in `src/ethereum_test_forks/forks/forks.py` if the EIP affects memory expansion gas cost calculation.
1109
-
- Modify `gas_costs` in the fork where the EIP is introduced in `src/ethereum_test_forks/forks/forks.py` if the EIP affects specific opcode gas costs.
1106
+
- Modify `transaction_intrinsic_cost_calculator` in the fork where the EIP is introduced in `packages/testing/src/execution_testing/forks/forks/forks.py` if the EIP affects intrinsic gas cost calculation.
1107
+
- Modify `transaction_data_floor_cost_calculator` in the fork where the EIP is introduced in `packages/testing/src/execution_testing/forks/forks/forks.py` if the EIP affects calldata floor cost.
1108
+
- Modify `memory_expansion_gas_calculator` in the fork where the EIP is introduced in `packages/testing/src/execution_testing/forks/forks/forks.py` if the EIP affects memory expansion gas cost calculation.
1109
+
- Modify `gas_costs` in the fork where the EIP is introduced in `packages/testing/src/execution_testing/forks/forks/forks.py` if the EIP affects specific opcode gas costs.
1110
1110
1111
1111
## Gas Refunds Changes
1112
1112
@@ -1162,7 +1162,7 @@ Verify tests in `tests/cancun/eip4844_blobs` were correctly and automatically up
1162
1162
1163
1163
### Framework Changes
1164
1164
1165
-
- Modify `blob_base_fee_update_fraction`, `target_blobs_per_block`, `max_blobs_per_block` in the fork where the EIP is introduced in `src/ethereum_test_forks/forks/forks.py` if the EIP affects any of the values returned by each function.
1165
+
- Modify `blob_base_fee_update_fraction`, `target_blobs_per_block`, `max_blobs_per_block` in the fork where the EIP is introduced in `packages/testing/src/execution_testing/forks/forks/forks.py` if the EIP affects any of the values returned by each function.
1166
1166
1167
1167
## New Execution Layer Request
1168
1168
@@ -1176,7 +1176,7 @@ Verify tests in `tests/cancun/eip4844_blobs` were correctly and automatically up
1176
1176
1177
1177
### Framework Changes
1178
1178
1179
-
- Increment `max_request_type` in the fork where the EIP is introduced in `src/ethereum_test_forks/forks/forks.py` to the new maximum request type number after the EIP is activated.
1179
+
- Increment `max_request_type` in the fork where the EIP is introduced in `packages/testing/src/execution_testing/forks/forks/forks.py` to the new maximum request type number after the EIP is activated.
0 commit comments