Skip to content

Commit

Permalink
Enable eth_gasPrice
Browse files Browse the repository at this point in the history
  • Loading branch information
yarkinwho committed Dec 2, 2024
1 parent c526cad commit a1973fd
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 a1973fd

Please sign in to comment.