ChainSafe / ChainSafe/gossamer
(pkg/trie): Replace unnecesary panics to errors
Open
S-trie
T-refactor
- Dominant language
- Go
- Stars
- 454
- Forks
- 144
- PR merge metrics
- No merged PRs in 30d
Description
We had to introduce some panics while working on lazy loading trie to simplify the implementation and prevent a bigger refactor.
We should replace those panics to errors to handle the errors gracefully
More context [here](https://github.com/ChainSafe/gossamer/pull/3884#discussion_r1580606568)
Contributor guide
Assessment
This issue has not been assessed yet.