rust-sdk-pitfalls - Review Miden Rust SDK safety pitfalls
Reviews Miden Rust contract code for felt arithmetic, comparison, boundary limits, storage, asset, note, and no-std pitfalls.
Tags
Updated: 2026-12-05Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Check Felt subtraction safety
- Compare quantities canonically
- Validate cross-context argument limits
- Review component boundary signatures
- Check storage and asset layouts
- Verify note construction rules
- Check note input immutability
- Review no-std setup
Inputs
- Miden Rust contract code
- Component interface definitions
- Project toolchain configuration
- SDK and crate versions
Outputs
- Pitfall findings
- Safety recommendations
- Boundary compatibility guidance
- Code review guidance
Requirements
- Miden guest SDK 0.15.0
- miden-sdk-build-script-support 0.15.0
- nightly-2026-09-01 toolchain
- cargo-miden 0.11.0
- Protocol and standards crates 0.18.0
- VM and package crates 0.36 series
