From 9bb9a84d407e4f8af6f5b862fde492d7255b1830 Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Wed, 3 Aug 2016 23:23:45 +0200 Subject: [PATCH] Fix test. --- ethcore/src/executive.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ethcore/src/executive.rs b/ethcore/src/executive.rs index 9d5a8acf7..748582eba 100644 --- a/ethcore/src/executive.rs +++ b/ethcore/src/executive.rs @@ -634,7 +634,7 @@ mod tests { let engine = TestEngine::new(5); let mut substate = Substate::new(); let mut tracer = ExecutiveTracer::default(); - let mut vm_tracer = ExecutiveVMTracer::default(); + let mut vm_tracer = ExecutiveVMTracer::toplevel(); let gas_left = { let mut ex = Executive::new(&mut state, &info, &engine, &factory); @@ -693,7 +693,7 @@ mod tests { ], subs: vec![ VMTrace { - parent_step: 7, + parent_step: 6, code: vec![96, 16, 128, 96, 12, 96, 0, 57, 96, 0, 243, 0, 96, 0, 53, 84, 21, 96, 9, 87, 0, 91, 96, 32, 53, 96, 0, 53, 85], operations: vec![ VMOperation { pc: 0, instruction: 96, gas_cost: 3.into(), executed: Some(VMExecutedOperation { gas_used: 67976.into(), stack_push: vec_into![16], mem_diff: None, store_diff: None }) }, @@ -743,7 +743,7 @@ mod tests { let engine = TestEngine::new(5); let mut substate = Substate::new(); let mut tracer = ExecutiveTracer::default(); - let mut vm_tracer = ExecutiveVMTracer::default(); + let mut vm_tracer = ExecutiveVMTracer::toplevel(); let gas_left = { let mut ex = Executive::new(&mut state, &info, &engine, &factory);