Skip to content

test(progress-tracker): verify delegation caller error message - #688

Merged
DeFiVC merged 1 commit into
ChainLearnOfficial:mainfrom
Salamanca-devs:test/progress-delegation-error-messages
Oct 21, 2026
Merged

DeFiVC merged 1 commit into
ChainLearnOfficial:mainfrom
Salamanca-devs:test/progress-delegation-error-messages

Conversation

@Mainnet-ops

Copy link
Copy Markdown
Contributor

Pull Request

Summary

Changes

Testing

  • cargo build --release --target wasm32-unknown-unknown
  • cargo test --workspace
  • cargo clippy --workspace --all-targets -- -D warnings
  • cargo fmt --all -- --check

Security Considerations

  • Authorization is preserved and require_auth() is called before any state read/write on every state-changing entrypoint
  • Role-based access control (Admin/Minter/Pauser) is enforced and revocation takes effect immediately
  • Initialization/re-initialization guards are intact (rejects double-initialization)
  • Arithmetic uses checked or saturating operations; supply and reward bounds hold
  • Cross-contract calls remain read-only and resolve the progress-tracker address once per batch
  • Storage layout changes are documented with a migration/upgrade plan (see docs/upgrade-guide.md)
  • Transfer restrictions and soulbound credential rules are unchanged
  • All state-changing operations emit appropriate events
  • No hardcoded addresses or private keys; no unsafe; #[no_std] preserved
  • New/changed public functions have doc comments and test coverage for error conditions

Breaking Changes

None

Checklist

  • One focused change; no unrelated formatting, generated files, secrets, or deployment keys
  • Branch is created from the current main
  • Documentation and CHANGELOG.md updated (including a Breaking Changes entry when applicable)
  • Required local checks above pass with no failures
  • Linked issue(s) referenced in the Summary
  • All testable acceptance criteria in the linked issue(s) are met

Closes #592
Closes #593
Closes #591
Closes #590

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@DeFiVC
DeFiVC merged commit 832bdf9 into ChainLearnOfficial:main Oct 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants