-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unexpected Error: RuntimeCode(":code
hash not found")
#449
Comments
A bit of a guess, but it looks like this error is in the area of attempting to sync the RocksDB secondary database with the primary one. I don't have any particularly good suggestions other than, check the wiki, make sure that the path to the rocksDB database is correct, and make sure that the substrate node is using RocksDB (and not eg ParityDB). If you find a solution, I'd love to hear back on what it was :) |
I suspect that the |
I'm also facing the same issue, I managed to make it work but once I stopped it and try to use again, the same error appears. After a few attempts, it worked again and on stop, again fails to run. I don't know what is going on tbh |
Same issue here, for me, the first time I start substrate node then substrate archive report |
yeah,When the substrate node is started for the first time, it must be interrupted and restart then it can work normally. |
I will check,Thanks. |
Now I use polkadot-v0 9.17, and I found that the chainType of my node is Development, but I configured Local in the archive. Will this affect. |
in substrate-archive-backend/database.rs
when db get return None,Error: Backend error: Unexpected Error: RuntimeCode(":code hash not found") will happen. |
Yes, it seems that there should be a problem when getting the genesis hash, but it doesn't happen every time. Try several times and you will succeed once. Do you have any new clues. |
When I want to run node-template-archive,and set the data_path like "/var/folders/wn/kxwzfpj11jvfyky_ppb9g_sh0000gn/T/substrate22wl8x/chains/dev/db/full",It happens an error,like below:
INFO Open RocksDB at /var/folders/wn/kxwzfpj11jvfyky_ppb9g_sh0000gn/T/substrate22wl8x/chains/dev/db/full, state column budget: 115 MiB, others(11) column cache: 1 MiB
Error: Backend error: Unexpected Error: RuntimeCode("
:code
hash not found")What should I do for this?
The text was updated successfully, but these errors were encountered: