Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migration script for adding ETHx as collateral to mainnet WETH and upgrading Comet to use it #851

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

jac18281828
Copy link

This pr introduces ETHX as collateral for mainnet WETH.

@jac18281828
Copy link
Author

There is a sample scenario run here

@jac18281828
Copy link
Author

I simulated the migration script impersonating a proposer address with high voting power. Enact runs successfully.

$ yarn hardhat migrate --network mainnet --deployment weth --enact --simulate --impersonate 0x13BDaE8c5F0fC40231F0E6A4ad70196F59138548 1715192704_add_ethx_collateral
yarn run v1.22.22
$ /workspaces/comet/node_modules/.bin/hardhat migrate --network mainnet --deployment weth --enact --simulate --impersonate 0x13BDaE8c5F0fC40231F0E6A4ad70196F59138548 1715192704_add_ethx_collateral
Importing 0xA17581A9E3356d9A858b789D68B4d866e593aE94 from mainnet etherscan
Importing 0xe2C1F54aFF6b38fD9DF7a69F22cB5fd3ba09F030 from mainnet etherscan
Importing 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 from mainnet etherscan
Importing 0xD72ac1bCE9177CFe7aEb5d0516a38c88a64cE0AB from mainnet etherscan
Importing 0xBe9895146f7AF43049ca1c1AE358B0541Ea49704 from mainnet etherscan
Importing 0x31724cA0C982A31fbb5C57f4217AB585271fc9a5 from mainnet etherscan
Importing 0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0 from mainnet etherscan
Importing 0xae7ab96520DE3A18E5e111B5EaAb095312D7fE84 from mainnet etherscan
Importing 0xae78736Cd615f374D3085123A210448E74Fc6393 from mainnet etherscan
Importing 0x23a982b74a3236A5F2297856d4391B2edBBB5549 from mainnet etherscan
Importing 0x4F67e4d9BD67eFa28236013288737D39AeF48e79 from mainnet etherscan
Importing 0xA3A7fB5963D1d69B95EEC4957f77678EF073Ba08 from mainnet etherscan
Importing 0x1EC63B5883C3481134FD50D5DAebc83Ecd2E8779 from mainnet etherscan
Importing 0x6d903f6003cca6255D85CcA4D3B5E5146dC33925 from mainnet etherscan
Importing 0x316f9708bB98af7dA9c68C1C3b5e79039cD336E3 from mainnet etherscan
Importing 0xcFC1fA6b7ca982176529899D99af6473aD80DF4F from mainnet etherscan
Importing 0xa7F7De6cCad4D83d81676717053883337aC2c1b4 from mainnet etherscan
Importing 0x1B0e765F6224C21223AeA2af16c1C46E38885a40 from mainnet etherscan
Importing 0xc00e94Cb662C3520282E6f5717214004A7f26888 from mainnet etherscan
Importing 0xa397a8C2086C554B531c02E29f3291c9704B00c7 from mainnet etherscan
Running enactment step with artifact... undefined
Importing 0xdd487947c579af433AeeF038Bf1573FdBB68d2d3 from mainnet etherscan
Enactment complete
Done in 29.27s.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants