Skip to content

Add Tests for ACL Contract Module #770

Description

@Mosas2000

Description

The ACL contract module has no tests. contracts/soroban/src/acl.rs is implemented but has no corresponding test file in contracts/soroban/tests/ (only asset_locking, source_trust, and relay tests exist). Access-control grant/revoke/check logic is untested.

Requirements and context

  • Add an acl.test.rs covering ACL flows
  • Cover grant, revoke, check, and unauthorized access
  • Run under cargo test
  • Follow the existing contract test conventions

Suggested execution

Fork the repo and create a branch

git checkout -b test/contract-acl

Implement changes

  • Add the ACL test module
  • Cover happy paths and rejection cases
  • Verify with cargo test

Example commit message

test: add tests for ACL contract module

Guidelines

  • Assignment required before starting
  • PR must include a closing reference to this issue
  • Timeframe: 72 hours

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions