Skip to content

Commit

Permalink
fix: more clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
MishaShWoof committed Jun 21, 2024
1 parent e192258 commit c947c57
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -196,26 +196,25 @@ export default migration('1713283675_configurate_and_ens', {

const stateChanges = await diffState(comet, getCometConfig, preMigrationBlockNumber);

// uncomment on on-chain proposal PR
// expect(stateChanges).to.deep.equal({
// WMATIC: {
// supplyCap: exp(5_000_000, 18)
// },
// WETH: {
// supplyCap: exp(2_000, 18)
// },
// aPolMATICX: {
// supplyCap: exp(2_600_000, 18),
// },
// stMATIC: {
// supplyCap: exp(1_500_000, 18)
// },
// WBTC: {
// supplyCap: exp(90, 8)
// },
// baseTrackingSupplySpeed: exp(8 / 86400, 15, 18),
// baseTrackingBorrowSpeed: exp(4 / 86400, 15, 18),
// });
expect(stateChanges).to.deep.equal({
WMATIC: {
supplyCap: exp(5_000_000, 18)
},
WETH: {
supplyCap: exp(2_000, 18)
},
aPolMATICX: {
supplyCap: exp(2_600_000, 18),
},
stMATIC: {
supplyCap: exp(1_500_000, 18)
},
WBTC: {
supplyCap: exp(90, 8)
},
baseTrackingSupplySpeed: exp(8 / 86400, 15, 18),
baseTrackingBorrowSpeed: exp(4 / 86400, 15, 18),
});

const config = await rewards.rewardConfig(comet.address);
expect(config.token).to.be.equal(COMP.address);
Expand Down
8 changes: 4 additions & 4 deletions scenario/LiquidationBotScenario.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ for (let i = 0; i < MAX_ASSETS; i++) {
weth: 20
},
polygon: {
usdc: 2250000,
usdc: 2250000
},
arbitrum: {
'usdc.e': 10000000,
Expand Down Expand Up @@ -282,7 +282,7 @@ for (let i = 0; i < MAX_ASSETS; i++) {
weth: 5000
},
polygon: {
usdc: 3000000,
usdc: 3000000
},
arbitrum: {
'usdc.e': 10000000,
Expand Down Expand Up @@ -320,7 +320,7 @@ for (let i = 0; i < MAX_ASSETS; i++) {
' == 2500000',
// MATICX
' == 0',
],
]
},
arbitrum: {
'usdc.e': [
Expand Down Expand Up @@ -376,7 +376,7 @@ for (let i = 0; i < MAX_ASSETS; i++) {
exp(5000, 18),
// MATICX
exp(5, 18)
],
]
},
arbitrum: {
'usdc.e': [
Expand Down

0 comments on commit c947c57

Please sign in to comment.