Implement the complete mapping of all Storage category error subcodes. Storage errors occur when contracts read or write ledger data and hit missing entries, access violations, size limits, or the notoriously unhelpful InternalError that tells developers almost nothing.
Implementation Guidelines
- Create
crates/core/src/decode/mappings/storage.rs
- Map all known subcodes (
ExceededLimit, EntryNotFound, AccessDenied, InternalError, etc.)
- For
InternalError specifically, guide the developer toward diagnostic events since the code alone reveals nothing
Expectations
- What done looks like: Every Storage subcode has a clear explanation. The
InternalError mapping explicitly tells developers how to get more signal.
Implement the complete mapping of all Storage category error subcodes. Storage errors occur when contracts read or write ledger data and hit missing entries, access violations, size limits, or the notoriously unhelpful
InternalErrorthat tells developers almost nothing.Implementation Guidelines
crates/core/src/decode/mappings/storage.rsExceededLimit,EntryNotFound,AccessDenied,InternalError, etc.)InternalErrorspecifically, guide the developer toward diagnostic events since the code alone reveals nothingExpectations
InternalErrormapping explicitly tells developers how to get more signal.