diff --git a/repo_subpaths_for_grammar_check.md b/repo_subpaths_for_grammar_check.md index f7c3a5b4372..999369323d6 100644 --- a/repo_subpaths_for_grammar_check.md +++ b/repo_subpaths_for_grammar_check.md @@ -19,4 +19,4 @@ Status legend: `[ ]` pending, `[~]` in progress, `[x]` complete - [x] `tests/istanbul/**/*.py`, `berlin/**/*.py` (~18 files) - [x] `tests/constantinople/**/*.py`, `amsterdam/**/*.py` (~16 files) - [x] `tests/london/**/*.py`, `homestead/**/*.py`, `paris/**/*.py` (~17 files) -- [ ] `tests/*.py`, `tests/common/**/*.py`, `tests/evm_tools/**/*.py` (~5 files) +- [x] `tests/*.py`, `tests/common/**/*.py`, `tests/evm_tools/**/*.py` (~5 files) diff --git a/tests/common/precompile_fixtures.py b/tests/common/precompile_fixtures.py index fec15b87b69..6b134321f94 100644 --- a/tests/common/precompile_fixtures.py +++ b/tests/common/precompile_fixtures.py @@ -1,7 +1,7 @@ """ A set of common pytest fixtures for tests executing precompiled contracts. -These can help creating a wrapping contract that calls the precompile and +These can help create a wrapping contract that calls the precompile and records the results in storage, so that tests can verify the expected behavior. Also, the gas calculation and transaction setup is handled here. """ @@ -83,7 +83,7 @@ def call_contract_code( The code calls the precompile and stores the call return code, output size, and output hash in storage. The information about the call output is collected with the RETURNDATASIZE and RETURNDATACOPY opcodes. - Therefore, the test contract doesn't work correctly in forks pre Byzantium. + Therefore, the test contract doesn't work correctly in pre-Byzantium forks. Args: precompile_address: Address of the precompile to call.