Skip to content

Fix pause exemption logic in whenNotPaused#58

Open
cinnabarhorse wants to merge 1 commit intomasterfrom
codex/fix-pause-exemption-whennotpaused
Open

Fix pause exemption logic in whenNotPaused#58
cinnabarhorse wants to merge 1 commit intomasterfrom
codex/fix-pause-exemption-whennotpaused

Conversation

@cinnabarhorse
Copy link
Member

Summary

  • fix whenNotPaused exemption logic to correctly allow contract owner and relayerPetter while paused
  • replace || with && in the pause guard
  • add Foundry regression tests for exempt and non-exempt callers

Test Plan

  • forge test --match-path test/foundryTests/WhenNotPausedExemption.t.sol

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.

1 participant