Skip to content

test: add transfer restriction state consistency tests - #187

Open
edochieblessing09-max wants to merge 1 commit into
Raegis-RWA:mainfrom
edochieblessing09-max:transfer-restrictions-tests
Open

edochieblessing09-max wants to merge 1 commit into
Raegis-RWA:mainfrom
edochieblessing09-max:transfer-restrictions-tests

Conversation

@edochieblessing09-max

Copy link
Copy Markdown

Closes #161

Description

Adds comprehensive integration tests to ensure that transfer restrictions properly revert and maintain state consistency across various lifecycle states.

Acceptance Criteria

  • Non-compliant sender tests are added.
  • Non-compliant recipient tests are added.
  • Paused or restricted asset tests are added.
  • Unauthorised transfer states are tested (Retired/Blocked).
  • State remains consistent after failed transfers (balances and total supply do not mutate).
  • Docs explain transfer restrictions (verified existing docs/transfer-restrictions.md).

Additional Notes

This improves protocol safety by confirming that invalid transfers leave the ledger fully intact and strictly enforce compliance/lifecycle bounds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Aegis transfer restriction tests

1 participant