Skip to content

Commit

Permalink
Merge pull request #165 from eosnetworkfoundation/kayan_estimategas_1.0
Browse files Browse the repository at this point in the history
[1.0] fix estimategas
  • Loading branch information
taokayan authored Jun 25, 2024
2 parents 6b6da0b + 96bda23 commit 1897fc5
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 1897fc5

Please sign in to comment.