Skip to content

Commit ecb605f

Browse files
committed
refactor: cleanup a comment
1 parent 64efc6e commit ecb605f

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • packages/testing/src/execution_testing/cli/eest/commands

packages/testing/src/execution_testing/cli/eest/commands/gas_map.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ def _get_opcode_gas_map_sources(fork_class: type[BaseFork]) -> str:
5656
continue
5757
if "opcode_gas_map" in cls.__dict__:
5858
try:
59-
# cls is typed as `type` (from __mro__) because it
60-
# walks the full chain up to python's default
61-
# `object`, and the guard on line 57 ensures that
62-
# opcode_gas_map exists before adding the source.
59+
# `cls` is typed as `type` (from `__mro__`)
60+
# The full chain up to python's default `object` is walked, and
61+
# the guard above ensures that opcode_gas_map exists before
62+
# adding the source.
6363
method = cls.opcode_gas_map # type: ignore[attr-defined]
6464
sources.append(inspect.getsource(method))
6565
except (OSError, TypeError):

0 commit comments

Comments
 (0)