@@ -2,7 +2,6 @@ import * as utils from "@across-protocol/contracts-v2/dist/test-utils";
2
2
import { Contract } from "ethers" ;
3
3
import { SignerWithAddress } from "@nomiclabs/hardhat-ethers/signers" ;
4
4
import { utf8ToHex , identifier , refundProposalLiveness } from "@across-protocol/contracts-v2/dist/test-utils" ;
5
- import { interfaceName } from "@uma/common" ;
6
5
7
6
export async function setupUmaEcosystem ( owner : SignerWithAddress ) : Promise < {
8
7
timer : Contract ;
@@ -25,11 +24,11 @@ export async function setupUmaEcosystem(owner: SignerWithAddress): Promise<{
25
24
const store = await (
26
25
await utils . getContractFactory ( "Store" , owner )
27
26
) . deploy ( { rawValue : "0" } , { rawValue : "0" } , timer . address ) ;
28
- await finder . changeImplementationAddress ( utf8ToHex ( interfaceName . CollateralWhitelist ) , collateralWhitelist . address ) ;
29
- await finder . changeImplementationAddress ( utf8ToHex ( interfaceName . IdentifierWhitelist ) , identifierWhitelist . address ) ;
30
- await finder . changeImplementationAddress ( utf8ToHex ( interfaceName . SkinnyOptimisticOracle ) , optimisticOracle . address ) ;
31
- await finder . changeImplementationAddress ( utf8ToHex ( interfaceName . Store ) , store . address ) ;
32
- await finder . changeImplementationAddress ( utf8ToHex ( interfaceName . Oracle ) , mockOracle . address ) ;
27
+ await finder . changeImplementationAddress ( utf8ToHex ( " CollateralWhitelist" ) , collateralWhitelist . address ) ;
28
+ await finder . changeImplementationAddress ( utf8ToHex ( " IdentifierWhitelist" ) , identifierWhitelist . address ) ;
29
+ await finder . changeImplementationAddress ( utf8ToHex ( " SkinnyOptimisticOracle" ) , optimisticOracle . address ) ;
30
+ await finder . changeImplementationAddress ( utf8ToHex ( " Store" ) , store . address ) ;
31
+ await finder . changeImplementationAddress ( utf8ToHex ( " Oracle" ) , mockOracle . address ) ;
33
32
await identifierWhitelist . addSupportedIdentifier ( identifier ) ;
34
33
return {
35
34
timer,
0 commit comments