0xMiden / 0xMiden/protocol

Handling of IO errors

Open
#2,010 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
132
Forks
167
Avg merge
1d 23h
Merged PRs (30d)
110

Description

Currently any IO errors are going to cause a panic, for the most part since our trait design evolved around in-memory only. Now this is fine for the most part, most libraries like rocksdb do this internally, however, for custom code we require diligence to not i.e. panic on an `EAGAIN` which is non-fatal (not specific to `SmtStore`). These are two separate concerns, yet they're closely related - error handling of IO related errors.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.