-
Notifications
You must be signed in to change notification settings - Fork 345
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
Add PermanentRestriction tests #747
Add PermanentRestriction tests #747
Conversation
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.
It would be great if we could test the (relevant and then random) values of the public mappings that are affected by calling certain functions.
Rest looks fine.
protocolVersion: 0 | ||
}); | ||
|
||
vm.expectRevert(bytes.concat("STM: owner zero")); |
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.
why do we have this test in the setUp?
} | ||
|
||
function test_allowAdminImplementation(bytes32 implementationHash) public { | ||
vm.expectEmit(); |
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.
topics could be compared
l1-contracts/test/foundry/unit/concrete/governance/Governance/PermanentRestriction.t.sol
Outdated
Show resolved
Hide resolved
I am not sure why coverage fails, I'll assume it is some CI bug and will merge |
5bb65c7
into
matter-labs:sb-limited-chain-amdin
What ❔
This PR adds tests for PermanentRestriction contract.