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

GHO CCIP 1.5.1 Upgrade Eth<>Arb #557

Merged
merged 69 commits into from
Jan 16, 2025
Merged

Conversation

DhairyaSethi
Copy link
Contributor

@DhairyaSethi DhairyaSethi commented Jan 2, 2025

Goal

Upgrade Existing ETH & ARB token pools to CCIP 1.5.1 by deploying new token pools, migrating liquidity to them & completely deprecating existing token pools.
This AIP aims to achieve this by:

  1. Accepting ownerships of:
    • new token pool
    • admin role for GHO token of CCIP TokenAdminRegistry
    • existing proxy pool (even though they'll be deprecated)
  2. Migrating Liquidity between old & new token pools:
    • ETH (LockRelease type): move tokens to new pool & update currentBridged
    • ARB (BurnMint type): Mint tokens on new pool, transfer to old pool, and burn tokens from old pool - this is done to offboard old pool as a facilitator and enable the new pool to offRamp existing bridged supply. (note that a facilitator can only burn (offRamp) amount which it has itself minted)
  3. Setup new token pool with rate limits of 300k capacity & 60 rate.
  4. Update Stewards with the new token pools.

Notes:

  • the proxy pattern used is vanilla OZ v5.1 transparent.
  • sanity check no leftover tokens in existing eth token pool.
  • we can upgrade the existing ETH pool to reset bridgedAmount as well, but it's not needed since we reset bridgeLimit.
  • 1.5.1 TokenPools: CCIP 1.5.1 aave/ccip#20
  • For 2.b: Since the existing burn mint type token pool does not have an explicit method to burn supply, a new permissioned method directBurn is introduced in DirectBurn on RemotePool aave/ccip#21

parth-15 and others added 30 commits December 5, 2023 23:04
* chore: add payload and deploy script for update of GHO variable debt token

* forge install: gho-core

* chore: add gho-core to dependency

* test: Add tests for update of gho variable token

* test: Add tests for update of gho variable token

* fix: add modifier in method of interface

* fix: remove gho dependency from repo and fix test

* fix: Remove unnecesary dependency

* fix: Add latest details

---------

Co-authored-by: miguelmtzinf <[email protected]>
* fix: Make new impl constant

* fix: Fix AIP text
@MichaelMorami
Copy link

✅ The upgrade was fully reviewed and approved by Certora.

@brotherlymite brotherlymite merged commit 134c39c into bgd-labs:main Jan 16, 2025
4 checks passed
Copy link

🔧 Build logs
Compiling 536 files with Solc 0.8.20
Solc 0.8.20 finished in 356.56s
Compiler run successful with warnings:
Warning (5667): Unused function parameter. Remove or comment out the variable name to silence this warning.
   --> lib/aave-helpers/src/swaps/AaveSwapper.sol:138:5:
    |
138 |     address erc20Token
    |     ^^^^^^^^^^^^^^^^^^

Warning (2018): Function state mutability can be restricted to pure
   --> lib/aave-helpers/src/ProtocolV2TestBase.sol:663:3:
    |
663 |   function _logReserveConfig(ReserveConfig memory config) internal view {
    |   ^ (Relevant source part starts here and spans across multiple lines).

Warning (4591): There are more than 256 warnings. Ignoring the rest.


╭---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------╮
| Contract                                                                                    | Runtime Size (B) | Initcode Size (B) | Runtime Margin (B) | Initcode Margin (B) |
+===============================================================================================================================================================================+
| AaveGovernanceV2                                                                            | 44               | 94                | 24,532             | 49,058              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveSafetyModule                                                                            | 44               | 94                | 24,532             | 49,058              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveSwapper                                                                                 | 5,447            | 5,883             | 19,129             | 43,269              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV2Avalanche                                                                             | 44               | 94                | 24,532             | 49,058              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV2AvalancheAssets                                                                       | 44               | 94                | 24,532             | 49,058              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV2Avalanche_ReserveFactorUpdatesMidOctober_20241004                                     | 988              | 1,017             | 23,588             | 48,135              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV2Avalanche_UpdateLegacyGuardian_20241016                                               | 348              | 486               | 24,228             | 48,666              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV2Ethereum                                                                              | 44               | 94                | 24,532             | 49,058              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV2EthereumAMM                                                                           | 44               | 94                | 24,532             | 49,058              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV2EthereumAMMAssets                                                                     | 44               | 94                | 24,532             | 49,058              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV2EthereumAMM_UpdateLegacyGuardian_20241016                                             | 348              | 486               | 24,228             | 48,666              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV2EthereumAssets                                                                        | 44               | 94                | 24,532             | 49,058              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV2Ethereum_IncreaseBorrowSlope1ToAllStablecoinsAcrossAllAaveInstances_20241201          | 1,811            | 1,881             | 22,765             | 47,271              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV2Ethereum_ReserveFactorUpdatesMidOctober_20241004                                      | 988              | 1,017             | 23,588             | 48,135              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV2Ethereum_UpdateLegacyGuardian_20241016                                                | 348              | 486               | 24,228             | 48,666              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV2Polygon                                                                               | 44               | 94                | 24,532             | 49,058              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV2PolygonAssets                                                                         | 44               | 94                | 24,532             | 49,058              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV2Polygon_ReserveFactorUpdatesMidOctober_20241004                                       | 2,384            | 2,454             | 22,192             | 46,698              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV2Polygon_UpdateLegacyGuardian_20241016                                                 | 348              | 486               | 24,228             | 48,666              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Arbitrum                                                                              | 44               | 94                | 24,532             | 49,058              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3ArbitrumAssets                                                                        | 44               | 94                | 24,532             | 49,058              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3ArbitrumEModes                                                                        | 44               | 94                | 24,532             | 49,058              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3ArbitrumExternalLibraries                                                             | 44               | 94                | 24,532             | 49,058              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Arbitrum_AddDHEDGEProtocolToFlashBorrowers_20241118                                   | 1,146            | 1,175             | 23,430             | 47,977              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Arbitrum_FluidAlignment_20241127                                                      | 242              | 270               | 24,334             | 48,882              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Arbitrum_GHOCCIP150Upgrade_20241021                                                   | 817              | 846               | 23,759             | 48,306              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Arbitrum_GHOCCIP151Upgrade_20241209                                                   | 4,333            | 4,362             | 20,243             | 44,790              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Arbitrum_GHOStewardV2Upgrade_20241007                                                 | 1,360            | 1,389             | 23,216             | 47,763              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Arbitrum_IncreaseBorrowSlope1ToAllStablecoinsAcrossAllAaveInstances_20241201          | 4,072            | 4,142             | 20,504             | 45,010              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Arbitrum_OnboardEzETHToArbitrumAndBaseInstances_20241221                              | 5,943            | 6,014             | 18,633             | 43,138              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Arbitrum_ReserveFactorUpdatesMidOctober_20241004                                      | 3,227            | 3,297             | 21,349             | 45,855              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Arbitrum_RiskStewardPhase2_20240805                                                   | 307              | 336               | 24,269             | 48,816              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Arbitrum_SeptemberFundingUpdatePartA_20241113                                         | 2,356            | 2,385             | 22,220             | 46,767              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Arbitrum_UpdateLegacyGuardian_20241016                                                | 1,062            | 1,393             | 23,514             | 47,759              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Arbitrum_UpdatePriceCapAdaptersCAPO_20241101                                          | 3,755            | 3,825             | 20,821             | 45,327              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Arbitrum_WBTCReserveFactorAndUOptimalIncrease_20241120                                | 3,504            | 3,574             | 21,072             | 45,578              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Avalanche                                                                             | 44               | 94                | 24,532             | 49,058              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3AvalancheAssets                                                                       | 44               | 94                | 24,532             | 49,058              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3AvalancheEModes                                                                       | 44               | 94                | 24,532             | 49,058              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3AvalancheExternalLibraries                                                            | 44               | 94                | 24,532             | 49,058              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Avalanche_IncreaseBorrowSlope1ToAllStablecoinsAcrossAllAaveInstances_20241201         | 3,652            | 3,722             | 20,924             | 45,430              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Avalanche_OnboardAUSD_20241125                                                        | 5,182            | 5,253             | 19,394             | 43,899              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Avalanche_RiskStewardPhase2_20240805                                                  | 178              | 206               | 24,398             | 48,946              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Avalanche_UpdateLegacyGuardian_20241016                                               | 1,062            | 1,393             | 23,514             | 47,759              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Avalanche_UpdatePriceCapAdaptersCAPO_20241101                                         | 4,254            | 4,324             | 20,322             | 44,828              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3BNB                                                                                   | 44               | 94                | 24,532             | 49,058              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3BNBAssets                                                                             | 44               | 94                | 24,532             | 49,058              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3BNBEModes                                                                             | 44               | 94                | 24,532             | 49,058              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3BNBExternalLibraries                                                                  | 44               | 94                | 24,532             | 49,058              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3BNB_IncreaseBorrowSlope1ToAllStablecoinsAcrossAllAaveInstances_20241201               | 3,518            | 3,588             | 21,058             | 45,564              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3BNB_OnboardWstETHToAaveV3OnBNBChain_20241030                                          | 5,561            | 5,632             | 19,015             | 43,520              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3BNB_RiskStewardPhase2_20240805                                                        | 178              | 206               | 24,398             | 48,946              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3BNB_UpdateLegacyGuardian_20241016                                                     | 1,062            | 1,393             | 23,514             | 47,759              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3BNB_UpdatePriceCapAdaptersCAPO_20241101                                               | 3,325            | 3,395             | 21,251             | 45,757              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Base                                                                                  | 44               | 94                | 24,532             | 49,058              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3BaseAssets                                                                            | 44               | 94                | 24,532             | 49,058              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3BaseEModes                                                                            | 44               | 94                | 24,532             | 49,058              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3BaseExternalLibraries                                                                 | 44               | 94                | 24,532             | 49,058              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Base_AddDHEDGEProtocolToFlashBorrowers_20241118                                       | 1,074            | 1,103             | 23,502             | 48,049              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Base_FluidAlignment_20241127                                                          | 242              | 270               | 24,334             | 48,882              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Base_IncreaseBorrowSlope1ToAllStablecoinsAcrossAllAaveInstances_20241201              | 3,365            | 3,435             | 21,211             | 45,717              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Base_IncreaseCbBTCSupplyCaps_20241004                                                 | 3,146            | 3,216             | 21,430             | 45,936              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Base_OnboardEzETHToArbitrumAndBaseInstances_20241221                                  | 5,855            | 5,926             | 18,721             | 43,226              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Base_ReserveFactorUpdatesMidOctober_20241004                                          | 3,223            | 3,293             | 21,353             | 45,859              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Base_RiskStewardPhase2_20240805                                                       | 178              | 206               | 24,398             | 48,946              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Base_UpdateLegacyGuardian_20241016                                                    | 1,062            | 1,393             | 23,514             | 47,759              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Base_UpdatePriceCapAdaptersCAPO_20241101                                              | 3,203            | 3,273             | 21,373             | 45,879              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Ethereum                                                                              | 44               | 94                | 24,532             | 49,058              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3EthereumAssets                                                                        | 44               | 94                | 24,532             | 49,058              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3EthereumEModes                                                                        | 44               | 94                | 24,532             | 49,058              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3EthereumEtherFi                                                                       | 44               | 94                | 24,532             | 49,058              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3EthereumEtherFiAssets                                                                 | 44               | 94                | 24,532             | 49,058              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3EthereumEtherFiEModes                                                                 | 44               | 94                | 24,532             | 49,058              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3EthereumEtherFiExternalLibraries                                                      | 44               | 94                | 24,532             | 49,058              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3EthereumEtherFi_IncreaseBorrowSlope1ToAllStablecoinsAcrossAllAaveInstances_20241201   | 3,526            | 3,596             | 21,050             | 45,556              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3EthereumEtherFi_RiskStewardPhase2_20240805                                            | 178              | 206               | 24,398             | 48,946              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3EthereumEtherFi_UpdatePriceCapAdaptersCAPO_20241101                                   | 3,333            | 3,403             | 21,243             | 45,749              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3EthereumExternalLibraries                                                             | 44               | 94                | 24,532             | 49,058              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3EthereumLido                                                                          | 44               | 94                | 24,532             | 49,058              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3EthereumLidoAssets                                                                    | 44               | 94                | 24,532             | 49,058              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3EthereumLidoEModes                                                                    | 44               | 94                | 24,532             | 49,058              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3EthereumLidoExternalLibraries                                                         | 44               | 94                | 24,532             | 49,058              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3EthereumLido_AaveLiquidityCommitteeFundingPhaseV_20241209                             | 4,744            | 4,773             | 19,832             | 44,379              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3EthereumLido_AutomatedAGRSActivation_20241108                                         | 3,046            | 3,075             | 21,530             | 46,077              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3EthereumLido_Deploy10MGHOIntoAaveV3LidoInstance_20241229                              | 1,080            | 1,109             | 23,496             | 48,043              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3EthereumLido_FluidAlignment_20241127                                                  | 242              | 270               | 24,334             | 48,882              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3EthereumLido_IncreaseBorrowSlope1ToAllStablecoinsAcrossAllAaveInstances_20241201      | 3,239            | 3,309             | 21,337             | 45,843              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3EthereumLido_OnboardAndEnableSUSDeLiquidEModeOnAaveV3MainnetAndLidoInstances_20241108 | 5,657            | 5,728             | 18,919             | 43,424              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3EthereumLido_OnboardEzETHToLidoInstance_20241021                                      | 6,194            | 6,265             | 18,382             | 42,887              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3EthereumLido_OnboardGHOAndMigrateStreamsToLidoInstance_20241104                       | 9,102            | 9,173             | 15,474             | 39,979              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3EthereumLido_OnboardRsETHToLidoInstance_20241205                                      | 5,552            | 5,623             | 19,024             | 43,529              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3EthereumLido_OrbitProgramRenewal_20241210                                             | 1,196            | 1,225             | 23,380             | 47,927              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3EthereumLido_ProposalToRemoveUSDSFromSUSDeLiquidEModeInAavePrimeInstance_20241224     | 3,397            | 3,467             | 21,179             | 45,685              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3EthereumLido_RiskStewardPhase2_20240805                                               | 178              | 206               | 24,398             | 48,946              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3EthereumLido_USDSBorrowRateUpdateOnCoreAndPrimeInstances_20241122                     | 3,248            | 3,318             | 21,328             | 45,834              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3EthereumLido_USDSInterestRateCurveUpdate_20241223                                     | 3,239            | 3,309             | 21,337             | 45,843              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3EthereumLido_UpdatePriceCapAdaptersCAPO_20241101                                      | 3,216            | 3,286             | 21,360             | 45,866              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3EthereumLido_WstETHReserveUpdate_20241203                                             | 3,195            | 3,265             | 21,381             | 45,887              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3EthereumLido_WstETHSlope1UoptimalUpdate_20241001                                      | 3,250            | 3,320             | 21,326             | 45,832              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Ethereum_AaveBGDPhase4_20241025                                                       | 1,407            | 1,436             | 23,169             | 47,716              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Ethereum_AaveCertoraContinuousSecurityServices_20241014                               | 1,567            | 1,596             | 23,009             | 47,556              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Ethereum_AaveV33SherlockContestFunding_20250106                                       | 1,582            | 1,611             | 22,994             | 47,541              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Ethereum_ChaosLabsAaveRiskManagementServiceRenewal_20241012                           | 1,255            | 1,284             | 23,321             | 47,868              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Ethereum_EnableSUSDeUSDTLiquid_20241125                                               | 3,117            | 3,187             | 21,459             | 45,965              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Ethereum_FixUSDSBorrowRateToMatchSkySavingsRate_20241022                              | 3,238            | 3,308             | 21,338             | 45,844              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Ethereum_FluidAlignment_20241127                                                      | 242              | 270               | 24,334             | 48,882              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Ethereum_FluidAlignment_TokenTransfers_20241127                                       | 619              | 648               | 23,957             | 48,504              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Ethereum_GHOCCIP150Upgrade_20241021                                                   | 817              | 846               | 23,759             | 48,306              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Ethereum_GHOCCIP151Upgrade_20241209                                                   | 3,563            | 3,592             | 21,013             | 45,560              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Ethereum_GHOStewardV2Upgrade_20241007                                                 | 2,895            | 2,924             | 21,681             | 46,228              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Ethereum_IncreaseBorrowSlope1ToAllStablecoinsAcrossAllAaveInstances_20241201          | 4,212            | 4,282             | 20,364             | 44,870              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Ethereum_IncreaseCbBTCSupplyCaps_20241004                                             | 3,150            | 3,220             | 21,426             | 45,932              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Ethereum_IncreaseUSDSBorrowRateToMatchSkySavingsRate_20241016                         | 3,239            | 3,309             | 21,337             | 45,843              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Ethereum_OnboardAndEnableSUSDeLiquidEModeOnAaveV3MainnetAndLidoInstances_20241108     | 3,817            | 3,887             | 20,759             | 45,265              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Ethereum_OnboardRsETHToAaveV3Ethereum_20241104                                        | 5,957            | 6,028             | 18,619             | 43,124              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Ethereum_PYUSDReserveConfigurationUpdateIncentiveCampaign_20241031                    | 3,988            | 4,059             | 20,588             | 45,093              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Ethereum_ProposalToRemoveUSDSFromSUSDeLiquidEModeInAavePrimeInstance_20241224         | 3,215            | 3,285             | 21,361             | 45,867              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Ethereum_RemoveFraxFromIsolationModeOnAaveV3Mainnet_20241105                          | 3,226            | 3,296             | 21,350             | 45,856              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Ethereum_RenewLlamaRiskAsRiskServiceProvider_20241013                                 | 1,068            | 1,097             | 23,508             | 48,055              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Ethereum_RiskStewardPhase2_20240805                                                   | 307              | 336               | 24,269             | 48,816              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Ethereum_SafetyModuleStkAAVEReEnableRewards_20241106                                  | 910              | 939               | 23,666             | 48,213              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Ethereum_SeptemberFundingUpdatePartA_20241113                                         | 7,361            | 7,390             | 17,215             | 41,762              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Ethereum_StkGHOIncentivesQ4_20241029                                                  | 1,458            | 1,487             | 23,118             | 47,665              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Ethereum_TokenLogicFinancialServiceProvider_20241213                                  | 4,474            | 4,503             | 20,102             | 44,649              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Ethereum_USDSBorrowRateUpdateOnCoreAndPrimeInstances_20241122                         | 3,239            | 3,309             | 21,337             | 45,843              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Ethereum_USDSInterestRateCurveUpdate_20241223                                         | 3,230            | 3,300             | 21,346             | 45,852              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Ethereum_UpdateLegacyGuardian_20241016                                                | 1,062            | 1,413             | 23,514             | 47,739              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Ethereum_UpdatePriceCapAdaptersCAPO_20241101                                          | 5,697            | 5,767             | 18,879             | 43,385              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Ethereum_WBTCReserveFactorAndUOptimalIncrease_20241120                                | 3,504            | 3,574             | 21,072             | 45,578              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Ethereum_WeETHRiskParameterAdjustment_20241223                                        | 3,220            | 3,290             | 21,356             | 45,862              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Ethereum_WstETHReserveBorrowRateUpdateMainInstance_20241024                           | 3,227            | 3,297             | 21,349             | 45,855              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Ethereum_WstETHReserveUpdate_20241203                                                 | 3,186            | 3,256             | 21,390             | 45,896              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Ethereum_karpatkeyGhoGrowth_20241231                                                  | 1,085            | 1,114             | 23,491             | 48,038              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Gnosis                                                                                | 44               | 94                | 24,532             | 49,058              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3GnosisAssets                                                                          | 44               | 94                | 24,532             | 49,058              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3GnosisEModes                                                                          | 44               | 94                | 24,532             | 49,058              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3GnosisExternalLibraries                                                               | 44               | 94                | 24,532             | 49,058              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Gnosis_AaveV3GnosisInstanceUpdates_20241224                                           | 3,963            | 4,033             | 20,613             | 45,119              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Gnosis_IncreaseBorrowSlope1ToAllStablecoinsAcrossAllAaveInstances_20241201            | 3,649            | 3,719             | 20,927             | 45,433              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Gnosis_ReserveFactorUpdatesMidOctober_20241004                                        | 3,225            | 3,295             | 21,351             | 45,857              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Gnosis_RiskStewardPhase2_20240805                                                     | 178              | 206               | 24,398             | 48,946              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Gnosis_UpdateLegacyGuardian_20241016                                                  | 1,062            | 1,393             | 23,514             | 47,759              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Gnosis_UpdatePriceCapAdaptersCAPO_20241101                                            | 3,425            | 3,495             | 21,151             | 45,657              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Metis                                                                                 | 44               | 94                | 24,532             | 49,058              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3MetisAssets                                                                           | 44               | 94                | 24,532             | 49,058              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3MetisEModes                                                                           | 44               | 94                | 24,532             | 49,058              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3MetisExternalLibraries                                                                | 44               | 94                | 24,532             | 49,058              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Metis_IncreaseBorrowSlope1ToAllStablecoinsAcrossAllAaveInstances_20241201             | 3,508            | 3,578             | 21,068             | 45,574              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Metis_RiskStewardPhase2_20240805                                                      | 178              | 206               | 24,398             | 48,946              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Metis_UpdateLegacyGuardian_20241016                                                   | 1,062            | 1,393             | 23,514             | 47,759              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Metis_UpdatePriceCapAdaptersCAPO_20241101                                             | 3,315            | 3,385             | 21,261             | 45,767              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Optimism                                                                              | 44               | 94                | 24,532             | 49,058              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3OptimismAssets                                                                        | 44               | 94                | 24,532             | 49,058              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3OptimismEModes                                                                        | 44               | 94                | 24,532             | 49,058              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3OptimismExternalLibraries                                                             | 44               | 94                | 24,532             | 49,058              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Optimism_AddDHEDGEProtocolToFlashBorrowers_20241118                                   | 1,362            | 1,391             | 23,214             | 47,761              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Optimism_IncreaseBorrowSlope1ToAllStablecoinsAcrossAllAaveInstances_20241201          | 3,931            | 4,001             | 20,645             | 45,151              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Optimism_ReserveFactorUpdatesMidOctober_20241004                                      | 3,227            | 3,297             | 21,349             | 45,855              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Optimism_RiskStewardPhase2_20240805                                                   | 178              | 206               | 24,398             | 48,946              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Optimism_SeptemberFundingUpdatePartA_20241113                                         | 2,218            | 2,247             | 22,358             | 46,905              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Optimism_UpdateLegacyGuardian_20241016                                                | 1,062            | 1,393             | 23,514             | 47,759              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Optimism_UpdatePriceCapAdaptersCAPO_20241101                                          | 3,755            | 3,825             | 20,821             | 45,327              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Optimism_WBTCReserveFactorAndUOptimalIncrease_20241120                                | 3,504            | 3,574             | 21,072             | 45,578              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Polygon                                                                               | 44               | 94                | 24,532             | 49,058              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3PolygonAssets                                                                         | 44               | 94                | 24,532             | 49,058              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3PolygonEModes                                                                         | 44               | 94                | 24,532             | 49,058              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3PolygonExternalLibraries                                                              | 44               | 94                | 24,532             | 49,058              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Polygon_AddDHEDGEProtocolToFlashBorrowers_20241118                                    | 640              | 669               | 23,936             | 48,483              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Polygon_IncreaseBorrowSlope1ToAllStablecoinsAcrossAllAaveInstances_20241201           | 3,790            | 3,860             | 20,786             | 45,292              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Polygon_ReserveFactorUpdatesMidOctober_20241004                                       | 3,226            | 3,296             | 21,350             | 45,856              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Polygon_RiskStewardPhase2_20240805                                                    | 178              | 206               | 24,398             | 48,946              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Polygon_SeptemberFundingUpdatePartA_20241113                                          | 5,873            | 5,902             | 18,703             | 43,250              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Polygon_UpdateLegacyGuardian_20241016                                                 | 1,062            | 1,393             | 23,514             | 47,759              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Polygon_UpdatePriceCapAdaptersCAPO_20241101                                           | 4,252            | 4,322             | 20,324             | 44,830              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Polygon_WBTCReserveFactorAndUOptimalIncrease_20241120                                 | 3,503            | 3,573             | 21,073             | 45,579              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Scroll                                                                                | 44               | 94                | 24,532             | 49,058              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3ScrollAssets                                                                          | 44               | 94                | 24,532             | 49,058              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3ScrollEModes                                                                          | 44               | 94                | 24,532             | 49,058              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3ScrollExternalLibraries                                                               | 44               | 94                | 24,532             | 49,058              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Scroll_IncreaseBorrowSlope1ToAllStablecoinsAcrossAllAaveInstances_20241201            | 3,228            | 3,298             | 21,348             | 45,854              |
|---------------------------------------------------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Scroll_OnboardSCRToAaveV3Scroll_20241203                                   ...*[Comment body truncated]*

Copy link

🌈Test Results No files changed, compilation skipped

Ran 10 tests for src/20241209_Multi_GHOCCIP151Upgrade/AaveV3Arbitrum_GHOCCIP151Upgrade_20241209.t.sol:AaveV3Arbitrum_GHOCCIP151Upgrade_20241209_PostUpgrade
[PASS] test_aaveStewardCanUpdateBorrowCap(uint256) (runs: 256, μ: 88660, ~: 88661)
[PASS] test_aaveStewardCanUpdateBorrowRate() (gas: 199670)
[PASS] test_aaveStewardCanUpdateSupplyCap(uint256) (runs: 256, μ: 88554, ~: 88554)
[PASS] test_ccipStewardCanChangeAndDisableRateLimit() (gas: 129397)
[PASS] test_lockOrBurnRevertsOnExistingPool() (gas: 229023)
[PASS] test_lockOrBurnSucceedsOnNewPool(uint256) (runs: 256, μ: 263546, ~: 263341)
[PASS] test_releaseOrMintRevertsOnExistingPool() (gas: 58181)
[PASS] test_releaseOrMintSucceedsOnNewPoolOffRampedViaExistingTokenPoolEth(uint256) (runs: 256, μ: 119931, ~: 119640)
[PASS] test_releaseOrMintSucceedsOnNewPoolOffRampedViaNewTokenPoolEth(uint256) (runs: 256, μ: 119946, ~: 119650)
[PASS] test_sendMessageSucceedsAndRoutesViaNewPool(uint256) (runs: 256, μ: 497210, ~: 497012)
Suite result: ok. 10 passed; 0 failed; 0 skipped; finished in 4.20s (3.16s CPU time)
2025-01-16T17:36:25.601887Z ERROR cheatcodes: non-empty stderr input=["npx", "@bgd-labs/aave-cli@^1.1.12", "diff-snapshots", "./reports/AaveV3Arbitrum_GHOCCIP151Upgrade_20241209_before.json", "./reports/AaveV3Arbitrum_GHOCCIP151Upgrade_20241209_after.json", "-o", "./diffs/AaveV3Arbitrum_GHOCCIP151Upgrade_20241209_before_AaveV3Arbitrum_GHOCCIP151Upgrade_20241209_after.md"] stderr="npm warn exec The following package was not found and will be installed: @bgd-labs/[email protected]\n"

Ran 6 tests for src/20241209_Multi_GHOCCIP151Upgrade/AaveV3Arbitrum_GHOCCIP151Upgrade_20241209.t.sol:AaveV3Arbitrum_GHOCCIP151Upgrade_20241209_SetupAndProposalActions
[PASS] test_defaultProposalExecution() (gas: 49469918)
Logs:
0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1
0xf97f4df75117a78c1A5a0DBb814Af92458539FB4
0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8
0x2f2a2543B76A4166549F7aaB2e75Bef0aefC5B0f
0x82aF49447D8a07e3bd95BD0d56f35241523fBab1
0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9
0xD22a58f79e9481D1a88e00c343885A588b34b68B
0x5979D7b546E38E414F7E9822514be443A4800529
0x3F56e0c36d275367b8C502090EDF38289b3dEa0d
0xEC70Dcb4A1EFa46b8F2D97C310C9c4790ba5ffA8
0x93b346b6BC2548dA6A1E7d98E9a421B42541425b
0xaf88d065e77c8cC2239327C5EDb3A432268e5831
0x17FC002b466eEc40DaE837Fc4bE5c67993ddBd6F
0x912CE59144191C1204E64559FE8253a0e49E6548
0x35751007a407ca6FEFfE80b3cB397736D2cf4dbe
0x7dfF72693f6A4149b17e7C6314655f6A9F7c8B33
E2E: Collateral DAI, TestAsset DAI
SUPPLY: DAI, Amount: 99978004838935434204475
SUPPLY: DAI, Amount: 999780048389354342044
WITHDRAW: DAI, Amount: 499890024194677171022
WITHDRAW: DAI, Amount: 499890024194677171022
BORROW: DAI, Amount 999780048389354342044
REPAY: DAI, Amount: 999780048389354342044
E2E: Collateral DAI, TestAsset LINK
SUPPLY: DAI, Amount: 99978004838935434204475
SUPPLY: LINK, Amount: 50130389142158754921
WITHDRAW: LINK, Amount: 25065194571079377460
WITHDRAW: LINK, Amount: 25065194571079377461
BORROW: LINK, Amount 50130389142158754921
REPAY: LINK, Amount: 50130389142158754921
E2E: Collateral DAI, TestAsset USDC
SUPPLY: DAI, Amount: 99978004838935434204475
SUPPLY: USDC, Amount: 999993080
WITHDRAW: USDC, Amount: 499996540
WITHDRAW: USDC, Amount: 499996540
BORROW: USDC, Amount 999993080
REPAY: USDC, Amount: 999993080
E2E: Collateral DAI, TestAsset WBTC
SUPPLY: DAI, Amount: 99978004838935434204475
SUPPLY: WBTC, Amount: 1065284
WITHDRAW: WBTC, Amount: 532642
WITHDRAW: WBTC, Amount: 532643
BORROW: WBTC, Amount 1065284
REPAY: WBTC, Amount: 1065284
E2E: Collateral DAI, TestAsset WETH
SUPPLY: DAI, Amount: 99978004838935434204475
SUPPLY: WETH, Amount: 308052492144661450
WITHDRAW: WETH, Amount: 154026246072330725
WITHDRAW: WETH, Amount: 154026246072330724
BORROW: WETH, Amount 308052492144661450
REPAY: WETH, Amount: 308052492144661450
E2E: Collateral DAI, TestAsset USDT
SUPPLY: DAI, Amount: 99978004838935434204475
SUPPLY: USDT, Amount: 1000561064
WITHDRAW: USDT, Amount: 500280532
WITHDRAW: USDT, Amount: 500280532
BORROW: USDT, Amount 1000561064
REPAY: USDT, Amount: 1000561064
E2E: Collateral DAI, TestAsset AAVE
SUPPLY: DAI, Amount: 99978004838935434204475
SUPPLY: AAVE, Amount: 3550949737016662476
WITHDRAW: AAVE, Amount: 1775474868508331238
WITHDRAW: AAVE, Amount: 1775474868508331238
E2E: TestAsset EURS SKIPPED
E2E: Collateral DAI, TestAsset wstETH
SUPPLY: DAI, Amount: 99978004838935434204475
SUPPLY: wstETH, Amount: 258808304081871675
WITHDRAW: wstETH, Amount: 129404152040935837
WITHDRAW: wstETH, Amount: 129404152040935837
BORROW: wstETH, Amount 258808304081871675
REPAY: wstETH, Amount: 258808304081871675
E2E: TestAsset MAI SKIPPED
E2E: Collateral DAI, TestAsset rETH
SUPPLY: DAI, Amount: 99978004838935434204475
SUPPLY: rETH, Amount: 273682758669242109
WITHDRAW: rETH, Amount: 136841379334621054
WITHDRAW: rETH, Amount: 136841379334621055
BORROW: rETH, Amount 273682758669242109
REPAY: rETH, Amount: 273682758669242109
E2E: Collateral DAI, TestAsset LUSD
SUPPLY: DAI, Amount: 99978004838935434204475
SUPPLY: LUSD, Amount: 1001801198482824178560
WITHDRAW: LUSD, Amount: 500900599241412089280
WITHDRAW: LUSD, Amount: 500900599241412089281
BORROW: LUSD, Amount 1001801198482824178560
REPAY: LUSD, Amount: 1001801198482824178560
E2E: Collateral DAI, TestAsset USDC
SUPPLY: DAI, Amount: 99978004838935434204475
SUPPLY: USDC, Amount: 999993080
WITHDRAW: USDC, Amount: 499996540
WITHDRAW: USDC, Amount: 499996541
BORROW: USDC, Amount 999993080
REPAY: USDC, Amount: 999993080
E2E: Collateral DAI, TestAsset FRAX
SUPPLY: DAI, Amount: 99978004838935434204475
SUPPLY: FRAX, Amount: 1004273676587983397468
WITHDRAW: FRAX, Amount: 502136838293991698734
WITHDRAW: FRAX, Amount: 502136838293991698733
BORROW: FRAX, Amount 1004273676587983397468
REPAY: FRAX, Amount: 1004273676587983397468
E2E: Collateral DAI, TestAsset ARB
SUPPLY: DAI, Amount: 99978004838935434204475
SUPPLY: ARB, Amount: 1337199605296118105534
WITHDRAW: ARB, Amount: 668599802648059052767
WITHDRAW: ARB, Amount: 668599802648059052766
BORROW: ARB, Amount 1337199605296118105534
REPAY: ARB, Amount: 1337199605296118105534
E2E: Collateral DAI, TestAsset weETH
SUPPLY: DAI, Amount: 99978004838935434204475
SUPPLY: weETH, Amount: 291374834523832078
WITHDRAW: weETH, Amount: 145687417261916039
WITHDRAW: weETH, Amount: 145687417261916039
BORROW: weETH, Amount 291374834523832078
REPAY: weETH, Amount: 291374834523832078
E2E: Collateral DAI, TestAsset GHO
SUPPLY: DAI, Amount: 99978004838935434204475
SUPPLY: GHO, Amount: 1000000000000000000000
WITHDRAW: GHO, Amount: 500000000000000000000
WITHDRAW: GHO, Amount: 500000000000000000001
BORROW: GHO, Amount 1000000000000000000000
REPAY: GHO, Amount: 1000000000000000000000

[PASS] test_newTokenPoolInitialization() (gas: 20581)
[PASS] test_newTokenPoolSetupAndRegistration() (gas: 921361)
[PASS] test_stewardRolesAndConfig() (gas: 849104)
[PASS] test_tokenPoolLiquidityMigration() (gas: 850627)
[PASS] test_tokenPoolOwnershipTransfer() (gas: 851257)
Suite result: ok. 6 passed; 0 failed; 0 skipped; finished in 32.33s (34.58s CPU time)

Ran 2 test suites in 32.33s (36.53s CPU time): 16 tests passed, 0 failed, 0 skipped (16 total tests)
No files changed, compilation skipped

Ran 2 tests for src/20241209_Multi_GHOCCIP151Upgrade/AaveV3E2E_GHOCCIP151Upgrade_20241209.t.sol:AaveV3E2E_GHOCCIP151Upgrade_20241209_InFlightUpgrade
[PASS] test_E2E_InFlightMsg_FromArb() (gas: 2508397)
[PASS] test_E2E_InFlightMsg_FromEth() (gas: 2489332)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 2.62s (2.76s CPU time)

Ran 2 tests for src/20241209_Multi_GHOCCIP151Upgrade/AaveV3E2E_GHOCCIP151Upgrade_20241209.t.sol:AaveV3E2E_GHOCCIP151Upgrade_20241209_PostUpgrade
[PASS] test_E2E_FromArb(uint256) (runs: 256, μ: 1052517, ~: 1052242)
[PASS] test_E2E_FromEth(uint256) (runs: 256, μ: 1024784, ~: 1024470)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 4.84s (4.57s CPU time)

Ran 2 test suites in 4.85s (7.46s CPU time): 4 tests passed, 0 failed, 0 skipped (4 total tests)
No files changed, compilation skipped

Ran 10 tests for src/20241209_Multi_GHOCCIP151Upgrade/AaveV3Ethereum_GHOCCIP151Upgrade_20241209.t.sol:AaveV3Ethereum_GHOCCIP151Upgrade_20241209_PostUpgrade
[PASS] test_aaveStewardCanUpdateBorrowCap(uint256) (runs: 256, μ: 91090, ~: 91091)
[PASS] test_aaveStewardCanUpdateBorrowRate() (gas: 190013)
[PASS] test_ccipStewardCanChangeAndDisableRateLimit() (gas: 129512)
[PASS] test_ccipStewardCanSetBridgeLimit(uint256) (runs: 256, μ: 52712, ~: 52844)
[PASS] test_lockOrBurnRevertsOnExistingPool() (gas: 215762)
[PASS] test_lockOrBurnSucceedsOnNewPool(uint256) (runs: 256, μ: 247740, ~: 247536)
[PASS] test_releaseOrMintRevertsOnExistingPool() (gas: 58457)
[PASS] test_releaseOrMintSucceedsOnNewPoolOffRampedViaExistingTokenPoolArb(uint256) (runs: 256, μ: 108201, ~: 107876)
[PASS] test_releaseOrMintSucceedsOnNewPoolOffRampedViaNewTokenPoolEth(uint256) (runs: 256, μ: 108227, ~: 107911)
[PASS] test_sendMessageSucceedsAndRoutesViaNewPool(uint256) (runs: 256, μ: 450655, ~: 450642)
Suite result: ok. 10 passed; 0 failed; 0 skipped; finished in 1.77s (2.79s CPU time)

Ran 6 tests for src/20241209_Multi_GHOCCIP151Upgrade/AaveV3Ethereum_GHOCCIP151Upgrade_20241209.t.sol:AaveV3Ethereum_GHOCCIP151Upgrade_20241209_SetupAndProposalActions
[PASS] test_defaultProposalExecution() (gas: 243710436)
Logs:
0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0
0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599
0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48
0x6B175474E89094C44Da98b954EedeAC495271d0F
0x514910771AF9Ca656af840dff83E8264EcF986CA
0xBe9895146f7AF43049ca1c1AE358B0541Ea49704
0xdAC17F958D2ee523a2206206994597C13D831ec7
0xae78736Cd615f374D3085123A210448E74Fc6393
0x5f98805A4E8be255a32880FDeC7F6728C6568bA0
0xD533a949740bb3306d119CC777fa900bA034cd52
0x9f8F72aA9304c8B593d555F12eF6589cC3A579A2
0xC011a73ee8576Fb46F5E1c5751cA3B9Fe0af2a6F
0xba100000625a3754423978a60c9317c58a424e3D
0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984
0x5A98FcBEA516Cf06857215779Fd812CA3beF1B32
0xC18360217D8F7Ab5e7c516566761Ea12Ce7F9D72
0x111111111117dC0aa78b770fA6A738034120C302
0x853d955aCEf822Db058eb8505911ED77F175b99e
0xD33526068D116cE69F19A9ee46F0bd304F21A51f
0xAf5191B0De278C7286d6C7CC6ab6BB8A73bA2Cd6
0xdeFA4e8a7bcBA345F687a2f1456F5Edd9CE97202
0x3432B6A60D23Ca0dFCa7761B7ab56459D9C964D0
0xf939E0A03FB07F59A73314E73794Be0E57ac1b4E
0x6c3ea9036406852006290770BEdFcAbA0e23A0e8
0xCd5fE23C85820F7B72D0926FC9b05b43E359b7ee
0xf1C9acDc66974dFB6dEcB12aA385b9cD01190E38
0x4c9EDD5852cd905f086C759E8383e09bff1E68B3
0xA35b1B31Ce002FBF2058D22F30f95D405200A15b
0x18084fbA666a33d37592fA2633fD49a74DD93a88
0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf
0xdC035D45d973E3EC169d2276DDab16f1e407384F
0xA1290d69c65A6Fe4DF752f95823fae25cB99e5A7
E2E: Collateral WETH, TestAsset WETH
SUPPLY: WETH, Amount: 30735469038625263940
SUPPLY: WETH, Amount: 307354690386252639
WITHDRAW: WETH, Amount: 153677345193126319
WITHDRAW: WETH, Amount: 153677345193126320
BORROW: WETH, Amount 307354690386252639
REPAY: WETH, Amount: 307354690386252639
E2E: Collateral WETH, TestAsset wstETH
SUPPLY: WETH, Amount: 30735469038625263940
SUPPLY: wstETH, Amount: 258222050458342658
WITHDRAW: wstETH, Amount: 129111025229171329
WITHDRAW: wstETH, Amount: 129111025229171329
BORROW: wstETH, Amount 258222050458342658
REPAY: wstETH, Amount: 258222050458342658
E2E: Collateral WETH, TestAsset WBTC
SUPPLY: WETH, Amount: 30735469038625263940
SUPPLY: WBTC, Amount: 1063981
WITHDRAW: WBTC, Amount: 531990
WITHDRAW: WBTC, Amount: 531990
BORROW: WBTC, Amount 1063981
REPAY: WBTC, Amount: 1063981
E2E: Collateral WETH, TestAsset USDC
SUPPLY: WETH, Amount: 30735469038625263940
SUPPLY: USDC, Amount: 1000039671
WITHDRAW: USDC, Amount: 500019835
WITHDRAW: USDC, Amount: 500019836
BORROW: USDC, Amount 1000039671
REPAY: USDC, Amount: 1000039671
E2E: Collateral WETH, TestAsset DAI
SUPPLY: WETH, Amount: 30735469038625263940
SUPPLY: DAI, Amount: 999894861055360028892
WITHDRAW: DAI, Amount: 499947430527680014446
WITHDRAW: DAI, Amount: 499947430527680014446
BORROW: DAI, Amount 999894861055360028892
REPAY: DAI, Amount: 999894861055360028892
E2E: Collateral WETH, TestAsset LINK
SUPPLY: WETH, Amount: 30735469038625263940
SUPPLY: LINK, Amount: 50284585612272657102
WITHDRAW: LINK, Amount: 25142292806136328551
WITHDRAW: LINK, Amount: 25142292806136328551
BORROW: LINK, Amount 50284585612272657102
REPAY: LINK, Amount: 50284585612272657102
E2E: Collateral WETH, TestAsset AAVE
SUPPLY: WETH, Amount: 30735469038625263940
SUPPLY: AAVE, Amount: 3534384351381805159
WITHDRAW: AAVE, Amount: 1767192175690902579
WITHDRAW: AAVE, Amount: 1767192175690902580
E2E: Collateral WETH, TestAsset cbETH
SUPPLY: WETH, Amount: 30735469038625263940
SUPPLY: cbETH, Amount: 281905635246851967
WITHDRAW: cbETH, Amount: 140952817623425983
WITHDRAW: cbETH, Amount: 140952817623425984
BORROW: cbETH, Amount 281905635246851967
REPAY: cbETH, Amount: 281905635246851967
E2E: Collateral WETH, TestAsset USDT
SUPPLY: WETH, Amount: 30735469038625263940
SUPPLY: USDT, Amount: 1000100010
WITHDRAW: USDT, Amount: 500050005
WITHDRAW: USDT, Amount: 500050006
BORROW: USDT, Amount 1000100010
REPAY: USDT, Amount: 1000100010
E2E: Collateral WETH, TestAsset rETH
SUPPLY: WETH, Amount: 30735469038625263940
SUPPLY: rETH, Amount: 273042782811233656
WITHDRAW: rETH, Amount: 136521391405616828
WITHDRAW: rETH, Amount: 136521391405616827
BORROW: rETH, Amount 273042782811233656
REPAY: rETH, Amount: 273042782811233656
E2E: Collateral WETH, TestAsset LUSD
SUPPLY: WETH, Amount: 30735469038625263940
SUPPLY: LUSD, Amount: 1002342062439675922363
WITHDRAW: LUSD, Amount: 501171031219837961181
WITHDRAW: LUSD, Amount: 501171031219837961183
BORROW: LUSD, Amount 1002342062439675922363
REPAY: LUSD, Amount: 1002342062439675922363
E2E: Collateral WETH, TestAsset CRV
SUPPLY: WETH, Amount: 30735469038625263940
SUPPLY: CRV, Amount: 1224650050124926551613
WITHDRAW: CRV, Amount: 612325025062463275806
WITHDRAW: CRV, Amount: 612325025062463275807
BORROW: CRV, Amount 1224650050124926551613
REPAY: CRV, Amount: 1224650050124926551613
E2E: Collateral WETH, TestAsset MKR
SUPPLY: WETH, Amount: 30735469038625263940
SUPPLY: MKR, Amount: 685745618411227521
WITHDRAW: MKR, Amount: 342872809205613760
WITHDRAW: MKR, Amount: 342872809205613761
BORROW: MKR, Amount 685745618411227521
REPAY: MKR, Amount: 685745618411227521
E2E: Collateral WETH, TestAsset SNX
SUPPLY: WETH, Amount: 30735469038625263940
SUPPLY: SNX, Amount: 556385426055728688172
WITHDRAW: SNX, Amount: 278192713027864344086
WITHDRAW: SNX, Amount: 278192713027864344087
BORROW: SNX, Amount 556385426055728688172
REPAY: SNX, Amount: 556385426055728688172
E2E: Collateral WETH, TestAsset BAL
SUPPLY: WETH, Amount: 30735469038625263940
SUPPLY: BAL, Amount: 407516141317029329747
WITHDRAW: BAL, Amount: 203758070658514664873
WITHDRAW: BAL, Amount: 203758070658514664875
BORROW: BAL, Amount 407516141317029329747
REPAY: BAL, Amount: 407516141317029329747
E2E: Collateral WETH, TestAsset UNI
SUPPLY: WETH, Amount: 30735469038625263940
SUPPLY: UNI, Amount: 76010714470311735142
WITHDRAW: UNI, Amount: 38005357235155867571
WITHDRAW: UNI, Amount: 38005357235155867572
BORROW: UNI, Amount 76010714470311735142
REPAY: UNI, Amount: 76010714470311735142
E2E: Collateral WETH, TestAsset LDO
SUPPLY: WETH, Amount: 30735469038625263940
SUPPLY: LDO, Amount: 625092544951280037009
WITHDRAW: LDO, Amount: 312546272475640018504
WITHDRAW: LDO, Amount: 312546272475640018506
BORROW: LDO, Amount 625092544951280037009
REPAY: LDO, Amount: 625092544951280037009
E2E: Collateral WETH, TestAsset ENS
SUPPLY: WETH, Amount: 30735469038625263940
SUPPLY: ENS, Amount: 31461785787743028833
WITHDRAW: ENS, Amount: 15730892893871514416
WITHDRAW: ENS, Amount: 15730892893871514418
BORROW: ENS, Amount 31461785787743028833
REPAY: ENS, Amount: 31461785787743028833
E2E: Collateral WETH, TestAsset 1INCH
SUPPLY: WETH, Amount: 30735469038625263940
SUPPLY: 1INCH, Amount: 2612801908933977082435
WITHDRAW: 1INCH, Amount: 1306400954466988541217
WITHDRAW: 1INCH, Amount: 1306400954466988541218
BORROW: 1INCH, Amount 2612801908933977082435
REPAY: 1INCH, Amount: 2612801908933977082435
E2E: Collateral WETH, TestAsset FRAX
SUPPLY: WETH, Amount: 30735469038625263940
SUPPLY: FRAX, Amount: 1004327405752811484009
WITHDRAW: FRAX, Amount: 502163702876405742004
WITHDRAW: FRAX, Amount: 502163702876405742005
BORROW: FRAX, Amount 1004327405752811484009
REPAY: FRAX, Amount: 1004327405752811484009
E2E: Collateral WETH, TestAsset GHO
SUPPLY: WETH, Amount: 30735469038625263940
BORROW: GHO, Amount 1000000000000000000000
REPAY: GHO, Amount: 1000000000000000000000
E2E: Collateral WETH, TestAsset RPL
SUPPLY: WETH, Amount: 30735469038625263940
SUPPLY: RPL, Amount: 96472180230561950642
WITHDRAW: RPL, Amount: 48236090115280975321
WITHDRAW: RPL, Amount: 48236090115280975321
BORROW: RPL, Amount 96472180230561950642
REPAY: RPL, Amount: 96472180230561950642
E2E: Collateral WETH, TestAsset sDAI
SUPPLY: WETH, Amount: 30735469038625263940
SUPPLY: sDAI, Amount: 881147083617712540232
WITHDRAW: sDAI, Amount: 440573541808856270116
WITHDRAW: sDAI, Amount: 440573541808856270116
E2E: TestAsset STG SKIPPED
E2E: TestAsset KNC SKIPPED
E2E: TestAsset FXS SKIPPED
E2E: Collateral WETH, TestAsset crvUSD
SUPPLY: WETH, Amount: 30735469038625263940
SUPPLY: crvUSD, Amount: 999917746766151016417
WITHDRAW: crvUSD, Amount: 499958873383075508208
WITHDRAW: crvUSD, Amount: 499958873383075508210
BORROW: crvUSD, Amount 999917746766151016417
REPAY: crvUSD, Amount: 999917746766151016417
E2E: Collateral WETH, TestAsset PYUSD
SUPPLY: WETH, Amount: 30735469038625263940
SUPPLY: PYUSD, Amount: 1000130046
WITHDRAW: PYUSD, Amount: 500065023
WITHDRAW: PYUSD, Amount: 500065022
BORROW: PYUSD, Amount 1000130046
REPAY: PYUSD, Amount: 1000130046
E2E: Collateral WETH, TestAsset weETH
SUPPLY: WETH, Amount: 30735469038625263940
SUPPLY: weETH, Amount: 290707620388280031
WITHDRAW: weETH, Amount: 145353810194140015
WITHDRAW: weETH, Amount: 145353810194140016
BORROW: weETH, Amount 290707620388280031
REPAY: weETH, Amount: 290707620388280031
E2E: Collateral WETH, TestAsset osETH
SUPPLY: WETH, Amount: 30735469038625263940
SUPPLY: osETH, Amount: 296671870375626756
WITHDRAW: osETH, Amount: 148335935187813378
WITHDRAW: osETH, Amount: 148335935187813379
BORROW: osETH, Amount 296671870375626756
REPAY: osETH, Amount: 296671870375626756
E2E: Collateral WETH, TestAsset USDe
SUPPLY: WETH, Amount: 30735469038625263940
SUPPLY: USDe, Amount: 1000759456336224433998
WITHDRAW: USDe, Amount: 500379728168112216999
WITHDRAW: USDe, Amount: 500379728168112216999
BORROW: USDe, Amount 1000759456336224433998
REPAY: USDe, Amount: 1000759456336224433998
E2E: Collateral WETH, TestAsset ETHx
SUPPLY: WETH, Amount: 30735469038625263940
SUPPLY: ETHx, Amount: 292807729416206785
WITHDRAW: ETHx, Amount: 146403864708103392
WITHDRAW: ETHx, Amount: 146403864708103393
BORROW: ETHx, Amount 292807729416206785
REPAY: ETHx, Amount: 292807729416206785
E2E: Collateral WETH, TestAsset sUSDe
SUPPLY: WETH, Amount: 30735469038625263940
SUPPLY: sUSDe, Amount: 873147803570069111482
WITHDRAW: sUSDe, Amount: 436573901785034555741
WITHDRAW: sUSDe, Amount: 436573901785034555740
E2E: Collateral WETH, TestAsset tBTC
SUPPLY: WETH, Amount: 30735469038625263940
SUPPLY: tBTC, Amount: 10631981573319454
WITHDRAW: tBTC, Amount: 5315990786659727
WITHDRAW: tBTC, Amount: 5315990786659726
BORROW: tBTC, Amount 10631981573319454
REPAY: tBTC, Amount: 10631981573319454
E2E: Collateral WETH, TestAsset cbBTC
SUPPLY: WETH, Amount: 30735469038625263940
SUPPLY: cbBTC, Amount: 1063198
WITHDRAW: cbBTC, Amount: 531599
WITHDRAW: cbBTC, Amount: 531600
BORROW: cbBTC, Amount 1063198
REPAY: cbBTC, Amount: 1063198
E2E: Collateral WETH, TestAsset USDS
SUPPLY: WETH, Amount: 30735469038625263940
SUPPLY: USDS, Amount: 999894861055360028892
WITHDRAW: USDS, Amount: 499947430527680014446
WITHDRAW: USDS, Amount: 499947430527680014445
BORROW: USDS, Amount 999894861055360028892
REPAY: USDS, Amount: 999894861055360028892
E2E: Collateral WETH, TestAsset rsETH
SUPPLY: WETH, Amount: 30735469038625263940
SUPPLY: rsETH, Amount: 297244088459441074
WITHDRAW: rsETH, Amount: 148622044229720537
WITHDRAW: rsETH, Amount: 148622044229720537
BORROW: rsETH, Amount 297244088459441074
REPAY: rsETH, Amount: 297244088459441074

[PASS] test_newTokenPoolInitialization() (gas: 20636)
[PASS] test_newTokenPoolSetupAndRegistration() (gas: 855480)
[PASS] test_stewardRolesAndConfig() (gas: 765025)
[PASS] test_tokenPoolLiquidityMigration() (gas: 770622)
[PASS] test_tokenPoolOwnershipTransfer() (gas: 772236)
Suite result: ok. 6 passed; 0 failed; 0 skipped; finished in 61.70s (61.37s CPU time)

Ran 2 test suites in 61.71s (63.46s CPU time): 16 tests passed, 0 failed, 0 skipped (16 total tests)

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.

7 participants