-
Notifications
You must be signed in to change notification settings - Fork 58
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
Unit Test Multisig Task Contract #497
Unit Test Multisig Task Contract #497
Conversation
Signed-off-by: Elliot <[email protected]>
Signed-off-by: Elliot <[email protected]>
Same question as I asked in discord, is this test adding anymore value that #485 isn't already adding? |
I wanted to make this a unit test version of #485 but it became clear that the following things would need to be true for the unit test to work without being on mainnet:
|
Signed-off-by: Elliot <[email protected]>
Signed-off-by: Elliot <[email protected]>
Signed-off-by: Elliot <[email protected]>
I think the value that these tests are adding is that these are covering more untested branches in the MultisigTask contract. @ElliotFriedman can confirm. @blmalone |
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.
lgtm
Signed-off-by: Elliot <[email protected]>
Signed-off-by: Elliot <[email protected]>
Signed-off-by: Elliot <[email protected]>
…bs-io/superchain-ops into feat/unit-test-multisig-task
Signed-off-by: Elliot <[email protected]>
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.
This is my first pass. I still have to finish going through all the files.
Signed-off-by: Elliot <[email protected]>
Signed-off-by: Elliot <[email protected]>
Signed-off-by: Elliot <[email protected]>
Signed-off-by: Elliot <[email protected]>
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's looking great. I've completed my final pass. I approved on the basis the comments are addressed here.
Signed-off-by: Elliot <[email protected]>
Signed-off-by: Elliot <[email protected]>
Signed-off-by: Elliot <[email protected]>
Signed-off-by: Elliot <[email protected]>
Unit Test Multisig Contract
Add the most unit test like contracts we can for the MultisigTask file
Tests
These tests look for calldata length, targets and values to make sure they all line up.
Metadata
#480