IntersectMBO / IntersectMBO/ouroboros-consensus
Catch pure exceptions thrown by the ledger
Open
- Dominant language
- Haskell
- Stars
- 67
- Forks
- 43
- Avg merge
- 5d 13h
- Merged PRs (30d)
- 43
Description
If the ledger-side implementation of a pure ledger method (e.g., `applyLedgerBlock`) throws a pure exception (e.g., `Map.!: given key is not an element in the map`), we should catch it instead of crashing the node (or letting the `ErrorPolicy` handle it).
Such a protective boundary should be put into place in the ChainDB.
Contributor guide
Assessment
This issue has not been assessed yet.