@@ -4,7 +4,6 @@ use crate::assertions::{
44} ;
55use crate :: config:: TestConfig ;
66use crate :: execution_results:: { FailedTestDetails , TestExecutionResult } ;
7- // TODO: use crate::old_precompiles::JsonPrecompile;
87use crate :: precompiles:: Precompiles ;
98use crate :: state_dump:: { StateTestsDump , StateTestsDumper } ;
109use crate :: types:: account_state:: MemoryAccountsState ;
@@ -48,17 +47,6 @@ pub fn test(test_config: TestConfig, test: StateTestCase) -> TestExecutionResult
4847fn test_run ( test_config : & TestConfig , test : & StateTestCase ) -> TestExecutionResult {
4948 let mut tests_result = TestExecutionResult :: new ( ) ;
5049 for ( spec, states) in & test. post_states {
51- // TODO
52- if * spec >= Spec :: Prague {
53- continue ;
54- }
55-
56- // TODO
57- // if test_config.name != "tests/static/state_tests/stStaticCall/static_callBasicFiller.json::static_callBasic[fork_Prague-state_test-d1-g0-v0]" {
58- // continue
59- // }
60- // println!("{test:?}");
61-
6250 // Run tests for specific EVM hard fork (Spec)
6351 if let Some ( s) = test_config. spec . as_ref ( ) {
6452 if s != spec {
@@ -126,8 +114,6 @@ fn test_run(test_config: &TestConfig, test: &StateTestCase) -> TestExecutionResu
126114
127115 for ( i, state) in states. iter ( ) . enumerate ( ) {
128116 let mut backend = MemoryBackend :: new ( & vicinity, original_state. 0 . clone ( ) ) ;
129- // TODO
130- // println!("\nSTATE BEFORE: {:#?}", backend.state());
131117 tests_result. total += 1 ;
132118
133119 // Test case may be expected to fail with an unsupported tx type if the current fork is
@@ -214,8 +200,6 @@ fn test_run(test_config: &TestConfig, test: &StateTestCase) -> TestExecutionResu
214200 access_list. clone ( ) ,
215201 authorization_list. clone ( ) ,
216202 ) ;
217- // TODO
218- // println!("\nCALLER: {caller:?}\nTO: {to:?}\nVALUE: {value:?}n{gas_limit:?}\n{:?}\n{:?}\nREASON: {_reason:?}",access_list,authorization_list);
219203 assert_call_exit_exception ( state. expect_exception . as_ref ( ) , & test_config. name ) ;
220204 } else {
221205 let code = data;
@@ -292,8 +276,6 @@ fn test_run(test_config: &TestConfig, test: &StateTestCase) -> TestExecutionResu
292276 } ) ;
293277 }
294278
295- // TODO
296- // println!("\nSTATE AFTER: {:#?}", backend.state());
297279 let backend_state = MemoryAccountsState ( backend. state ( ) . clone ( ) ) ;
298280 let ( is_valid_hash, actual_hash) = backend_state. check_valid_hash ( & state. hash ) ;
299281 if !is_valid_hash {
0 commit comments