Skip to content

Commit 3405f00

Browse files
committed
Rewrite new fork tool to modify blob parameters
1 parent 26c7daf commit 3405f00

File tree

13 files changed

+1058
-188
lines changed

13 files changed

+1058
-188
lines changed

pyproject.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,8 @@ packages = [
130130
"ethereum_spec_tools.evm_tools.loaders",
131131
"ethereum_spec_tools.lint",
132132
"ethereum_spec_tools.lint.lints",
133+
"ethereum_spec_tools.new_fork",
134+
"ethereum_spec_tools.new_fork.codemod",
133135
"ethereum",
134136
"ethereum.forks.frontier",
135137
"ethereum.forks.frontier.utils",
@@ -255,6 +257,7 @@ test = [
255257
"filelock>=3.15.1,<4",
256258
"requests",
257259
"requests-cache>=1.2.1,<2",
260+
"libcst>=1.8,<2",
258261
]
259262

260263
fill = [
@@ -294,6 +297,7 @@ lint = [
294297
]
295298
tools = [
296299
"platformdirs>=4.2,<5",
300+
"libcst>=1.8,<2",
297301
]
298302
doc = [
299303
"docc>=0.3.0,<0.4.0",
@@ -310,7 +314,7 @@ version = { attr = "ethereum.__version__" }
310314
[project.scripts]
311315
ethereum-spec-lint = "ethereum_spec_tools.lint:main"
312316
ethereum-spec-sync = "ethereum_spec_tools.sync:main"
313-
ethereum-spec-new-fork = "ethereum_spec_tools.new_fork:main"
317+
ethereum-spec-new-fork = "ethereum_spec_tools.new_fork.cli:main"
314318
ethereum-spec-patch = "ethereum_spec_tools.patch_tool:main"
315319
ethereum-spec-evm = "ethereum_spec_tools.evm_tools:main"
316320
check_eip_versions = "cli.pytest_commands.check_eip_versions:check_eip_versions"

src/ethereum_spec_tools/new_fork.py

Lines changed: 0 additions & 187 deletions
This file was deleted.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
"""
2+
Command-line tool for creating a new fork package (eg. `src/ethereum/osaka`)
3+
from an existing fork package.
4+
"""

0 commit comments

Comments
 (0)