-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setup certora workflow #96
base: main
Are you sure you want to change the base?
Conversation
Pull Request Test Coverage Report for Build 6299064684
💛 - Coveralls |
… feature-95-formal-verification
… feature-95-formal-verification
@@ -83,6 +83,8 @@ contract SafeProtocolManager is ISafeProtocolManager, RegistryManager, HooksMana | |||
if (areHooksEnabled) { | |||
// execution metadata for transaction execution through plugin is encoded address of the plugin i.e. msg.sender. | |||
// executionType = 1 for plugin flow | |||
// should check below exist here? | |||
checkPermittedModule(hooksAddress); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should revert or skip if flagged?
@@ -140,6 +142,8 @@ contract SafeProtocolManager is ISafeProtocolManager, RegistryManager, HooksMana | |||
if (areHooksEnabled) { | |||
// execution metadata for transaction execution through plugin is encoded address of the plugin i.e. msg.sender. | |||
// executionType = 1 for plugin flow | |||
// should check below exist here? | |||
checkPermittedModule(hooksAddress); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should revert or skip if flagged?
@@ -69,6 +69,8 @@ abstract contract FunctionHandlerManager is RegistryManager { | |||
revert FunctionHandlerNotSet(account, functionSelector); | |||
} | |||
|
|||
checkPermittedModule(functionHandler); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should revert or skip if flagged?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In my opinion, since this doesn't affect the core execution flow, it's OK to revert here.
Fixes #95
Changes in PR:
certora.yml
CERTORA_KEY
in github secretsAdd Rules and invariants
Additional properties: