trie: add try-catch for "Missing node in DB" in ReadStream #1515
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
_findValueNodes
callswalkTrie
which in turn callslookupNode
, soMissing node in DB
error should be caught.I have put a try-catch similar to https://github.com/ethereumjs/ethereumjs-monorepo/blob/master/packages/trie/src/baseTrie.ts#L238
This is about fixing this: https://circleci.com/api/v1.1/project/github/ethereum/remix-project/32843/output/104/0?file=true&allocation-id=615c60796785da3d6aca99c6-0-build%2F1FF9D10F ( See remix-tests:test & remix-debug:test or search
Missing node in DB
)cc: @yann300