Skip to content

Commit

Permalink
Update the supply caps based on Gauntlet recommendations (#629)
Browse files Browse the repository at this point in the history
  • Loading branch information
jflatow committed Nov 23, 2022
1 parent 9c75f39 commit 6735967
Showing 1 changed file with 5 additions and 5 deletions.
Expand Up @@ -46,11 +46,11 @@ export default migration('1666906928_raise_supply_caps_and_seed_reserves_and_rew
{
contract: configurator,
signature: "updateAssetSupplyCap(address,address,uint128)",
args: [comet.address, wstETH.address, exp(60_000, 18)], // XXX
args: [comet.address, wstETH.address, exp(80_000, 18)], // ~ $100M / $1225
}, {
contract: configurator,
signature: "updateAssetSupplyCap(address,address,uint128)",
args: [comet.address, cbETH.address, exp(66_000, 18)], // XXX
args: [comet.address, cbETH.address, exp(9_000, 18)], // ~ $10M / $1091
},

// 4. Deploy and upgrade to a new version of Comet
Expand Down Expand Up @@ -79,7 +79,7 @@ export default migration('1666906928_raise_supply_caps_and_seed_reserves_and_rew
args: [comet.address, exp(1_000, 18)],
},
];
const description = "# Initialize cWETHv3 on Ethereum"
const description = "# Initialize cWETHv3 on Ethereum" // XXX
const txn = await deploymentManager.retry(
async () => trace((await governor.propose(...await proposal(actions, description))))
);
Expand Down Expand Up @@ -111,10 +111,10 @@ export default migration('1666906928_raise_supply_caps_and_seed_reserves_and_rew

// 3. & 4.
const wstETHInfo = await comet.getAssetInfoByAddress(wstETH.address);
expect(wstETHInfo.supplyCap).to.be.equal(exp(60_000, 18));
expect(wstETHInfo.supplyCap).to.be.equal(exp(80_000, 18));

const cbETHInfo = await comet.getAssetInfoByAddress(cbETH.address);
expect(cbETHInfo.supplyCap).to.be.equal(exp(66_000, 18));
expect(cbETHInfo.supplyCap).to.be.equal(exp(9_000, 18));

// 5.
const config = await rewards.rewardConfig(comet.address);
Expand Down

0 comments on commit 6735967

Please sign in to comment.