Conversation
Just notice that the LevelDb is indeed in the folder and it is there. THe cause of the error is not the missing plugin. |
|
#4270 (comment) We're not in this case. |
No, but it could be useful |
|
Which plugin does it install automatically? |
if LevelDB (or RocksDB depending on your configuration) is configured but not installed it will be installed automatically |
|
Is this ported to neo-project/neo-node#910 ? |
No. Unmerged changes are not ported. |
|
Please @ajara87 move this changes to neo-node repo |
Description
To avoid error
"Can't find the storage provider LevelDBStore (Parameter 'storageProvider')"which happend when LevelDBStore are not located in Plugins. This PR try to auto-install storage prover if it's not available at method start of MainService.It should be noted that if you publish locally
neo-cli, plugins are removedand and try to run then the storage provider auto-install can be the released one and can be different from local version, showing up an error like"Unhandled exception. System.TypeLoadException: Method 'add_OnNewSnapshot' in type 'Neo.Plugins.Storage.Store' from assembly 'LevelDBStore, Version=3.8.1.0, Culture=neutral, PublicKeyToken=null' does not have an implementation."in case something is different between both versions.Change Log
Fixes #4270
Type of change
How Has This Been Tested?
Checklist: