From a0dd8cb4a16e82e1ef5a243b1d071bffd6340c6b Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 30 Dec 2025 12:46:30 +0000 Subject: [PATCH] docs: fix grammar in src/ethereum/forks/*/vm/instructions (block, environment, control_flow) Fix missing preposition in block.py timestamp docstring: - "being referred is" -> "being referred to is" (24 files) Remove extraneous word in environment.py returndatacopy docstring: - "return data buffer code to memory" -> "return data buffer to memory" (19 files) --- repo_subpaths_for_grammar_check.md | 2 +- src/ethereum/forks/amsterdam/vm/instructions/block.py | 2 +- src/ethereum/forks/amsterdam/vm/instructions/environment.py | 2 +- src/ethereum/forks/arrow_glacier/vm/instructions/block.py | 2 +- src/ethereum/forks/arrow_glacier/vm/instructions/environment.py | 2 +- src/ethereum/forks/berlin/vm/instructions/block.py | 2 +- src/ethereum/forks/berlin/vm/instructions/environment.py | 2 +- src/ethereum/forks/bpo1/vm/instructions/block.py | 2 +- src/ethereum/forks/bpo1/vm/instructions/environment.py | 2 +- src/ethereum/forks/bpo2/vm/instructions/block.py | 2 +- src/ethereum/forks/bpo2/vm/instructions/environment.py | 2 +- src/ethereum/forks/bpo3/vm/instructions/block.py | 2 +- src/ethereum/forks/bpo3/vm/instructions/environment.py | 2 +- src/ethereum/forks/bpo4/vm/instructions/block.py | 2 +- src/ethereum/forks/bpo4/vm/instructions/environment.py | 2 +- src/ethereum/forks/bpo5/vm/instructions/block.py | 2 +- src/ethereum/forks/bpo5/vm/instructions/environment.py | 2 +- src/ethereum/forks/byzantium/vm/instructions/block.py | 2 +- src/ethereum/forks/byzantium/vm/instructions/environment.py | 2 +- src/ethereum/forks/cancun/vm/instructions/block.py | 2 +- src/ethereum/forks/cancun/vm/instructions/environment.py | 2 +- src/ethereum/forks/constantinople/vm/instructions/block.py | 2 +- .../forks/constantinople/vm/instructions/environment.py | 2 +- src/ethereum/forks/dao_fork/vm/instructions/block.py | 2 +- src/ethereum/forks/frontier/vm/instructions/block.py | 2 +- src/ethereum/forks/gray_glacier/vm/instructions/block.py | 2 +- src/ethereum/forks/gray_glacier/vm/instructions/environment.py | 2 +- src/ethereum/forks/homestead/vm/instructions/block.py | 2 +- src/ethereum/forks/istanbul/vm/instructions/block.py | 2 +- src/ethereum/forks/istanbul/vm/instructions/environment.py | 2 +- src/ethereum/forks/london/vm/instructions/block.py | 2 +- src/ethereum/forks/london/vm/instructions/environment.py | 2 +- src/ethereum/forks/muir_glacier/vm/instructions/block.py | 2 +- src/ethereum/forks/muir_glacier/vm/instructions/environment.py | 2 +- src/ethereum/forks/osaka/vm/instructions/block.py | 2 +- src/ethereum/forks/osaka/vm/instructions/environment.py | 2 +- src/ethereum/forks/paris/vm/instructions/block.py | 2 +- src/ethereum/forks/paris/vm/instructions/environment.py | 2 +- src/ethereum/forks/prague/vm/instructions/block.py | 2 +- src/ethereum/forks/prague/vm/instructions/environment.py | 2 +- src/ethereum/forks/shanghai/vm/instructions/block.py | 2 +- src/ethereum/forks/shanghai/vm/instructions/environment.py | 2 +- src/ethereum/forks/spurious_dragon/vm/instructions/block.py | 2 +- src/ethereum/forks/tangerine_whistle/vm/instructions/block.py | 2 +- 44 files changed, 44 insertions(+), 44 deletions(-) diff --git a/repo_subpaths_for_grammar_check.md b/repo_subpaths_for_grammar_check.md index d8ff0893ea..8ee71f6eae 100644 --- a/repo_subpaths_for_grammar_check.md +++ b/repo_subpaths_for_grammar_check.md @@ -7,7 +7,7 @@ Status legend: `[ ]` pending, `[~]` in progress, `[x]` complete ## src/ethereum/forks - VM Instructions - [x] `src/ethereum/forks/*/vm/instructions/arithmetic.py`, `comparison.py`, `bitwise.py` (~72 files) -- [ ] `src/ethereum/forks/*/vm/instructions/block.py`, `environment.py`, `control_flow.py` (~72 files) +- [x] `src/ethereum/forks/*/vm/instructions/block.py`, `environment.py`, `control_flow.py` (~72 files) - [ ] `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) diff --git a/src/ethereum/forks/amsterdam/vm/instructions/block.py b/src/ethereum/forks/amsterdam/vm/instructions/block.py index 78783751dd..e563a2e96e 100644 --- a/src/ethereum/forks/amsterdam/vm/instructions/block.py +++ b/src/ethereum/forks/amsterdam/vm/instructions/block.py @@ -101,7 +101,7 @@ def coinbase(evm: Evm) -> None: def timestamp(evm: Evm) -> None: """ Push the current block's timestamp onto the stack. Here the timestamp - being referred is actually the unix timestamp in seconds. + being referred to is actually the unix timestamp in seconds. Here the current block refers to the block in which the currently executing transaction/call resides. diff --git a/src/ethereum/forks/amsterdam/vm/instructions/environment.py b/src/ethereum/forks/amsterdam/vm/instructions/environment.py index 8369043465..28c595ee51 100644 --- a/src/ethereum/forks/amsterdam/vm/instructions/environment.py +++ b/src/ethereum/forks/amsterdam/vm/instructions/environment.py @@ -426,7 +426,7 @@ def returndatasize(evm: Evm) -> None: def returndatacopy(evm: Evm) -> None: """ - Copies data from the return data buffer code to memory. + Copies data from the return data buffer to memory. Parameters ---------- diff --git a/src/ethereum/forks/arrow_glacier/vm/instructions/block.py b/src/ethereum/forks/arrow_glacier/vm/instructions/block.py index ecbeac10f4..bbf01739ff 100644 --- a/src/ethereum/forks/arrow_glacier/vm/instructions/block.py +++ b/src/ethereum/forks/arrow_glacier/vm/instructions/block.py @@ -87,7 +87,7 @@ def coinbase(evm: Evm) -> None: def timestamp(evm: Evm) -> None: """ Push the current block's timestamp onto the stack. Here the timestamp - being referred is actually the unix timestamp in seconds. + being referred to is actually the unix timestamp in seconds. Here the current block refers to the block in which the currently executing transaction/call resides. diff --git a/src/ethereum/forks/arrow_glacier/vm/instructions/environment.py b/src/ethereum/forks/arrow_glacier/vm/instructions/environment.py index 1abfaeafa9..2a7b434661 100644 --- a/src/ethereum/forks/arrow_glacier/vm/instructions/environment.py +++ b/src/ethereum/forks/arrow_glacier/vm/instructions/environment.py @@ -423,7 +423,7 @@ def returndatasize(evm: Evm) -> None: def returndatacopy(evm: Evm) -> None: """ - Copies data from the return data buffer code to memory. + Copies data from the return data buffer to memory. Parameters ---------- diff --git a/src/ethereum/forks/berlin/vm/instructions/block.py b/src/ethereum/forks/berlin/vm/instructions/block.py index ecbeac10f4..bbf01739ff 100644 --- a/src/ethereum/forks/berlin/vm/instructions/block.py +++ b/src/ethereum/forks/berlin/vm/instructions/block.py @@ -87,7 +87,7 @@ def coinbase(evm: Evm) -> None: def timestamp(evm: Evm) -> None: """ Push the current block's timestamp onto the stack. Here the timestamp - being referred is actually the unix timestamp in seconds. + being referred to is actually the unix timestamp in seconds. Here the current block refers to the block in which the currently executing transaction/call resides. diff --git a/src/ethereum/forks/berlin/vm/instructions/environment.py b/src/ethereum/forks/berlin/vm/instructions/environment.py index 8ff0e0b2f0..7158c504e8 100644 --- a/src/ethereum/forks/berlin/vm/instructions/environment.py +++ b/src/ethereum/forks/berlin/vm/instructions/environment.py @@ -423,7 +423,7 @@ def returndatasize(evm: Evm) -> None: def returndatacopy(evm: Evm) -> None: """ - Copies data from the return data buffer code to memory. + Copies data from the return data buffer to memory. Parameters ---------- diff --git a/src/ethereum/forks/bpo1/vm/instructions/block.py b/src/ethereum/forks/bpo1/vm/instructions/block.py index c0520797e5..75810aacd3 100644 --- a/src/ethereum/forks/bpo1/vm/instructions/block.py +++ b/src/ethereum/forks/bpo1/vm/instructions/block.py @@ -101,7 +101,7 @@ def coinbase(evm: Evm) -> None: def timestamp(evm: Evm) -> None: """ Push the current block's timestamp onto the stack. Here the timestamp - being referred is actually the unix timestamp in seconds. + being referred to is actually the unix timestamp in seconds. Here the current block refers to the block in which the currently executing transaction/call resides. diff --git a/src/ethereum/forks/bpo1/vm/instructions/environment.py b/src/ethereum/forks/bpo1/vm/instructions/environment.py index 8369043465..28c595ee51 100644 --- a/src/ethereum/forks/bpo1/vm/instructions/environment.py +++ b/src/ethereum/forks/bpo1/vm/instructions/environment.py @@ -426,7 +426,7 @@ def returndatasize(evm: Evm) -> None: def returndatacopy(evm: Evm) -> None: """ - Copies data from the return data buffer code to memory. + Copies data from the return data buffer to memory. Parameters ---------- diff --git a/src/ethereum/forks/bpo2/vm/instructions/block.py b/src/ethereum/forks/bpo2/vm/instructions/block.py index e3d73657bf..9923433c7b 100644 --- a/src/ethereum/forks/bpo2/vm/instructions/block.py +++ b/src/ethereum/forks/bpo2/vm/instructions/block.py @@ -101,7 +101,7 @@ def coinbase(evm: Evm) -> None: def timestamp(evm: Evm) -> None: """ Push the current block's timestamp onto the stack. Here the timestamp - being referred is actually the unix timestamp in seconds. + being referred to is actually the unix timestamp in seconds. Here the current block refers to the block in which the currently executing transaction/call resides. diff --git a/src/ethereum/forks/bpo2/vm/instructions/environment.py b/src/ethereum/forks/bpo2/vm/instructions/environment.py index 8369043465..28c595ee51 100644 --- a/src/ethereum/forks/bpo2/vm/instructions/environment.py +++ b/src/ethereum/forks/bpo2/vm/instructions/environment.py @@ -426,7 +426,7 @@ def returndatasize(evm: Evm) -> None: def returndatacopy(evm: Evm) -> None: """ - Copies data from the return data buffer code to memory. + Copies data from the return data buffer to memory. Parameters ---------- diff --git a/src/ethereum/forks/bpo3/vm/instructions/block.py b/src/ethereum/forks/bpo3/vm/instructions/block.py index 8a90f826cf..10fcbdbdb5 100644 --- a/src/ethereum/forks/bpo3/vm/instructions/block.py +++ b/src/ethereum/forks/bpo3/vm/instructions/block.py @@ -101,7 +101,7 @@ def coinbase(evm: Evm) -> None: def timestamp(evm: Evm) -> None: """ Push the current block's timestamp onto the stack. Here the timestamp - being referred is actually the unix timestamp in seconds. + being referred to is actually the unix timestamp in seconds. Here the current block refers to the block in which the currently executing transaction/call resides. diff --git a/src/ethereum/forks/bpo3/vm/instructions/environment.py b/src/ethereum/forks/bpo3/vm/instructions/environment.py index 8369043465..28c595ee51 100644 --- a/src/ethereum/forks/bpo3/vm/instructions/environment.py +++ b/src/ethereum/forks/bpo3/vm/instructions/environment.py @@ -426,7 +426,7 @@ def returndatasize(evm: Evm) -> None: def returndatacopy(evm: Evm) -> None: """ - Copies data from the return data buffer code to memory. + Copies data from the return data buffer to memory. Parameters ---------- diff --git a/src/ethereum/forks/bpo4/vm/instructions/block.py b/src/ethereum/forks/bpo4/vm/instructions/block.py index 221082f23e..52145aa9f8 100644 --- a/src/ethereum/forks/bpo4/vm/instructions/block.py +++ b/src/ethereum/forks/bpo4/vm/instructions/block.py @@ -101,7 +101,7 @@ def coinbase(evm: Evm) -> None: def timestamp(evm: Evm) -> None: """ Push the current block's timestamp onto the stack. Here the timestamp - being referred is actually the unix timestamp in seconds. + being referred to is actually the unix timestamp in seconds. Here the current block refers to the block in which the currently executing transaction/call resides. diff --git a/src/ethereum/forks/bpo4/vm/instructions/environment.py b/src/ethereum/forks/bpo4/vm/instructions/environment.py index 8369043465..28c595ee51 100644 --- a/src/ethereum/forks/bpo4/vm/instructions/environment.py +++ b/src/ethereum/forks/bpo4/vm/instructions/environment.py @@ -426,7 +426,7 @@ def returndatasize(evm: Evm) -> None: def returndatacopy(evm: Evm) -> None: """ - Copies data from the return data buffer code to memory. + Copies data from the return data buffer to memory. Parameters ---------- diff --git a/src/ethereum/forks/bpo5/vm/instructions/block.py b/src/ethereum/forks/bpo5/vm/instructions/block.py index 2712e06ea3..84930244d4 100644 --- a/src/ethereum/forks/bpo5/vm/instructions/block.py +++ b/src/ethereum/forks/bpo5/vm/instructions/block.py @@ -101,7 +101,7 @@ def coinbase(evm: Evm) -> None: def timestamp(evm: Evm) -> None: """ Push the current block's timestamp onto the stack. Here the timestamp - being referred is actually the unix timestamp in seconds. + being referred to is actually the unix timestamp in seconds. Here the current block refers to the block in which the currently executing transaction/call resides. diff --git a/src/ethereum/forks/bpo5/vm/instructions/environment.py b/src/ethereum/forks/bpo5/vm/instructions/environment.py index 8369043465..28c595ee51 100644 --- a/src/ethereum/forks/bpo5/vm/instructions/environment.py +++ b/src/ethereum/forks/bpo5/vm/instructions/environment.py @@ -426,7 +426,7 @@ def returndatasize(evm: Evm) -> None: def returndatacopy(evm: Evm) -> None: """ - Copies data from the return data buffer code to memory. + Copies data from the return data buffer to memory. Parameters ---------- diff --git a/src/ethereum/forks/byzantium/vm/instructions/block.py b/src/ethereum/forks/byzantium/vm/instructions/block.py index 8b50f1bc07..0edcbf000d 100644 --- a/src/ethereum/forks/byzantium/vm/instructions/block.py +++ b/src/ethereum/forks/byzantium/vm/instructions/block.py @@ -87,7 +87,7 @@ def coinbase(evm: Evm) -> None: def timestamp(evm: Evm) -> None: """ Push the current block's timestamp onto the stack. Here the timestamp - being referred is actually the unix timestamp in seconds. + being referred to is actually the unix timestamp in seconds. Here the current block refers to the block in which the currently executing transaction/call resides. diff --git a/src/ethereum/forks/byzantium/vm/instructions/environment.py b/src/ethereum/forks/byzantium/vm/instructions/environment.py index d98f13b0d8..f657e25299 100644 --- a/src/ethereum/forks/byzantium/vm/instructions/environment.py +++ b/src/ethereum/forks/byzantium/vm/instructions/environment.py @@ -403,7 +403,7 @@ def returndatasize(evm: Evm) -> None: def returndatacopy(evm: Evm) -> None: """ - Copies data from the return data buffer code to memory. + Copies data from the return data buffer to memory. Parameters ---------- diff --git a/src/ethereum/forks/cancun/vm/instructions/block.py b/src/ethereum/forks/cancun/vm/instructions/block.py index fac1e1c95f..4f971a9dbf 100644 --- a/src/ethereum/forks/cancun/vm/instructions/block.py +++ b/src/ethereum/forks/cancun/vm/instructions/block.py @@ -101,7 +101,7 @@ def coinbase(evm: Evm) -> None: def timestamp(evm: Evm) -> None: """ Push the current block's timestamp onto the stack. Here the timestamp - being referred is actually the unix timestamp in seconds. + being referred to is actually the unix timestamp in seconds. Here the current block refers to the block in which the currently executing transaction/call resides. diff --git a/src/ethereum/forks/cancun/vm/instructions/environment.py b/src/ethereum/forks/cancun/vm/instructions/environment.py index 8369043465..28c595ee51 100644 --- a/src/ethereum/forks/cancun/vm/instructions/environment.py +++ b/src/ethereum/forks/cancun/vm/instructions/environment.py @@ -426,7 +426,7 @@ def returndatasize(evm: Evm) -> None: def returndatacopy(evm: Evm) -> None: """ - Copies data from the return data buffer code to memory. + Copies data from the return data buffer to memory. Parameters ---------- diff --git a/src/ethereum/forks/constantinople/vm/instructions/block.py b/src/ethereum/forks/constantinople/vm/instructions/block.py index 8b50f1bc07..0edcbf000d 100644 --- a/src/ethereum/forks/constantinople/vm/instructions/block.py +++ b/src/ethereum/forks/constantinople/vm/instructions/block.py @@ -87,7 +87,7 @@ def coinbase(evm: Evm) -> None: def timestamp(evm: Evm) -> None: """ Push the current block's timestamp onto the stack. Here the timestamp - being referred is actually the unix timestamp in seconds. + being referred to is actually the unix timestamp in seconds. Here the current block refers to the block in which the currently executing transaction/call resides. diff --git a/src/ethereum/forks/constantinople/vm/instructions/environment.py b/src/ethereum/forks/constantinople/vm/instructions/environment.py index f5a0be72f4..8db76a38cc 100644 --- a/src/ethereum/forks/constantinople/vm/instructions/environment.py +++ b/src/ethereum/forks/constantinople/vm/instructions/environment.py @@ -406,7 +406,7 @@ def returndatasize(evm: Evm) -> None: def returndatacopy(evm: Evm) -> None: """ - Copies data from the return data buffer code to memory. + Copies data from the return data buffer to memory. Parameters ---------- diff --git a/src/ethereum/forks/dao_fork/vm/instructions/block.py b/src/ethereum/forks/dao_fork/vm/instructions/block.py index 8b50f1bc07..0edcbf000d 100644 --- a/src/ethereum/forks/dao_fork/vm/instructions/block.py +++ b/src/ethereum/forks/dao_fork/vm/instructions/block.py @@ -87,7 +87,7 @@ def coinbase(evm: Evm) -> None: def timestamp(evm: Evm) -> None: """ Push the current block's timestamp onto the stack. Here the timestamp - being referred is actually the unix timestamp in seconds. + being referred to is actually the unix timestamp in seconds. Here the current block refers to the block in which the currently executing transaction/call resides. diff --git a/src/ethereum/forks/frontier/vm/instructions/block.py b/src/ethereum/forks/frontier/vm/instructions/block.py index 8b50f1bc07..0edcbf000d 100644 --- a/src/ethereum/forks/frontier/vm/instructions/block.py +++ b/src/ethereum/forks/frontier/vm/instructions/block.py @@ -87,7 +87,7 @@ def coinbase(evm: Evm) -> None: def timestamp(evm: Evm) -> None: """ Push the current block's timestamp onto the stack. Here the timestamp - being referred is actually the unix timestamp in seconds. + being referred to is actually the unix timestamp in seconds. Here the current block refers to the block in which the currently executing transaction/call resides. diff --git a/src/ethereum/forks/gray_glacier/vm/instructions/block.py b/src/ethereum/forks/gray_glacier/vm/instructions/block.py index ecbeac10f4..bbf01739ff 100644 --- a/src/ethereum/forks/gray_glacier/vm/instructions/block.py +++ b/src/ethereum/forks/gray_glacier/vm/instructions/block.py @@ -87,7 +87,7 @@ def coinbase(evm: Evm) -> None: def timestamp(evm: Evm) -> None: """ Push the current block's timestamp onto the stack. Here the timestamp - being referred is actually the unix timestamp in seconds. + being referred to is actually the unix timestamp in seconds. Here the current block refers to the block in which the currently executing transaction/call resides. diff --git a/src/ethereum/forks/gray_glacier/vm/instructions/environment.py b/src/ethereum/forks/gray_glacier/vm/instructions/environment.py index 1abfaeafa9..2a7b434661 100644 --- a/src/ethereum/forks/gray_glacier/vm/instructions/environment.py +++ b/src/ethereum/forks/gray_glacier/vm/instructions/environment.py @@ -423,7 +423,7 @@ def returndatasize(evm: Evm) -> None: def returndatacopy(evm: Evm) -> None: """ - Copies data from the return data buffer code to memory. + Copies data from the return data buffer to memory. Parameters ---------- diff --git a/src/ethereum/forks/homestead/vm/instructions/block.py b/src/ethereum/forks/homestead/vm/instructions/block.py index 8b50f1bc07..0edcbf000d 100644 --- a/src/ethereum/forks/homestead/vm/instructions/block.py +++ b/src/ethereum/forks/homestead/vm/instructions/block.py @@ -87,7 +87,7 @@ def coinbase(evm: Evm) -> None: def timestamp(evm: Evm) -> None: """ Push the current block's timestamp onto the stack. Here the timestamp - being referred is actually the unix timestamp in seconds. + being referred to is actually the unix timestamp in seconds. Here the current block refers to the block in which the currently executing transaction/call resides. diff --git a/src/ethereum/forks/istanbul/vm/instructions/block.py b/src/ethereum/forks/istanbul/vm/instructions/block.py index ecbeac10f4..bbf01739ff 100644 --- a/src/ethereum/forks/istanbul/vm/instructions/block.py +++ b/src/ethereum/forks/istanbul/vm/instructions/block.py @@ -87,7 +87,7 @@ def coinbase(evm: Evm) -> None: def timestamp(evm: Evm) -> None: """ Push the current block's timestamp onto the stack. Here the timestamp - being referred is actually the unix timestamp in seconds. + being referred to is actually the unix timestamp in seconds. Here the current block refers to the block in which the currently executing transaction/call resides. diff --git a/src/ethereum/forks/istanbul/vm/instructions/environment.py b/src/ethereum/forks/istanbul/vm/instructions/environment.py index a854355eb4..f776671541 100644 --- a/src/ethereum/forks/istanbul/vm/instructions/environment.py +++ b/src/ethereum/forks/istanbul/vm/instructions/environment.py @@ -407,7 +407,7 @@ def returndatasize(evm: Evm) -> None: def returndatacopy(evm: Evm) -> None: """ - Copies data from the return data buffer code to memory. + Copies data from the return data buffer to memory. Parameters ---------- diff --git a/src/ethereum/forks/london/vm/instructions/block.py b/src/ethereum/forks/london/vm/instructions/block.py index ecbeac10f4..bbf01739ff 100644 --- a/src/ethereum/forks/london/vm/instructions/block.py +++ b/src/ethereum/forks/london/vm/instructions/block.py @@ -87,7 +87,7 @@ def coinbase(evm: Evm) -> None: def timestamp(evm: Evm) -> None: """ Push the current block's timestamp onto the stack. Here the timestamp - being referred is actually the unix timestamp in seconds. + being referred to is actually the unix timestamp in seconds. Here the current block refers to the block in which the currently executing transaction/call resides. diff --git a/src/ethereum/forks/london/vm/instructions/environment.py b/src/ethereum/forks/london/vm/instructions/environment.py index 1abfaeafa9..2a7b434661 100644 --- a/src/ethereum/forks/london/vm/instructions/environment.py +++ b/src/ethereum/forks/london/vm/instructions/environment.py @@ -423,7 +423,7 @@ def returndatasize(evm: Evm) -> None: def returndatacopy(evm: Evm) -> None: """ - Copies data from the return data buffer code to memory. + Copies data from the return data buffer to memory. Parameters ---------- diff --git a/src/ethereum/forks/muir_glacier/vm/instructions/block.py b/src/ethereum/forks/muir_glacier/vm/instructions/block.py index ecbeac10f4..bbf01739ff 100644 --- a/src/ethereum/forks/muir_glacier/vm/instructions/block.py +++ b/src/ethereum/forks/muir_glacier/vm/instructions/block.py @@ -87,7 +87,7 @@ def coinbase(evm: Evm) -> None: def timestamp(evm: Evm) -> None: """ Push the current block's timestamp onto the stack. Here the timestamp - being referred is actually the unix timestamp in seconds. + being referred to is actually the unix timestamp in seconds. Here the current block refers to the block in which the currently executing transaction/call resides. diff --git a/src/ethereum/forks/muir_glacier/vm/instructions/environment.py b/src/ethereum/forks/muir_glacier/vm/instructions/environment.py index a854355eb4..f776671541 100644 --- a/src/ethereum/forks/muir_glacier/vm/instructions/environment.py +++ b/src/ethereum/forks/muir_glacier/vm/instructions/environment.py @@ -407,7 +407,7 @@ def returndatasize(evm: Evm) -> None: def returndatacopy(evm: Evm) -> None: """ - Copies data from the return data buffer code to memory. + Copies data from the return data buffer to memory. Parameters ---------- diff --git a/src/ethereum/forks/osaka/vm/instructions/block.py b/src/ethereum/forks/osaka/vm/instructions/block.py index e33f26aea4..43be9e58e2 100644 --- a/src/ethereum/forks/osaka/vm/instructions/block.py +++ b/src/ethereum/forks/osaka/vm/instructions/block.py @@ -101,7 +101,7 @@ def coinbase(evm: Evm) -> None: def timestamp(evm: Evm) -> None: """ Push the current block's timestamp onto the stack. Here the timestamp - being referred is actually the unix timestamp in seconds. + being referred to is actually the unix timestamp in seconds. Here the current block refers to the block in which the currently executing transaction/call resides. diff --git a/src/ethereum/forks/osaka/vm/instructions/environment.py b/src/ethereum/forks/osaka/vm/instructions/environment.py index 8369043465..28c595ee51 100644 --- a/src/ethereum/forks/osaka/vm/instructions/environment.py +++ b/src/ethereum/forks/osaka/vm/instructions/environment.py @@ -426,7 +426,7 @@ def returndatasize(evm: Evm) -> None: def returndatacopy(evm: Evm) -> None: """ - Copies data from the return data buffer code to memory. + Copies data from the return data buffer to memory. Parameters ---------- diff --git a/src/ethereum/forks/paris/vm/instructions/block.py b/src/ethereum/forks/paris/vm/instructions/block.py index 098a23386a..3aa1fb2f6b 100644 --- a/src/ethereum/forks/paris/vm/instructions/block.py +++ b/src/ethereum/forks/paris/vm/instructions/block.py @@ -101,7 +101,7 @@ def coinbase(evm: Evm) -> None: def timestamp(evm: Evm) -> None: """ Push the current block's timestamp onto the stack. Here the timestamp - being referred is actually the unix timestamp in seconds. + being referred to is actually the unix timestamp in seconds. Here the current block refers to the block in which the currently executing transaction/call resides. diff --git a/src/ethereum/forks/paris/vm/instructions/environment.py b/src/ethereum/forks/paris/vm/instructions/environment.py index 1abfaeafa9..2a7b434661 100644 --- a/src/ethereum/forks/paris/vm/instructions/environment.py +++ b/src/ethereum/forks/paris/vm/instructions/environment.py @@ -423,7 +423,7 @@ def returndatasize(evm: Evm) -> None: def returndatacopy(evm: Evm) -> None: """ - Copies data from the return data buffer code to memory. + Copies data from the return data buffer to memory. Parameters ---------- diff --git a/src/ethereum/forks/prague/vm/instructions/block.py b/src/ethereum/forks/prague/vm/instructions/block.py index ddaa221bfc..b3bfb500a0 100644 --- a/src/ethereum/forks/prague/vm/instructions/block.py +++ b/src/ethereum/forks/prague/vm/instructions/block.py @@ -101,7 +101,7 @@ def coinbase(evm: Evm) -> None: def timestamp(evm: Evm) -> None: """ Push the current block's timestamp onto the stack. Here the timestamp - being referred is actually the unix timestamp in seconds. + being referred to is actually the unix timestamp in seconds. Here the current block refers to the block in which the currently executing transaction/call resides. diff --git a/src/ethereum/forks/prague/vm/instructions/environment.py b/src/ethereum/forks/prague/vm/instructions/environment.py index 8369043465..28c595ee51 100644 --- a/src/ethereum/forks/prague/vm/instructions/environment.py +++ b/src/ethereum/forks/prague/vm/instructions/environment.py @@ -426,7 +426,7 @@ def returndatasize(evm: Evm) -> None: def returndatacopy(evm: Evm) -> None: """ - Copies data from the return data buffer code to memory. + Copies data from the return data buffer to memory. Parameters ---------- diff --git a/src/ethereum/forks/shanghai/vm/instructions/block.py b/src/ethereum/forks/shanghai/vm/instructions/block.py index d9d8357b33..de2569869b 100644 --- a/src/ethereum/forks/shanghai/vm/instructions/block.py +++ b/src/ethereum/forks/shanghai/vm/instructions/block.py @@ -101,7 +101,7 @@ def coinbase(evm: Evm) -> None: def timestamp(evm: Evm) -> None: """ Push the current block's timestamp onto the stack. Here the timestamp - being referred is actually the unix timestamp in seconds. + being referred to is actually the unix timestamp in seconds. Here the current block refers to the block in which the currently executing transaction/call resides. diff --git a/src/ethereum/forks/shanghai/vm/instructions/environment.py b/src/ethereum/forks/shanghai/vm/instructions/environment.py index 1abfaeafa9..2a7b434661 100644 --- a/src/ethereum/forks/shanghai/vm/instructions/environment.py +++ b/src/ethereum/forks/shanghai/vm/instructions/environment.py @@ -423,7 +423,7 @@ def returndatasize(evm: Evm) -> None: def returndatacopy(evm: Evm) -> None: """ - Copies data from the return data buffer code to memory. + Copies data from the return data buffer to memory. Parameters ---------- diff --git a/src/ethereum/forks/spurious_dragon/vm/instructions/block.py b/src/ethereum/forks/spurious_dragon/vm/instructions/block.py index 8b50f1bc07..0edcbf000d 100644 --- a/src/ethereum/forks/spurious_dragon/vm/instructions/block.py +++ b/src/ethereum/forks/spurious_dragon/vm/instructions/block.py @@ -87,7 +87,7 @@ def coinbase(evm: Evm) -> None: def timestamp(evm: Evm) -> None: """ Push the current block's timestamp onto the stack. Here the timestamp - being referred is actually the unix timestamp in seconds. + being referred to is actually the unix timestamp in seconds. Here the current block refers to the block in which the currently executing transaction/call resides. diff --git a/src/ethereum/forks/tangerine_whistle/vm/instructions/block.py b/src/ethereum/forks/tangerine_whistle/vm/instructions/block.py index 8b50f1bc07..0edcbf000d 100644 --- a/src/ethereum/forks/tangerine_whistle/vm/instructions/block.py +++ b/src/ethereum/forks/tangerine_whistle/vm/instructions/block.py @@ -87,7 +87,7 @@ def coinbase(evm: Evm) -> None: def timestamp(evm: Evm) -> None: """ Push the current block's timestamp onto the stack. Here the timestamp - being referred is actually the unix timestamp in seconds. + being referred to is actually the unix timestamp in seconds. Here the current block refers to the block in which the currently executing transaction/call resides.