Grab bag of cleanup (#11504)

Formatting, docs, pass TransactOptions instead of tracers.
This commit is contained in:
David
2020-02-19 16:12:27 +01:00
committed by GitHub
parent 06df521eff
commit fa0c1efb8d
5 changed files with 34 additions and 33 deletions

View File

@@ -271,7 +271,8 @@ impl<'a> EvmTestClient<'a> {
}
// Apply transaction
let result = self.state.apply_with_tracing(&env_info, self.spec.engine.machine(), &transaction, tracer, vm_tracer);
let trace_opts = executive::TransactOptions::new(tracer, vm_tracer);
let result = self.state.apply_with_tracing(&env_info, self.spec.engine.machine(), &transaction, trace_opts);
let scheme = CreateContractAddress::FromSenderAndNonce;
// Touch the coinbase at the end of the test to simulate