Fix a bug in evmbin initial_gas display (#9457)
This commit is contained in:
parent
1f2426226b
commit
da5ba4ccc8
@ -114,7 +114,7 @@ pub fn run_transaction<T: Informant>(
|
|||||||
|
|
||||||
informant.set_gas(env_info.gas_limit);
|
informant.set_gas(env_info.gas_limit);
|
||||||
|
|
||||||
let result = run(&spec, env_info.gas_limit, pre_state, |mut client| {
|
let result = run(&spec, transaction.gas, pre_state, |mut client| {
|
||||||
let result = client.transact(env_info, transaction, trace::NoopTracer, informant);
|
let result = client.transact(env_info, transaction, trace::NoopTracer, informant);
|
||||||
match result {
|
match result {
|
||||||
TransactResult::Ok { state_root, gas_left, .. } if state_root != post_root => {
|
TransactResult::Ok { state_root, gas_left, .. } if state_root != post_root => {
|
||||||
|
Loading…
Reference in New Issue
Block a user