Skip to content

Update the rest of L2 Comets to the service patch version#447

Open
MishaShWoof wants to merge 264 commits into
mainfrom
woof-software/update-to-new-factory-on-l2
Open

Update the rest of L2 Comets to the service patch version#447
MishaShWoof wants to merge 264 commits into
mainfrom
woof-software/update-to-new-factory-on-l2

Conversation

@MishaShWoof

Copy link
Copy Markdown
Collaborator

No description provided.

VladyslavPerederWoof and others added 30 commits October 24, 2025 12:37
…nto woof-software/update-to-new-factory-on-l2
* feat: simulation for proposal, that target multiple l2 chains

* fix: clean up

* feat: tenderly simulations for multiple messages for one network

* fix: seacrest and tenderly simulation fix

* multiple migrations and some fixes to l2 -> L1 simulation

* fix: speed up scenario run

* fix: scroll fix and a bunch of new whales

* fix: update forge and scenario config

* Curent Dev (compound-finance#1127)

Multiple previously passed migrations, along with various fixes and
improvements.
Comment thread contracts/AssetList.sol
Comment on lines +141 to +142
if (assetConfig.borrowCollateralFactor >= assetConfig.liquidateCollateralFactor && assetConfig.borrowCollateralFactor != 0)
revert CometMainInterface.BorrowCFTooLarge();
Comment thread contracts/AssetList.sol
// Be nice and check descaled values are still within range
if (borrowCollateralFactor >= liquidateCollateralFactor) revert CometMainInterface.BorrowCFTooLarge();
// safety check duplicate sanity check on original values to ensure no values skewing after descaling and type conversion
if (borrowCollateralFactor >= liquidateCollateralFactor && borrowCollateralFactor != 0) revert CometMainInterface.BorrowCFTooLarge();
Comment thread contracts/CometExt.sol
*/
function pauseCollateralAssetSupply(uint24 assetIndex, bool paused) override external onlyGovernorOrPauseGuardian isValidAssetIndex(assetIndex) {
if ((collateralsSupplyPauseFlags & (uint24(1) << assetIndex) != 0) == paused) revert CollateralAssetOffsetStatusAlreadySet(collateralsSupplyPauseFlags, assetIndex, paused);
if (!paused && isCollateralDeactivated(assetIndex)) revert CollateralIsDeactivated(assetIndex);
Comment thread contracts/CometExt.sol
*/
function pauseCollateralAssetTransfer(uint24 assetIndex, bool paused) override external onlyGovernorOrPauseGuardian isValidAssetIndex(assetIndex) {
if ((collateralsTransferPauseFlags & (uint24(1) << assetIndex) != 0) == paused) revert CollateralAssetOffsetStatusAlreadySet(collateralsTransferPauseFlags, assetIndex, paused);
if (!paused && isCollateralDeactivated(assetIndex)) revert CollateralIsDeactivated(assetIndex);
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.

5 participants