From 96bda23bd9d8d47670859c7b17a4f47fe5361150 Mon Sep 17 00:00:00 2001 From: kayan Date: Tue, 25 Jun 2024 12:29:58 +0800 Subject: [PATCH] fix estimategas --- silkworm/silkrpc/core/evm_executor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/silkworm/silkrpc/core/evm_executor.cpp b/silkworm/silkrpc/core/evm_executor.cpp index c609466e..6bb3d4df 100644 --- a/silkworm/silkrpc/core/evm_executor.cpp +++ b/silkworm/silkrpc/core/evm_executor.cpp @@ -230,7 +230,7 @@ ExecutionResult EVMExecutor::call( auto& svc = use_service(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);