File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -17,13 +17,13 @@ import {SnapShotExecutor} from "../src/libs/governance/snapShotExecutor.sol";
17
17
import {SafeTxHelper} from "../test/libraries/safeTxHelper.sol " ;
18
18
import {IGnosisSafe, GnosisTransaction, IMultiSendCallOnly} from "../test/libraries/safe.t.sol " ;
19
19
20
- contract MockFailSafeImplant {
20
+ contract PlaceholderFailSafeImplant {
21
21
uint256 public immutable IMPLANT_ID = 0 ;
22
22
23
- error MockFailSafeImplant_UnexpectedTrigger ();
23
+ error PlaceholderFailSafeImplant_UnexpectedTrigger ();
24
24
25
25
function recoverSafeFunds () external {
26
- revert MockFailSafeImplant_UnexpectedTrigger ();
26
+ revert PlaceholderFailSafeImplant_UnexpectedTrigger ();
27
27
}
28
28
}
29
29
@@ -116,7 +116,7 @@ contract YearnBorgDeployScript is Script {
116
116
eject = new ejectImplant (
117
117
implantAuth,
118
118
address (ychadSafe),
119
- address (new MockFailSafeImplant ()), // _failSafe
119
+ address (new PlaceholderFailSafeImplant ()), // Placeholder because Yearn BORG does not use failSafe
120
120
true , // _allowManagement
121
121
true // _allowEjection
122
122
);
Original file line number Diff line number Diff line change @@ -159,6 +159,12 @@ contract YearnBorgAcceptanceTest is Test {
159
159
assertEq (snapShotExecutor.pendingProposalLimit (), 3 , "Unexpected pendingProposalLimit " );
160
160
}
161
161
162
+ function testEjectImplantMeta () public {
163
+ assertEq (eject.failSafeSignerThreshold (), 0 , "Unexpected failSafeSignerThreshold " );
164
+ assertTrue (eject.ALLOW_AUTH_MANAGEMENT (), "Auth management should be allowed " );
165
+ assertTrue (eject.ALLOW_AUTH_EJECT (), "Auth ejection should be allowed " );
166
+ }
167
+
162
168
/// @dev Safe normal operations should be unrestricted
163
169
function testSafeOpUnrestricted () public {
164
170
{
You can’t perform that action at this time.
0 commit comments