Skip to content

Commit e1dc6a3

Browse files
committed
update t8n interface
1 parent dc31f96 commit e1dc6a3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/ethereum_spec_tools/evm_tools/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def main(
105105
in_file = sys.stdin
106106

107107
if options.evm_tool == "t8n":
108-
t8n_tool = T8N(options, out_file, in_file)
108+
t8n_tool = T8N(options, in_file, out_file)
109109
return t8n_tool.run()
110110
elif options.evm_tool == "b11r":
111111
b11r_tool = B11R(options, out_file, in_file)

src/ethereum_spec_tools/evm_tools/statetest/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def run_test_case(
146146
if output_basedir is not None:
147147
t8n_options.output_basedir = output_basedir
148148

149-
t8n = T8N(t8n_options, out_stream, in_stream)
149+
t8n = T8N(t8n_options, in_stream, out_stream)
150150
t8n.run_state_test()
151151
return t8n.result
152152

tests/helpers/load_evm_tools_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def load_evm_tools_test(test_case: Dict[str, str], fork_name: str) -> None:
125125
t8n_options = parser.parse_args(t8n_args)
126126

127127
try:
128-
t8n = T8N(t8n_options, sys.stdout, in_stream)
128+
t8n = T8N(t8n_options, in_stream, sys.stdout)
129129
except StateWithEmptyAccount as e:
130130
pytest.xfail(str(e))
131131

0 commit comments

Comments
 (0)