Skip to content

Commit 7caa059

Browse files
committed
dual integration test fix attempt
1 parent 8ab725f commit 7caa059

File tree

3 files changed

+29
-21
lines changed

3 files changed

+29
-21
lines changed

publish/deployed/local-ovm/config.json

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -113,24 +113,33 @@
113113
"TokenStatesUSD": {
114114
"deploy": true
115115
},
116-
"TokenStatesETH": {
116+
"TokenStatesBTC": {
117117
"deploy": true
118118
},
119-
"TokenStatesBTC": {
119+
"ProxysBTC": {
120120
"deploy": true
121121
},
122-
"ProxysETH": {
122+
"SynthsBTC": {
123123
"deploy": true
124124
},
125-
"ProxysBTC": {
125+
"TokenStatesETH": {
126126
"deploy": true
127127
},
128-
"SynthsBTC": {
128+
"ProxysETH": {
129129
"deploy": true
130130
},
131131
"SynthsETH": {
132132
"deploy": true
133133
},
134+
"TokenStatesLINK": {
135+
"deploy": true
136+
},
137+
"ProxysLINK": {
138+
"deploy": true
139+
},
140+
"SynthsLINK": {
141+
"deploy": true
142+
},
134143
"SynthetixBridgeToBase": {
135144
"deploy": true
136145
},
@@ -149,27 +158,15 @@
149158
"EtherWrapper": {
150159
"deploy": true
151160
},
152-
"ProxyFuturesMarketBTC": {
153-
"deploy": true
154-
},
155161
"FuturesMarketBTC": {
156162
"deploy": true
157163
},
158-
"ProxyFuturesMarketETH": {
159-
"deploy": true
160-
},
161164
"FuturesMarketETH": {
162165
"deploy": true
163166
},
164-
"ProxyFuturesMarketLINK": {
165-
"deploy": true
166-
},
167167
"FuturesMarketLINK": {
168168
"deploy": true
169169
},
170-
"ProxyFuturesMarketManager": {
171-
"deploy": true
172-
},
173170
"FuturesMarketManager": {
174171
"deploy": true
175172
},

test/integration/utils/bootstrap.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,10 @@ function bootstrapL2({ ctx }) {
8484

8585
function bootstrapDual({ ctx }) {
8686
before('bootstrap layer 1 and layer 2 instances', async () => {
87-
ctx.l1 = { useOvm: false };
88-
ctx.l2 = { useOvm: true };
87+
const addedSynths = hre.config.addedSynths || [];
88+
89+
ctx.l1 = { useOvm: false, addedSynths };
90+
ctx.l2 = { useOvm: true, addedSynths };
8991

9092
ctx.l2.l1 = ctx.l1;
9193

test/integration/utils/rates.js

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,18 @@ async function _areRatesInvalid({ ctx }) {
6060
}
6161

6262
async function _printCacheInfo({ ctx }) {
63-
const { DebtCache } = ctx.contracts;
63+
const { DebtCache, Issuer, FuturesMarketManager, CollateralManager } = ctx.contracts;
64+
65+
console.log('debt-cache', await DebtCache.cacheInfo());
66+
67+
console.log('keys', await Issuer.availableCurrencyKeys());
68+
69+
console.log('futures', await FuturesMarketManager.totalDebt());
70+
71+
console.log('collat long', await CollateralManager.totalLong());
72+
console.log('collat short', await CollateralManager.totalShort());
6473

65-
console.log(await DebtCache.cacheInfo());
74+
await _printRatesInfo({ ctx });
6675
}
6776

6877
async function _printRatesInfo({ ctx }) {

0 commit comments

Comments
 (0)