Skip to content

Commit

Permalink
fix estimategas
Browse files Browse the repository at this point in the history
  • Loading branch information
taokayan committed Jun 25, 2024
1 parent 0f38246 commit 96bda23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion silkworm/silkrpc/core/evm_executor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ ExecutionResult EVMExecutor::call(

auto& svc = use_service<AnalysisCacheService>(workers_);
//TODO: get gas parameters
EVM evm{block, ibs_state_, config_, {}};
EVM evm{block, ibs_state_, config_, gas_params};
evm.analysis_cache = svc.get_analysis_cache();
evm.state_pool = svc.get_object_pool();
evm.beneficiary = rule_set_->get_beneficiary(block.header);
Expand Down

0 comments on commit 96bda23

Please sign in to comment.