eos-wallet-keychain icon indicating copy to clipboard operation
eos-wallet-keychain copied to clipboard

Updates for EOS v1

Open emperorjm opened this issue 6 years ago • 1 comments

I am trying to setup up both the Wallet and the API Service to interact with version 1.0 of the EOS software. I have made the required changes to the config.ini file "~/.local/share/eosio/nodeos/config" and I am getting the following error:

Throw in function appbase::abstract_plugin &appbase::application::get_plugin(const string &) const Dynamic exception type: boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<std::runtime_error> > std::exception::what: unable to find plugin: eosio::db_plugin

Another issue I am having is how to find the MongoDB instance with the credentials used to connect the Nodeos instance. After reading some issues within the EOS issue queue, they might be removing support for the MongoDB plugin. Is there any upgrade path to use the new SQL plugin?

emperorjm avatar Jun 09 '18 05:06 emperorjm

The eosio::db_plugin is obsolete and was replaced by the eosio::mongo_db_plugin while the eosio::account_history_api_plugin and eosio::account_history_plugin plugins were replaced by the eosio::history_api_plugin and eosio::history_plugin.

The problem is now with the "mongo_db_plugin" as the EOS team seem to have been rushing to go live with Dawn 4 and the mongo_db_plugin had issues and so they decided to leave it out of the distribution by commenting out the build statements. When I uncomment the build statements for the mongo_db_plugin the build fails with many errors which are shown here: https://github.com/EOSIO/eos/issues/3030.

It has been recommended in multiple issue posts that the "sql_db_plugin" should be used instead as it seems as if the "mongo_db_plugin" will not be maintained even though this post https://github.com/EOSIO/eos/issues/4194#issuecomment-398216434 says work is ongoing on the mongo_db_plugin fix.The issue with the "sql_db_plugin" is that it will be using the MySQL database so it wouldn't work with this package.

So nothing can be done at the moment without the "mongo_db_plugin".

emperorjm avatar Jun 20 '18 13:06 emperorjm