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

[SC-324] Deny can be triggered by auth #8

Merged
merged 4 commits into from
Feb 27, 2024

Conversation

hexonaut
Copy link
Contributor

@hexonaut hexonaut commented Feb 12, 2024

Allow deny to be called by auth instead of only the owner. This will allow both the MKR spell and the multisig itself to remove its own access. This is important in the event of abuse.

It's ok to allow the multisig to remove itself as this should be grouped into the same category as abuse. IE 2+ of the signers are doing things they shouldn't be doing.

@hexonaut hexonaut self-assigned this Feb 12, 2024
Copy link

@barrutko barrutko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@lucas-manuel lucas-manuel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small changes and a question

src/SparkLendFreezerMom.sol Show resolved Hide resolved
test/SparkLendFreezerMom.t.sol Outdated Show resolved Hide resolved
Copy link

Coverage after merging SC-324-remove-multisig-no-delay into master will be

100.00%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
src
   SparkLendFreezerMom.sol100%100%100%100%
src/spells
   EmergencySpell_SparkLend_FreezeAllAssets.sol100%100%100%100%
   EmergencySpell_SparkLend_FreezeSingleAsset.sol100%100%100%100%
   EmergencySpell_SparkLend_PauseAllAssets.sol100%100%100%100%
   EmergencySpell_SparkLend_PauseSingleAsset.sol100%100%100%100%
   EmergencySpell_SparkLend_RemoveMultisig.sol100%100%100%100%

@hexonaut hexonaut merged commit 54f3284 into master Feb 27, 2024
3 checks passed
@hexonaut hexonaut deleted the SC-324-remove-multisig-no-delay branch February 27, 2024 18:29
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