We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 64efc6e commit ecb605fCopy full SHA for ecb605f
1 file changed
packages/testing/src/execution_testing/cli/eest/commands/gas_map.py
@@ -56,10 +56,10 @@ def _get_opcode_gas_map_sources(fork_class: type[BaseFork]) -> str:
56
continue
57
if "opcode_gas_map" in cls.__dict__:
58
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.
+ # `cls` is typed as `type` (from `__mro__`)
+ # The full chain up to python's default `object` is walked, and
+ # the guard above ensures that opcode_gas_map exists before
+ # adding the source.
63
method = cls.opcode_gas_map # type: ignore[attr-defined]
64
sources.append(inspect.getsource(method))
65
except (OSError, TypeError):
0 commit comments