Skip to content

Add regression test for pause blocking registration not reads#462

Open
10xwhoman wants to merge 2 commits into
accesslayerorg:mainfrom
10xwhoman:test/pause-regression-blocks-registration
Open

Add regression test for pause blocking registration not reads#462
10xwhoman wants to merge 2 commits into
accesslayerorg:mainfrom
10xwhoman:test/pause-regression-blocks-registration

Conversation

@10xwhoman

Copy link
Copy Markdown

Summary

  • Adds test_pause_blocks_registration_not_reads to the emergency_pause integration test suite
  • Verifies that register_creator reverts with ProtocolPaused while the protocol is paused
  • Verifies that read-only view functions (is_creator_registered, get_creator_details, get_total_key_supply) remain live while paused
  • Verifies that registration succeeds again after unpause

Test plan

  • cargo test -p creator-keys --test emergency_pause test_pause_blocks_registration_not_reads passes
  • All existing emergency_pause tests still pass

Closes #452

…on not reads

Adds `test_pause_blocks_registration_not_reads` to the emergency_pause
integration suite. The test verifies that:
- `register_creator` reverts with `ProtocolPaused` while the protocol is paused
- Read-only view functions (`is_creator_registered`, `get_creator_details`,
  `get_total_key_supply`) remain live while paused
- Registration succeeds again after `unpause`

Closes accesslayerorg#452
@drips-wave

drips-wave Bot commented Jun 26, 2026

Copy link
Copy Markdown

@10xwhoman Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

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 regression test for emergency pause blocking registration but not affecting existing creator reads

1 participant