Storage and extrinsics follow predictable patterns
Dispatchable calls gated with appropriate ensure_signed or ensure_root
ensure_signed
ensure_root
Events emitted consistently
Panic conditions avoided using Checked* arithmetic and result handling
Checked*
Recommendations
Missing negative test cases
Add edge cases for unauthorised or malformed inputs
Medium
Documentation gaps in functions
Expand inline comments for public APIs
Low
Storage migration untested
Add mock migration test in try-runtime
try-runtime
High
Last updated 8 months ago