0

I need to build and run a Node with enabled faucet_testnet_plugin but while building it throws the following errors:

/root/build/eos/plugins/faucet_testnet_plugin/faucet_testnet_plugin.cpp:214:28: error: calling a private constructor of class 'eosio::chain::chain_id_type' chain::chain_id_type chainid; ^ /root/build/eos/libraries/chain/include/eosio/chain/chain_id_type.hpp:40:10: note: declared private here chain_id_type() = default; ^ /root/build/eos/plugins/faucet_testnet_plugin/faucet_testnet_plugin.cpp:216:27: error: too many arguments to function call, expected 0, have 1 plugin.get_chain_id(chainid); ~~~~~~~~~~~~~~~~~~~ ^~~~~~~ /root/build/eos/plugins/chain_plugin/include/eosio/chain_plugin/chain_plugin.hpp:694:4: note: 'get_chain_id' declared here chain::chain_id_type get_chain_id() const; ^ /root/build/eos/plugins/faucet_testnet_plugin/faucet_testnet_plugin.cpp:235:75: error: too few arguments to function call, expected at least 2, have 1 cc.push_transaction( std::make_shared(trx) ); ~~~~~~~~~~~~~~~~~~~ ^ /root/build/eos/libraries/chain/include/eosio/chain/controller.hpp:122:10: note: 'push_transaction' declared here transaction_trace_ptr push_transaction( const transaction_metadata_ptr& trx, fc::time_point deadline, uint32_t billed_cpu_time_us = 0 ); ^ 3 errors generated. plugins/faucet_testnet_plugin/CMakeFiles/faucet_testnet_plugin.dir/build.make:62: recipe for target 'plugins/faucet_testnet_plugin/CMakeFiles/faucet_testnet_plugin.dir/faucet_testnet_plugin.cpp.o' failed make[2]: * [plugins/faucet_testnet_plugin/CMakeFiles/faucet_testnet_plugin.dir/faucet_testnet_plugin.cpp.o] Error 1 CMakeFiles/Makefile2:3003: recipe for target 'plugins/faucet_testnet_plugin/CMakeFiles/faucet_testnet_plugin.dir/all' failed make[1]: * [plugins/faucet_testnet_plugin/CMakeFiles/faucet_testnet_plugin.dir/all] Error 2 Makefile:140: recipe for target 'all' failed make: *** [all] Error 2

Tried with current master and release/1.7.x

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.