Skip to content

Commit 575eb8a

Browse files
spencer-tbmarioevzdanceratopz
authored
chore(ci): bump prague to stable and osaka to develop (#1573)
* chore: bump prague to stable and osaka to develop. * chore: update resolutions in github ci. * fix(types): Use ZeroPaddedHexNumber for block_hashes keys * chore: bump eels ref in github ci. * chore(ci): temp osaka eels res in config. * chore: temp fix for BLS timeouts. * chore: update eels in ci again. * chore: fix `test_types` framework test. * chore: bump eels ref in github ci again. * fix: Unit test response (eels includes invalid txs in trie root) * fix(clis/execution_specs): Update `TYPE_4_TX_PRE_FORK` * chore: more eels bumps. * is this the last commit? * no, but this really should be the last commit --------- Co-authored-by: Mario Vega <[email protected]> Co-authored-by: danceratopz <[email protected]>
1 parent dfdd433 commit 575eb8a

File tree

16 files changed

+35
-34
lines changed

16 files changed

+35
-34
lines changed

.github/configs/eels_resolutions.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,11 @@
3030
"path": "$GITHUB_WORKSPACE/execution-specs/"
3131
},
3232
"Prague": {
33-
"git_url": "https://github.com/ethereum/execution-specs.git",
34-
"branch": "devnets/prague/6"
33+
"path": "$GITHUB_WORKSPACE/execution-specs/"
34+
},
35+
"Osaka": {
36+
"git_url": "https://github.com/spencer-tb/execution-specs.git",
37+
"branch": "forks/osaka",
38+
"commit": "07699170182691533023fa5d83086258c3edcfd3"
3539
}
3640
}

.github/configs/feature.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
# Unless filling for special features, all features should fill for previous forks (starting from Frontier) too
22
stable:
33
evm-type: stable
4-
fill-params: --until=Cancun
4+
fill-params: --until=Prague
55
solc: 0.8.21
66
develop:
77
evm-type: develop
8-
fill-params: --until=Prague
8+
fill-params: --until=Osaka
99
solc: 0.8.21
1010
static:
1111
evm-type: static
12-
fill-params: --until=Prague --fill-static-tests ./tests/static
12+
fill-params: --until=Osaka --fill-static-tests ./tests/static
1313
solc: 0.8.21
1414
benchmark_1M:
1515
evm-type: benchmark

.github/workflows/tox_verify.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ jobs:
122122
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
123123
with:
124124
repository: ethereum/execution-specs
125-
ref: fa847a0e48309debee8edc510ceddb2fd5db2f2e
125+
ref: e13d33ab21ef1fdd2f073c96a3346e23eb7727f6
126126
path: execution-specs
127127
fetch-depth: 1
128128
- name: Install uv ${{ vars.UV_VERSION }} and python ${{ matrix.python }}
@@ -165,7 +165,7 @@ jobs:
165165
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
166166
with:
167167
repository: ethereum/execution-specs
168-
ref: fa847a0e48309debee8edc510ceddb2fd5db2f2e
168+
ref: e13d33ab21ef1fdd2f073c96a3346e23eb7727f6
169169
path: execution-specs
170170
fetch-depth: 1
171171
- name: Install uv ${{ vars.UV_VERSION }} and python ${{ matrix.python }}

docs/CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ Test fixtures for use by clients are available for each release on the [Github r
99
### 💥 Breaking Changes
1010

1111
- Python 3.10 support was removed in this release ([#1808](https://github.com/ethereum/execution-spec-tests/pull/1808)).
12+
- Tests for the Prague fork are now marked as stable will be included in the `fixtures_stable.tar.gz` tarball from now on.
13+
- Tests for the Osaka fork are now included in the `fixtures_develop.tar.gz` tarball.
1214

1315
#### 💥 Important Change for EEST developers
1416

@@ -111,7 +113,7 @@ Users can select any of the artifacts depending on their testing needs for their
111113
- 🔀 Move `TransactionType` enum from test file to proper module location in `ethereum_test_types.transaction_types` for better code organization and reusability ([#1763](https://github.com/ethereum/execution-spec-tests/pull/1673)).
112114
- ✨ Opcode classes now validate keyword arguments and raise `ValueError` with clear error messages ([#1739](https://github.com/ethereum/execution-spec-tests/pull/1739), [#1856](https://github.com/ethereum/execution-spec-tests/pull/1856)).
113115
- ✨ All commands (`fill`, `consume`, `execute`) now work without having to clone the repository, e.g. `uv run --with git+https://github.com/ethereum/execution-spec-tests.git consume` now works from any folder ([#1863](https://github.com/ethereum/execution-spec-tests/pull/1863)).
114-
- 🔀 Enforce a minimum version of `uv>=0.7.0` ([#1904](https://github.com/ethereum/execution-spec-tests/pull/1904)).
116+
- 🔀 Move Prague to stable and Osaka to develop ([#1573](https://github.com/ethereum/execution-spec-tests/pull/1573)).
115117

116118
### 🧪 Test Cases
117119

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,4 +172,4 @@ addopts = [
172172
required-version = ">=0.7.0"
173173

174174
[tool.uv.sources]
175-
ethereum-spec-evm-resolver = { git = "https://github.com/spencer-tb/ethereum-spec-evm-resolver", rev = "ee273e7344e24a739ebfbf0ea1f758530c4d032b" }
175+
ethereum-spec-evm-resolver = { git = "https://github.com/spencer-tb/ethereum-spec-evm-resolver", rev = "38d4d19d9bc9e2aea900aac5c4b511665c294322" }

src/config/docs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
class DocsConfig(BaseModel):
1212
"""A class for accessing documentation-related configurations."""
1313

14-
TARGET_FORK: str = "Prague"
14+
TARGET_FORK: str = "Osaka"
1515
"""The target fork for the documentation."""
1616

1717
GENERATE_UNTIL_FORK: str = "Osaka"

src/ethereum_clis/clis/execution_specs.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,9 @@ class ExecutionSpecsExceptionMapper(ExceptionMapper):
149149
TransactionException.TYPE_3_TX_PRE_FORK: (
150150
"module 'ethereum.shanghai.transactions' has no attribute 'BlobTransaction'"
151151
),
152-
TransactionException.TYPE_4_TX_PRE_FORK: "Unknown transaction type: 0x4",
152+
TransactionException.TYPE_4_TX_PRE_FORK: (
153+
"'ethereum.cancun.transactions' has no attribute 'SetCodeTransaction'"
154+
),
153155
TransactionException.TYPE_3_TX_INVALID_BLOB_VERSIONED_HASH: "d transaction: ",
154156
# This message is the same as TYPE_3_TX_MAX_BLOB_GAS_ALLOWANCE_EXCEEDED
155157
TransactionException.TYPE_3_TX_BLOB_COUNT_EXCEEDED: " transaction: ",

src/ethereum_clis/tests/fixtures/1/exp.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
},
2222
"result": {
2323
"stateRoot": "0x84208a19bc2b46ada7445180c1db162be5b39b9abc8c0a54b05d32943eae4e13",
24-
"txRoot": "0xc4761fd7b87ff2364c7c60b6c5c8d02e522e815328aaea3f20e3b7b7ef52c42d",
24+
"txRoot": "0xe9bd66ea8f932b2b610632074c8b2c10bd3a1de96365a31568b1c776d80779b8",
2525
"receiptsRoot": "0x056b23fbba480696b65fe5a59b8f2148a1299103c4f57df839233af2cf4ca2d2",
2626
"logsHash": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
2727
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",

src/ethereum_clis/transition_tool.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@
3535

3636
model_dump_config: Mapping = {"by_alias": True, "exclude_none": True}
3737

38-
NORMAL_SERVER_TIMEOUT = 20
38+
# TODO: reduce NORMAL_SERVER_TIMEOUT back down to 20 once BLS timeout issue is resolved:
39+
# https://github.com/ethereum/execution-spec-tests/issues/1894
40+
NORMAL_SERVER_TIMEOUT = 180
3941
SLOW_REQUEST_TIMEOUT = 180
4042

4143

src/ethereum_test_forks/forks/forks.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1151,14 +1151,6 @@ class Prague(Cancun):
11511151
"BLOB_BASE_FEE_UPDATE_FRACTION": 5007716,
11521152
}
11531153

1154-
@classmethod
1155-
def is_deployed(cls) -> bool:
1156-
"""
1157-
Flag that the fork has not been deployed to mainnet; it is under active
1158-
development.
1159-
"""
1160-
return False
1161-
11621154
@classmethod
11631155
def precompiles(cls, block_number: int = 0, timestamp: int = 0) -> List[Address]:
11641156
"""

0 commit comments

Comments
 (0)