Skip to content

Commit 5f52ded

Browse files
danceratopzclaude
andauthored
docs: fix grammar in tests/byzantium (#47)
Fix inaccurate docstrings in test_gas.py files that incorrectly listed precompiles not actually tested by each file. Co-authored-by: Claude <noreply@anthropic.com>
1 parent 8cd6976 commit 5f52ded

3 files changed

Lines changed: 3 additions & 5 deletions

File tree

repo_subpaths_for_grammar_check.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Status legend: `[ ]` pending, `[~]` in progress, `[x]` complete
1515
- [x] `tests/benchmark/**/*.py` (~36 files)
1616
- [x] `tests/json_infra/**/*.py` (~22 files)
1717
- [x] `tests/shanghai/**/*.py` (~19 files)
18-
- [ ] `tests/byzantium/**/*.py` (~11 files)
18+
- [x] `tests/byzantium/**/*.py` (~11 files)
1919
- [ ] `tests/istanbul/**/*.py`, `berlin/**/*.py` (~18 files)
2020
- [ ] `tests/constantinople/**/*.py`, `amsterdam/**/*.py` (~16 files)
2121
- [ ] `tests/london/**/*.py`, `homestead/**/*.py`, `paris/**/*.py` (~17 files)

tests/byzantium/eip196_ec_add_mul/test_gas.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@ def test_gas_costs(
3535
enough_gas: bool,
3636
) -> None:
3737
"""
38-
Tests the constant gas behavior of `ecadd/ecmul/ecpairing` precompiled
39-
contract.
38+
Tests the constant gas behavior of `ecadd/ecmul` precompiled contracts.
4039
"""
4140
gas_costs = fork.gas_costs()
4241
gas = (

tests/byzantium/eip197_ec_pairing/test_gas.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@ def test_gas_costs(
3434
enough_gas: bool,
3535
) -> None:
3636
"""
37-
Tests the constant gas behavior of `ecadd/ecmul/ecpairing` precompiled
38-
contract.
37+
Tests the constant gas behavior of `ecpairing` precompiled contract.
3938
"""
4039
gas = fork.gas_costs().G_PRECOMPILE_ECPAIRING_BASE
4140
if not enough_gas:

0 commit comments

Comments
 (0)