Skip to content

Commit

Permalink
Merge pull request #232 from eosnetworkfoundation/yarkin/enable_eth_g…
Browse files Browse the repository at this point in the history
…as_price

[1.0] Enable eth_gasPrice
  • Loading branch information
yarkinwho authored Dec 16, 2024
2 parents 00bb2a5 + a1973fd commit ed47133
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion silkworm/silkrpc/commands/rpc_api_table.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ void RpcApiTable::add_eth_handlers() {
method_handlers_[http::method::k_eth_chainId] = &commands::RpcApi::handle_eth_chain_id;
method_handlers_[http::method::k_eth_protocolVersion] = &commands::RpcApi::handle_eth_protocol_version;
method_handlers_[http::method::k_eth_syncing] = &commands::RpcApi::handle_eth_syncing;
//method_handlers_[http::method::k_eth_gasPrice] = &commands::RpcApi::handle_eth_gas_price;
method_handlers_[http::method::k_eth_gasPrice] = &commands::RpcApi::handle_eth_gas_price;
method_handlers_[http::method::k_eth_getBlockByHash] = &commands::RpcApi::handle_eth_get_block_by_hash;
method_handlers_[http::method::k_eth_getBlockByNumber] = &commands::RpcApi::handle_eth_get_block_by_number;
method_handlers_[http::method::k_eth_getBlockTransactionCountByHash] = &commands::RpcApi::handle_eth_get_block_transaction_count_by_hash;
Expand Down

0 comments on commit ed47133

Please sign in to comment.