Skip to content

Commit 24d4368

Browse files
committed
chore: more package and source path fixes for package renaming
1 parent f5c6b05 commit 24d4368

File tree

14 files changed

+52
-52
lines changed

14 files changed

+52
-52
lines changed

docs/library/index.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
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:
44

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.
1414
- [`pytest_plugins`](./pytest_plugins/index.md) - contains pytest customizations that provide additional functionality for generating test fixtures.

docs/navigation.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,13 @@
7878
* [Changelog](CHANGELOG.md)
7979
* [Library Reference](library/index.md)
8080
* [EEST CLI Tools](library/cli/index.md)
81-
* [Ethereum Test Base Types Package](library/ethereum_test_base_types.md)
82-
* [Ethereum Test Exceptions Package](library/ethereum_test_exceptions.md)
83-
* [Ethereum Test Fixtures Package](library/ethereum_test_fixtures.md)
84-
* [Ethereum Test Forks Package](library/ethereum_test_forks.md)
85-
* [Ethereum Test Specs Package](library/ethereum_test_specs.md)
86-
* [Ethereum Test Tools Package](library/ethereum_test_tools.md)
87-
* [Ethereum Test Types Package](library/ethereum_test_types.md)
88-
* [Ethereum Test VM Package](library/ethereum_test_vm.md)
89-
* [Ethereum CLIs Package](library/ethereum_clis.md)
81+
* [Execution Testing Base Types Package](library/execution_testing_base_types.md)
82+
* [Execution Testing Exceptions Package](library/execution_testing_exceptions.md)
83+
* [Execution Testing Fixtures Package](library/execution_testing_fixtures.md)
84+
* [Execution Testing Forks Package](library/execution_testing_forks.md)
85+
* [Execution Testing Specs Package](library/execution_testing_specs.md)
86+
* [Execution Testing Tools Package](library/execution_testing_tools.md)
87+
* [Execution Testing Test Types Package](library/execution_testing_test_types.md)
88+
* [Execution Testing VM Package](library/execution_testing_vm.md)
89+
* [Execution Testing Client CLIs Package](library/execution_testing_client_clis.md)
9090
* [Pytest Plugins](library/pytest_plugins/index.md)

docs/running_tests/consume/exceptions.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Each client has unique error message formats. EEST maintains exception mappers t
1919

2020
Exception mappers are defined in the EEST codebase:
2121

22-
- `src/ethereum_clis/clis/<client>.py` (e.g., `geth.py`, `besu.py`, `nethermind.py`)
22+
- `packages/testing/src/execution_testing/client_clis/clis/<client>.py` (e.g., `geth.py`, `besu.py`, `nethermind.py`)
2323

2424
### Example Mapper Structure
2525

@@ -52,10 +52,10 @@ Unmapped exception from client 'go-ethereum': "block gas cost exceeds limit: hav
5252

5353
### 2. Update the Exception Mapper
5454

55-
Edit the client's exception mapper in `src/ethereum_clis/clis/<client>.py`:
55+
Edit the client's exception mapper in `packages/testing/src/execution_testing/client_clis/clis/<client>.py`:
5656

5757
```python
58-
# In src/ethereum_clis/clis/geth.py
58+
# In packages/testing/src/execution_testing/client_clis/clis/geth.py
5959
class GethCLI(TransitionTool):
6060
exception_map = {
6161
# Existing mappings...

docs/running_tests/test_formats/blockchain_test.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ Optional list of withdrawals included in the block RLP.
216216

217217
### `InvalidFixtureBlock`
218218

219-
#### - `expectException`: [`TransactionException`](../../library/ethereum_test_exceptions.md#ethereum_test_exceptions.TransactionException)` | `[`BlockException`](../../library/ethereum_test_exceptions.md#ethereum_test_exceptions.BlockException)
219+
#### - `expectException`: [`TransactionException`](../../library/execution_testing_exceptions.md#execution_testing.exceptions.TransactionException)` | `[`BlockException`](../../library/execution_testing_exceptions.md#execution_testing.exceptions.BlockException)
220220

221221
Expected exception that invalidates the block.
222222

docs/running_tests/test_formats/blockchain_test_engine.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ They can mismatch the hashes of the versioned blobs in the execution payload, fo
104104

105105
Hash of the parent beacon block root.
106106

107-
#### - `validationError`: [`TransactionException`](../../library/ethereum_test_exceptions.md#ethereum_test_exceptions.TransactionException)` | `[`BlockException`](../../library/ethereum_test_exceptions.md#ethereum_test_exceptions.BlockException)
107+
#### - `validationError`: [`TransactionException`](../../library/execution_testing_exceptions.md#execution_testing.exceptions.TransactionException)` | `[`BlockException`](../../library/execution_testing_exceptions.md#execution_testing.exceptions.BlockException)
108108

109109
Validation error expected when executing the payload.
110110

docs/running_tests/test_formats/blockchain_test_sync.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ List of hashes of the versioned blobs that are part of the execution payload.
127127

128128
Hash of the parent beacon block root.
129129

130-
#### - `validationError`: [`Optional`](./common_types.md#optional)`[`[`TransactionException`](../../library/ethereum_test_exceptions.md#ethereum_test_exceptions.TransactionException)` | `[`BlockException`](../../library/ethereum_test_exceptions.md#ethereum_test_exceptions.BlockException)`]`
130+
#### - `validationError`: [`Optional`](./common_types.md#optional)`[`[`TransactionException`](../../library/execution_testing_exceptions.md#execution_testing.exceptions.TransactionException)` | `[`BlockException`](../../library/execution_testing_exceptions.md#execution_testing.exceptions.BlockException)`]`
131131

132132
For sync tests, this field should not be present as sync tests only work with valid chains. Invalid blocks cannot be synced.
133133

docs/running_tests/test_formats/exceptions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ The JSON string can contain multiple exception types, separated by the `|`
1313
character, denoting that the transaction or block can throw either one of
1414
the exceptions.
1515

16-
For a list of all defined exceptions look at [Ethereum Test Exceptions Package](../../library/ethereum_test_exceptions.md).
16+
For a list of all defined exceptions look at [Execution Testing Exceptions Package](../../library/execution_testing_exceptions.md).

docs/running_tests/test_formats/state_test.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ Expected state root value that results of applying the transaction to the pre-st
179179
Hash of the RLP representation of the state logs result of applying the transaction to the pre-state
180180
(TODO: double-check this.)
181181

182-
#### - `expectException`: [`TransactionException`](../../library/ethereum_test_exceptions.md#ethereum_test_exceptions.TransactionException)
182+
#### - `expectException`: [`TransactionException`](../../library/execution_testing_exceptions.md#execution_testing.exceptions.TransactionException)
183183

184184
Exception that is expected to be thrown by the transaction execution (Field is missing if the transaction is expected to succeed)
185185

docs/running_tests/test_formats/transaction_test.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,6 @@ Total intrinsic gas cost of the transaction (Field is missing if the transaction
6262

6363
Sender address of the transaction (Field is missing if the transaction is expected to fail).
6464

65-
#### - `exception`: [`TransactionException`](../../library/ethereum_test_exceptions.md#ethereum_test_exceptions.TransactionException)
65+
#### - `exception`: [`TransactionException`](../../library/execution_testing_exceptions.md#execution_testing.exceptions.TransactionException)
6666

6767
Exception that is expected to be thrown by the transaction parsing (Field is missing if the transaction is expected to succeed).

docs/writing_tests/checklist_templates/eip_testing_checklist_template.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -308,8 +308,8 @@ Opcode is used to attempt to recreate a contract that is currently mid-creation
308308

309309
### Framework Changes
310310

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`
313313

314314
## New Precompile
315315

@@ -504,7 +504,7 @@ Verify the cold/warm state of the precompile address depending on the fork activ
504504

505505
### Framework Changes
506506

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`
508508

509509
## Removed Precompile
510510

@@ -533,7 +533,7 @@ Verify the cold/warm state of the precompile address depending on the fork activ
533533

534534
### Framework Changes
535535

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`
537537

538538
## New System Contract
539539

@@ -753,8 +753,8 @@ Verify calling the system contract before its activation fork results in correct
753753

754754
### Framework Changes
755755

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`
758758

759759
## New Transaction Type
760760

@@ -1004,8 +1004,8 @@ Verify that a block prior to fork activation where the new transaction type is i
10041004

10051005
### Framework Changes
10061006

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`).
10091009

10101010
## New Block Header Field
10111011

@@ -1103,10 +1103,10 @@ Verify gas costs are updated at the fork transition boundary.
11031103

11041104
### Framework Changes
11051105

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.
11101110

11111111
## Gas Refunds Changes
11121112

@@ -1162,7 +1162,7 @@ Verify tests in `tests/cancun/eip4844_blobs` were correctly and automatically up
11621162

11631163
### Framework Changes
11641164

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.
11661166

11671167
## New Execution Layer Request
11681168

@@ -1176,7 +1176,7 @@ Verify tests in `tests/cancun/eip4844_blobs` were correctly and automatically up
11761176

11771177
### Framework Changes
11781178

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.
11801180

11811181
## New Transaction-Validity Constraint
11821182

0 commit comments

Comments
 (0)