Skip to content

Commit 582ffbd

Browse files
authored
Migrate tests to use USDS and SKY (#31)
* Migrate tests to use USDS and SKY * Some fixes * Fix styling * More styling fixes * Standardize use of pips for tests and make use more logic prices for the assets
1 parent 6a5813a commit 582ffbd

File tree

6 files changed

+302
-289
lines changed

6 files changed

+302
-289
lines changed

deploy/FlapperInit.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ interface PairLike {
5151
}
5252

5353
interface UsdsJoinLike {
54-
function dai() external view returns (address); // TODO: Replace when new join is ready by the new getter
54+
function usds() external view returns (address);
5555
}
5656

5757
interface SplitterLike {
@@ -158,7 +158,7 @@ library FlapperInit {
158158
FarmLike farm = FarmLike(farm_);
159159
SplitterLike splitter = SplitterLike(cfg.splitter);
160160

161-
require(farm.rewardsToken() == UsdsJoinLike(cfg.usdsJoin).dai(), "Farm rewards not usds");
161+
require(farm.rewardsToken() == UsdsJoinLike(cfg.usdsJoin).usds(), "Farm rewards not usds");
162162
// Staking token is checked in the Lockstake script
163163

164164
// The following two checks enforce the initSplitter function has to be called first

0 commit comments

Comments
 (0)