Expose signer fraud and abort liquidation starters
Granting acess for testing
@@ -90,6 +90,7 @@ contract TestDeposit is Deposit {
self.liquidationInitiated = _liquidation;
self.courtesyCallInitiated = _courtesy;
}
+
function setLiquidationInitiator(address payable _initiator) public {
self.liquidationInitiator = _initiator;
}
@@ -189,6 +190,14 @@ contract TestDeposit is Deposit {
self.approvedDigests[_digest] = _timestamp;
}
+ function startSignerFraudLiquidation() public {
+ self.startSignerFraudLiquidation();
+ }
+
+ function startSignerAbortLiquidation() public {
+ self.startSignerAbortLiquidation();
+ }
+
// passthrough for direct testing
function approveDigest(bytes32 _digest) public {
return self.approveDigest(_digest);
