@@ -169,11 +169,9 @@ contract MegaPokerTest is DSTest, PokingAddresses {
169
169
170
170
// Whitelisting tester address
171
171
hevm.store (btc, keccak256 (abi.encode (address (this ), uint256 (5 ))), bytes32 (uint256 (1 )));
172
- hevm.store (crvv1ethsteth, keccak256 (abi.encode (address (this ), uint256 (2 ))), bytes32 (uint256 (1 )));
173
172
hevm.store (eth, keccak256 (abi.encode (address (this ), uint256 (5 ))), bytes32 (uint256 (1 )));
174
173
hevm.store (guniv3daiusdc1, keccak256 (abi.encode (address (this ), uint256 (2 ))), bytes32 (uint256 (1 )));
175
174
hevm.store (guniv3daiusdc2, keccak256 (abi.encode (address (this ), uint256 (2 ))), bytes32 (uint256 (1 )));
176
- hevm.store (reth, keccak256 (abi.encode (address (this ), uint256 (5 ))), bytes32 (uint256 (1 )));
177
175
hevm.store (univ2daiusdc, keccak256 (abi.encode (address (this ), uint256 (2 ))), bytes32 (uint256 (1 )));
178
176
hevm.store (wsteth, keccak256 (abi.encode (address (this ), uint256 (5 ))), bytes32 (uint256 (1 )));
179
177
hevm.store (mkr, keccak256 (abi.encode (address (this ), uint256 (5 ))), bytes32 (uint256 (1 )));
@@ -218,11 +216,9 @@ contract MegaPokerTest is DSTest, PokingAddresses {
218
216
// Hacking nxt price to 0x123 (and making it valid)
219
217
bytes32 hackedValue = 0x0000000000000000000000000000000100000000000000000000000000000123 ;
220
218
hevm.store (btc, bytes32 (uint256 (4 )), hackedValue);
221
- hevm.store (crvv1ethsteth, bytes32 (uint256 (4 )), hackedValue);
222
219
hevm.store (eth, bytes32 (uint256 (4 )), hackedValue);
223
220
hevm.store (guniv3daiusdc1, bytes32 (uint256 (4 )), hackedValue);
224
221
hevm.store (guniv3daiusdc2, bytes32 (uint256 (4 )), hackedValue);
225
- hevm.store (reth, bytes32 (uint256 (4 )), hackedValue);
226
222
hevm.store (univ2daiusdc, bytes32 (uint256 (4 )), hackedValue);
227
223
hevm.store (wsteth, bytes32 (uint256 (4 )), hackedValue);
228
224
hevm.store (mkr, bytes32 (uint256 (4 )), hackedValue);
@@ -232,11 +228,9 @@ contract MegaPokerTest is DSTest, PokingAddresses {
232
228
233
229
assertTrue (OsmLike (btc).read () != hackedValue);
234
230
assertTrue (OsmLike (eth).read () != hackedValue);
235
- assertTrue (OsmLike (reth).read () != hackedValue);
236
231
assertTrue (OsmLike (wsteth).read () != hackedValue);
237
232
assertTrue (OsmLike (mkr).read () != hackedValue);
238
233
239
- assertTrue (OsmLike (crvv1ethsteth).read () != hackedValue);
240
234
assertTrue (OsmLike (guniv3daiusdc1).read () != hackedValue);
241
235
assertTrue (OsmLike (guniv3daiusdc2).read () != hackedValue);
242
236
assertTrue (OsmLike (univ2daiusdc).read () != hackedValue);
@@ -246,12 +240,10 @@ contract MegaPokerTest is DSTest, PokingAddresses {
246
240
247
241
assertEq (OsmLike (btc).read (), hackedValue);
248
242
assertEq (OsmLike (eth).read (), hackedValue);
249
- assertEq (OsmLike (reth).read (), hackedValue);
250
243
assertEq (OsmLike (wsteth).read (), hackedValue);
251
244
assertEq (OsmLike (mkr).read (), hackedValue);
252
245
253
246
// Daily OSM's are not updated after one hour
254
- assertTrue (OsmLike (crvv1ethsteth).read () != hackedValue);
255
247
assertTrue (OsmLike (guniv3daiusdc1).read () != hackedValue);
256
248
assertTrue (OsmLike (guniv3daiusdc2).read () != hackedValue);
257
249
assertTrue (OsmLike (univ2daiusdc).read () != hackedValue);
@@ -283,17 +275,11 @@ contract MegaPokerTest is DSTest, PokingAddresses {
283
275
(, mat) = SpotLike (spotter).ilks ("WBTC-C " );
284
276
(,, spot,,) = vat.ilks ("WBTC-C " );
285
277
assertEq (spot, _rdiv (value, mat));
286
- (, mat) = SpotLike (spotter).ilks ("RETH-A " );
287
- (,, spot,,) = vat.ilks ("RETH-A " );
288
- assertEq (spot, _rdiv (value, mat));
289
278
(, mat) = SpotLike (spotter).ilks ("LSE-MKR-A " );
290
279
(,, spot,,) = vat.ilks ("LSE-MKR-A " );
291
280
assertEq (spot, _rdiv (value, mat));
292
281
293
282
// These collateral types should not be updated after 1 hour
294
- (, mat) = SpotLike (spotter).ilks ("CRVV1ETHSTETH-A " );
295
- (,, spot,,) = vat.ilks ("CRVV1ETHSTETH-A " );
296
- assertTrue (spot != _rdiv (value, mat));
297
283
(, mat) = SpotLike (spotter).ilks ("GUNIV3DAIUSDC1-A " );
298
284
(,, spot,,) = vat.ilks ("GUNIV3DAIUSDC1-A " );
299
285
assertTrue (spot != _rdiv (value, mat));
0 commit comments