Skip to content

Quality: add missing AccessDenied (and related) error variants #384

Description

@josephchimebuka

Summary

Access-control paths return errors that are missing from ContractError (e.g. AccessDenied). Add the variants and map them in bindings.

Acceptance criteria

  • Access-control failures return a dedicated, documented error code
  • Bindings encode the same code/name
  • Negative tests assert the specific error

Where

  • contracts/src/errors.rs
  • contracts/src/access_control.rs
  • bindings/

Metadata

Metadata

Assignees

Labels

RustStellar WaveIssues in the Stellar wave programaccess-controlAllowlist, denylist, pause, policy gatesbugSomething isn't workingcontractpriority: highHigh prioritysecuritySecurity hardening or threat-model work

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions