Skip to content
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

Allow triggering multiple times after the module has been triggered once #4

Merged
merged 2 commits into from
Mar 18, 2024

Conversation

hexonaut
Copy link
Contributor

ChainSecurity audit brought up a good point that the kill switch module might be triggered while a new asset is being onboarded. It will be better to disable borrowing on that new asset with a repeated call to trigger() and only when governance explicitly resets the module we go back into default mode.

barrutko
barrutko previously approved these changes Mar 18, 2024
Copy link

Coverage after merging allow-multiple-triggers into master will be

100.00%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
src
   KillSwitchOracle.sol98.33%94.44%100%100%122

@hexonaut hexonaut merged commit 1acd690 into master Mar 18, 2024
3 checks passed
@hexonaut hexonaut deleted the allow-multiple-triggers branch March 18, 2024 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants