Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@hanzel98
Copy link
Contributor

@hanzel98 hanzel98 commented Mar 7, 2025

What?

  • Added new modifiers onlySingleCallTypeMode, onlyBatchCallTypeMode, onlyDefaultExecutionMode, onlyTryExecutionMode, these allow to restrict the enforcer functions by execution mode and callType mode.
  • Modified the tests to use the modes from the baseTest instead of recreating the modes on each test

Why?

  • Some enforcers required validation against a try mode that doesn't revert on failures, execution mode modifiers validate that.

How?

  • Separate enforcers allow to customize the functions, they can be combined, one callTypeMode and one executionMode

@hanzel98 hanzel98 requested a review from a team as a code owner March 7, 2025 22:41
@hanzel98 hanzel98 self-assigned this Mar 7, 2025
@hanzel98 hanzel98 force-pushed the fix/audit-feb-2025-7.2.1 branch from 3b8f59f to 7f43e72 Compare March 8, 2025 01:57
@hanzel98 hanzel98 merged commit cdd39c6 into main Mar 8, 2025
4 checks passed
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.

3 participants