Skip to content

Commit b07a88f

Browse files
authored
fix: GethTransitionTool did not init TransitionTool`` (#1276)
1 parent fc25f0c commit b07a88f

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

docs/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ Test fixtures for use by clients are available for each release on the [Github r
2626
### 📋 Misc
2727

2828
- 🔀 Bump the version of `execution-specs` used by the framework to the package [`ethereum-execution==1.17.0rc6.dev1`](https://pypi.org/project/ethereum-execution/1.17.0rc6.dev1/); bump the version used for test fixture generation for forks < Prague to current `execution-specs` master, [fa847a0](https://github.com/ethereum/execution-specs/commit/fa847a0e48309debee8edc510ceddb2fd5db2f2e) ([#1310](https://github.com/ethereum/execution-spec-tests/pull/1310)).
29+
- 🐞 Init `TransitionTool` in `GethTransitionTool` ([#1276](https://github.com/ethereum/execution-spec-tests/pull/1276)).
2930

3031
### 🧪 Test Cases
3132

src/ethereum_clis/clis/geth.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,10 @@ class GethTransitionTool(GethEvm, TransitionTool):
229229

230230
def __init__(self, *, binary: Path, trace: bool = False):
231231
"""Initialize the GethTransitionTool class."""
232-
super().__init__(binary=binary, trace=trace)
232+
GethEvm.__init__(self, binary=binary, trace=trace)
233+
TransitionTool.__init__(
234+
self, exception_mapper=self.exception_mapper, binary=binary, trace=trace
235+
)
233236
help_command = [str(self.binary), str(self.subcommand), "--help"]
234237
result = self._run_command(help_command)
235238
self.help_string = result.stdout

0 commit comments

Comments
 (0)