From 92afbe5a70f494b1a66d5a2e2f408ded377b003b Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 30 Dec 2025 16:01:34 +0000 Subject: [PATCH] docs: fix grammar in src/ethereum/forks/*/vm/instructions/system.py Add missing articles in CREATE2 docstring: - "CREATE opcode" -> "the CREATE opcode" - "new account" -> "the new account" Updated 18 files across all forks that have CREATE2 (Constantinople+). --- repo_subpaths_for_grammar_check.md | 2 +- src/ethereum/forks/amsterdam/vm/instructions/system.py | 4 ++-- src/ethereum/forks/arrow_glacier/vm/instructions/system.py | 4 ++-- src/ethereum/forks/berlin/vm/instructions/system.py | 4 ++-- src/ethereum/forks/bpo1/vm/instructions/system.py | 4 ++-- src/ethereum/forks/bpo2/vm/instructions/system.py | 4 ++-- src/ethereum/forks/bpo3/vm/instructions/system.py | 4 ++-- src/ethereum/forks/bpo4/vm/instructions/system.py | 4 ++-- src/ethereum/forks/bpo5/vm/instructions/system.py | 4 ++-- src/ethereum/forks/cancun/vm/instructions/system.py | 4 ++-- src/ethereum/forks/constantinople/vm/instructions/system.py | 4 ++-- src/ethereum/forks/gray_glacier/vm/instructions/system.py | 4 ++-- src/ethereum/forks/istanbul/vm/instructions/system.py | 4 ++-- src/ethereum/forks/london/vm/instructions/system.py | 4 ++-- src/ethereum/forks/muir_glacier/vm/instructions/system.py | 4 ++-- src/ethereum/forks/osaka/vm/instructions/system.py | 4 ++-- src/ethereum/forks/paris/vm/instructions/system.py | 4 ++-- src/ethereum/forks/prague/vm/instructions/system.py | 4 ++-- src/ethereum/forks/shanghai/vm/instructions/system.py | 4 ++-- 19 files changed, 37 insertions(+), 37 deletions(-) diff --git a/repo_subpaths_for_grammar_check.md b/repo_subpaths_for_grammar_check.md index af98174492..e81305fce6 100644 --- a/repo_subpaths_for_grammar_check.md +++ b/repo_subpaths_for_grammar_check.md @@ -9,7 +9,7 @@ Status legend: `[ ]` pending, `[~]` in progress, `[x]` complete - [x] `src/ethereum/forks/*/vm/instructions/arithmetic.py`, `comparison.py`, `bitwise.py` (~72 files) - [x] `src/ethereum/forks/*/vm/instructions/block.py`, `environment.py`, `control_flow.py` (~72 files) - [x] `src/ethereum/forks/*/vm/instructions/keccak.py`, `log.py`, `memory.py`, `stack.py` (~96 files) -- [ ] `src/ethereum/forks/*/vm/instructions/storage.py`, `system.py`, `__init__.py` (~72 files) +- [x] `src/ethereum/forks/*/vm/instructions/storage.py`, `system.py`, `__init__.py` (~72 files) ## src/ethereum/forks - VM Core diff --git a/src/ethereum/forks/amsterdam/vm/instructions/system.py b/src/ethereum/forks/amsterdam/vm/instructions/system.py index fea7a0c1b9..44c36ae000 100644 --- a/src/ethereum/forks/amsterdam/vm/instructions/system.py +++ b/src/ethereum/forks/amsterdam/vm/instructions/system.py @@ -193,8 +193,8 @@ def create2(evm: Evm) -> None: """ Creates a new account with associated code. - It's similar to CREATE opcode except that the address of new account - depends on the init_code instead of the nonce of sender. + It's similar to the CREATE opcode except that the address of the new + account depends on the init_code instead of the nonce of sender. Parameters ---------- diff --git a/src/ethereum/forks/arrow_glacier/vm/instructions/system.py b/src/ethereum/forks/arrow_glacier/vm/instructions/system.py index 2ef31f9595..44ba77a073 100644 --- a/src/ethereum/forks/arrow_glacier/vm/instructions/system.py +++ b/src/ethereum/forks/arrow_glacier/vm/instructions/system.py @@ -179,8 +179,8 @@ def create2(evm: Evm) -> None: """ Creates a new account with associated code. - It's similar to CREATE opcode except that the address of new account - depends on the init_code instead of the nonce of sender. + It's similar to the CREATE opcode except that the address of the new + account depends on the init_code instead of the nonce of sender. Parameters ---------- diff --git a/src/ethereum/forks/berlin/vm/instructions/system.py b/src/ethereum/forks/berlin/vm/instructions/system.py index 3b915e29ce..afd813e3fa 100644 --- a/src/ethereum/forks/berlin/vm/instructions/system.py +++ b/src/ethereum/forks/berlin/vm/instructions/system.py @@ -180,8 +180,8 @@ def create2(evm: Evm) -> None: """ Creates a new account with associated code. - It's similar to CREATE opcode except that the address of new account - depends on the init_code instead of the nonce of sender. + It's similar to the CREATE opcode except that the address of the new + account depends on the init_code instead of the nonce of sender. Parameters ---------- diff --git a/src/ethereum/forks/bpo1/vm/instructions/system.py b/src/ethereum/forks/bpo1/vm/instructions/system.py index fea7a0c1b9..44c36ae000 100644 --- a/src/ethereum/forks/bpo1/vm/instructions/system.py +++ b/src/ethereum/forks/bpo1/vm/instructions/system.py @@ -193,8 +193,8 @@ def create2(evm: Evm) -> None: """ Creates a new account with associated code. - It's similar to CREATE opcode except that the address of new account - depends on the init_code instead of the nonce of sender. + It's similar to the CREATE opcode except that the address of the new + account depends on the init_code instead of the nonce of sender. Parameters ---------- diff --git a/src/ethereum/forks/bpo2/vm/instructions/system.py b/src/ethereum/forks/bpo2/vm/instructions/system.py index fea7a0c1b9..44c36ae000 100644 --- a/src/ethereum/forks/bpo2/vm/instructions/system.py +++ b/src/ethereum/forks/bpo2/vm/instructions/system.py @@ -193,8 +193,8 @@ def create2(evm: Evm) -> None: """ Creates a new account with associated code. - It's similar to CREATE opcode except that the address of new account - depends on the init_code instead of the nonce of sender. + It's similar to the CREATE opcode except that the address of the new + account depends on the init_code instead of the nonce of sender. Parameters ---------- diff --git a/src/ethereum/forks/bpo3/vm/instructions/system.py b/src/ethereum/forks/bpo3/vm/instructions/system.py index fea7a0c1b9..44c36ae000 100644 --- a/src/ethereum/forks/bpo3/vm/instructions/system.py +++ b/src/ethereum/forks/bpo3/vm/instructions/system.py @@ -193,8 +193,8 @@ def create2(evm: Evm) -> None: """ Creates a new account with associated code. - It's similar to CREATE opcode except that the address of new account - depends on the init_code instead of the nonce of sender. + It's similar to the CREATE opcode except that the address of the new + account depends on the init_code instead of the nonce of sender. Parameters ---------- diff --git a/src/ethereum/forks/bpo4/vm/instructions/system.py b/src/ethereum/forks/bpo4/vm/instructions/system.py index fea7a0c1b9..44c36ae000 100644 --- a/src/ethereum/forks/bpo4/vm/instructions/system.py +++ b/src/ethereum/forks/bpo4/vm/instructions/system.py @@ -193,8 +193,8 @@ def create2(evm: Evm) -> None: """ Creates a new account with associated code. - It's similar to CREATE opcode except that the address of new account - depends on the init_code instead of the nonce of sender. + It's similar to the CREATE opcode except that the address of the new + account depends on the init_code instead of the nonce of sender. Parameters ---------- diff --git a/src/ethereum/forks/bpo5/vm/instructions/system.py b/src/ethereum/forks/bpo5/vm/instructions/system.py index fea7a0c1b9..44c36ae000 100644 --- a/src/ethereum/forks/bpo5/vm/instructions/system.py +++ b/src/ethereum/forks/bpo5/vm/instructions/system.py @@ -193,8 +193,8 @@ def create2(evm: Evm) -> None: """ Creates a new account with associated code. - It's similar to CREATE opcode except that the address of new account - depends on the init_code instead of the nonce of sender. + It's similar to the CREATE opcode except that the address of the new + account depends on the init_code instead of the nonce of sender. Parameters ---------- diff --git a/src/ethereum/forks/cancun/vm/instructions/system.py b/src/ethereum/forks/cancun/vm/instructions/system.py index 89b3b6cfda..ca462164d2 100644 --- a/src/ethereum/forks/cancun/vm/instructions/system.py +++ b/src/ethereum/forks/cancun/vm/instructions/system.py @@ -191,8 +191,8 @@ def create2(evm: Evm) -> None: """ Creates a new account with associated code. - It's similar to CREATE opcode except that the address of new account - depends on the init_code instead of the nonce of sender. + It's similar to the CREATE opcode except that the address of the new + account depends on the init_code instead of the nonce of sender. Parameters ---------- diff --git a/src/ethereum/forks/constantinople/vm/instructions/system.py b/src/ethereum/forks/constantinople/vm/instructions/system.py index fadd963417..af2527d31c 100644 --- a/src/ethereum/forks/constantinople/vm/instructions/system.py +++ b/src/ethereum/forks/constantinople/vm/instructions/system.py @@ -179,8 +179,8 @@ def create2(evm: Evm) -> None: """ Creates a new account with associated code. - It's similar to CREATE opcode except that the address of new account - depends on the init_code instead of the nonce of sender. + It's similar to the CREATE opcode except that the address of the new + account depends on the init_code instead of the nonce of sender. Parameters ---------- diff --git a/src/ethereum/forks/gray_glacier/vm/instructions/system.py b/src/ethereum/forks/gray_glacier/vm/instructions/system.py index 2ef31f9595..44ba77a073 100644 --- a/src/ethereum/forks/gray_glacier/vm/instructions/system.py +++ b/src/ethereum/forks/gray_glacier/vm/instructions/system.py @@ -179,8 +179,8 @@ def create2(evm: Evm) -> None: """ Creates a new account with associated code. - It's similar to CREATE opcode except that the address of new account - depends on the init_code instead of the nonce of sender. + It's similar to the CREATE opcode except that the address of the new + account depends on the init_code instead of the nonce of sender. Parameters ---------- diff --git a/src/ethereum/forks/istanbul/vm/instructions/system.py b/src/ethereum/forks/istanbul/vm/instructions/system.py index fadd963417..af2527d31c 100644 --- a/src/ethereum/forks/istanbul/vm/instructions/system.py +++ b/src/ethereum/forks/istanbul/vm/instructions/system.py @@ -179,8 +179,8 @@ def create2(evm: Evm) -> None: """ Creates a new account with associated code. - It's similar to CREATE opcode except that the address of new account - depends on the init_code instead of the nonce of sender. + It's similar to the CREATE opcode except that the address of the new + account depends on the init_code instead of the nonce of sender. Parameters ---------- diff --git a/src/ethereum/forks/london/vm/instructions/system.py b/src/ethereum/forks/london/vm/instructions/system.py index 2ef31f9595..44ba77a073 100644 --- a/src/ethereum/forks/london/vm/instructions/system.py +++ b/src/ethereum/forks/london/vm/instructions/system.py @@ -179,8 +179,8 @@ def create2(evm: Evm) -> None: """ Creates a new account with associated code. - It's similar to CREATE opcode except that the address of new account - depends on the init_code instead of the nonce of sender. + It's similar to the CREATE opcode except that the address of the new + account depends on the init_code instead of the nonce of sender. Parameters ---------- diff --git a/src/ethereum/forks/muir_glacier/vm/instructions/system.py b/src/ethereum/forks/muir_glacier/vm/instructions/system.py index fadd963417..af2527d31c 100644 --- a/src/ethereum/forks/muir_glacier/vm/instructions/system.py +++ b/src/ethereum/forks/muir_glacier/vm/instructions/system.py @@ -179,8 +179,8 @@ def create2(evm: Evm) -> None: """ Creates a new account with associated code. - It's similar to CREATE opcode except that the address of new account - depends on the init_code instead of the nonce of sender. + It's similar to the CREATE opcode except that the address of the new + account depends on the init_code instead of the nonce of sender. Parameters ---------- diff --git a/src/ethereum/forks/osaka/vm/instructions/system.py b/src/ethereum/forks/osaka/vm/instructions/system.py index fea7a0c1b9..44c36ae000 100644 --- a/src/ethereum/forks/osaka/vm/instructions/system.py +++ b/src/ethereum/forks/osaka/vm/instructions/system.py @@ -193,8 +193,8 @@ def create2(evm: Evm) -> None: """ Creates a new account with associated code. - It's similar to CREATE opcode except that the address of new account - depends on the init_code instead of the nonce of sender. + It's similar to the CREATE opcode except that the address of the new + account depends on the init_code instead of the nonce of sender. Parameters ---------- diff --git a/src/ethereum/forks/paris/vm/instructions/system.py b/src/ethereum/forks/paris/vm/instructions/system.py index a1d4ba48e1..f2af30a7ee 100644 --- a/src/ethereum/forks/paris/vm/instructions/system.py +++ b/src/ethereum/forks/paris/vm/instructions/system.py @@ -178,8 +178,8 @@ def create2(evm: Evm) -> None: """ Creates a new account with associated code. - It's similar to CREATE opcode except that the address of new account - depends on the init_code instead of the nonce of sender. + It's similar to the CREATE opcode except that the address of the new + account depends on the init_code instead of the nonce of sender. Parameters ---------- diff --git a/src/ethereum/forks/prague/vm/instructions/system.py b/src/ethereum/forks/prague/vm/instructions/system.py index fea7a0c1b9..44c36ae000 100644 --- a/src/ethereum/forks/prague/vm/instructions/system.py +++ b/src/ethereum/forks/prague/vm/instructions/system.py @@ -193,8 +193,8 @@ def create2(evm: Evm) -> None: """ Creates a new account with associated code. - It's similar to CREATE opcode except that the address of new account - depends on the init_code instead of the nonce of sender. + It's similar to the CREATE opcode except that the address of the new + account depends on the init_code instead of the nonce of sender. Parameters ---------- diff --git a/src/ethereum/forks/shanghai/vm/instructions/system.py b/src/ethereum/forks/shanghai/vm/instructions/system.py index 2b6382ad2b..0a1e3244b2 100644 --- a/src/ethereum/forks/shanghai/vm/instructions/system.py +++ b/src/ethereum/forks/shanghai/vm/instructions/system.py @@ -190,8 +190,8 @@ def create2(evm: Evm) -> None: """ Creates a new account with associated code. - It's similar to CREATE opcode except that the address of new account - depends on the init_code instead of the nonce of sender. + It's similar to the CREATE opcode except that the address of the new + account depends on the init_code instead of the nonce of sender. Parameters ----------