diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..d7fd93b --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,54 @@ + + +## Summary + + + +## Changes + + + +- Affected contracts: +- Public API changes: +- Storage / event changes: +- Deployment impact: + +## Testing + + + +- [ ] `cargo build --release --target wasm32-unknown-unknown` +- [ ] `cargo test --workspace` +- [ ] `cargo clippy --workspace --all-targets -- -D warnings` +- [ ] `cargo fmt --all -- --check` +- New/updated tests: + +## Security considerations + + + +- [ ] Authorization checks preserved on every state-changing entrypoint (`require_auth` on the correct address, called before state reads/writes) +- [ ] No unchecked arithmetic or unbounded storage growth +- [ ] Gas impact assessed (`./scripts/estimate-gas.sh` if execution cost may change): +- [ ] WASM size impact assessed (`./scripts/measure-size.sh` if size may change): + +## Breaking Changes + + + +None + +## Checklist + +- [ ] I read [CONTRIBUTING.md](../CONTRIBUTING.md) and followed the pull request process +- [ ] Documentation and `CHANGELOG.md` updated in this PR (including a **Breaking Changes** entry when applicable) +- [ ] No unrelated formatting, generated files, secrets, or deployment keys included +- [ ] This is not a security vulnerability disclosure (those are reported privately per [SECURITY.md](../SECURITY.md))