-
Notifications
You must be signed in to change notification settings - Fork 104
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
Deployment scripts for BeefyClient & Gateway #1190
Conversation
contracts/scripts/Deploy.sol
Outdated
@@ -18,4 +18,4 @@ contract Stage1 is Script { | |||
|
|||
vm.stopBroadcast(); | |||
} | |||
} | |||
} |
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.
Nit: whitespace
assertEq(MockGatewayV2(address(gateway)).getValue(), 42); | ||
} | ||
|
||
function testRescuebyPublicFails() public { |
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.
We could make this test use dropRescueAbility
to relinquish the rescuer address, and then try upgrade using the rescuer address. This will test both paths.
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.
added a test in the latest upload
Fixes: SNO-994
Fee parameter calculations in https://www.notion.so/snowfork/Gateway-Parameters-0cf913d089374027a86721883306ee61?pvs=4