diff --git a/src/engine_plugin.cpp b/src/engine_plugin.cpp index 1e4dc95..96d7cda 100644 --- a/src/engine_plugin.cpp +++ b/src/engine_plugin.cpp @@ -61,7 +61,6 @@ class engine_plugin_impl : std::enable_shared_from_this { engine_plugin_impl(const std::string& data_dir, uint32_t num_of_threads, uint32_t max_readers, std::string address, std::optional genesis_json) { node_settings.data_directory = std::make_unique(data_dir, false); - node_settings.etherbase = silkworm::to_evmc_address(silkworm::from_hex("").value()); // TODO determine etherbase name node_settings.chaindata_env_config = {node_settings.data_directory->chaindata().path().string(), false, false}; node_settings.chaindata_env_config.max_readers = max_readers; node_settings.chaindata_env_config.exclusive = false; @@ -115,7 +114,7 @@ class engine_plugin_impl : std::enable_shared_from_this { auto sentry = std::make_shared(); eth.reset(new silkworm::EthereumBackEnd(node_settings, &db_env, sentry)); eth->set_node_name("EOS EVM Node"); - SILK_INFO << "Created Ethereum Backend with network id <" << node_settings.network_id << ">, etherbase <" << node_settings.etherbase->bytes << ">"; + SILK_INFO << "Created Ethereum Backend with network id <" << node_settings.network_id << ">"; server.reset(new silkworm::rpc::BackEndKvServer(server_settings, *eth.get())); } diff --git a/src/rpc_plugin.cpp b/src/rpc_plugin.cpp index 03bc2c1..48d9d6f 100644 --- a/src/rpc_plugin.cpp +++ b/src/rpc_plugin.cpp @@ -99,7 +99,6 @@ void rpc_plugin::plugin_initialize( const appbase::variables_map& options ) try silkworm::NodeSettings node_settings; node_settings.data_directory = std::make_unique(data_dir, false); node_settings.network_id = config.chain_id; - node_settings.etherbase = silkworm::to_evmc_address(silkworm::from_hex("").value()); // TODO determine etherbase name node_settings.chaindata_env_config = {node_settings.data_directory->chaindata().path().string(), false, true, false, false, true}; // bool create{false}; // Whether db file must be created