Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1.0->main] call_eth no longer need the set the max_fee_per_gas #226

Merged
merged 6 commits into from
Nov 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ if(NOT SILKWORM_HAS_PARENT)
endif()

project(silkworm)
set(PROJECT_VERSION 1.0.7)
set(PROJECT_VERSION 1.0.8)

# conan must be initiailzed after project definition to properly detect target architecture.
if(NOT SILKWORM_HAS_PARENT)
Expand Down
5 changes: 0 additions & 5 deletions silkworm/silkrpc/commands/eth_api.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1148,11 +1148,6 @@ awaitable<void> EthereumRpcApi::handle_eth_call(const nlohmann::json& request, s
silkworm::Transaction txn{call.to_transaction()};
if(!txn.from.has_value()) txn.from = evmc::address{0};

auto base_fee_per_gas = block_with_hash->block.header.base_fee_per_gas.value_or(0);
if(txn.max_fee_per_gas == 0 && base_fee_per_gas > 0) {
txn.max_fee_per_gas = base_fee_per_gas;
}

const auto [eos_evm_version, gas_params] = co_await load_gas_parameters(tx_database, chain_config_ptr, block_with_hash->block);

const core::rawdb::DatabaseReader& db_reader =
Expand Down
Loading