Skip to content

Commit

Permalink
GHO CCIP 1.5 Maintenance Upgrade (#512)
Browse files Browse the repository at this point in the history
* Add proposal for Gho Incident Report 20231113 (#1)

* 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 (#3)

* fix: Amend AIP text (#4)

* fix: Make new impl constant

* fix: Fix AIP text

* test: Tweak default tests with borrow cap update (#5)

* fix: lint issue (#6)

* test: Add diffs from test running (#7)

* fix: Add payload address (#8)

* fix: Fix payload address in script (#9)

* fix: Remove unneeded diff file (#10)

* feat: install aave-ccip at latest commit on aave/ccip#18

* chore: upd remappings, lib/aave-helpers, .assets

* new: add proposal for eth & arb

* fix: arb test supply locked invariant

* fix: rename, add discussion link

* upd: aave-ccip module

* feat: add proxy pool deployments

* feat: add e2e tests

* chore: fix license, explicit senders for expectEmit

* ci: override rpc url in secrets

* test: proxy pool can off ramp

* chore: reorder deps

* nit: utilize existing ierc20 import, style guide, use arb assets for gho addy

* feat: add rate limit, use gho fascilitator for tests

* feat: set in bound rate limit as well

* chore: cleanup

* test: check proxy initialized version

* chore: inBetween => inFlight"

* chore: test name consistency

* test: dynamically fetch dest gas amt

* test: execMsg post migration using legacy off ramp

* test: ccip steward can disable rate limit

* chore: cleanup

* doc: add comment for fetching all offramps, use RISK_COUNCIL for clarity

* test: ownership transfer after migration

* chore: rm _readRiskAdmin, fix config

* fix: ci test setup to stay compatible with bdg upstream

* feat: rm aave-ccip dep

* rft: use deployed token pools

* tmp: fix ci for aave org, to rm for bdg

* fix: ci to bdg setup

* fix: update rate limit

* test: fuzz amounts

* chore: snapshot docs

* chore: const cap rate

* chore: fix type

* fix: Fix rate limit config constants

* fix: tests, impl correct solc

* fix: tests

* Update src/20241021_Multi_GHOCCIP150Upgrade/AaveV3Ethereum_GHOCCIP150Upgrade_20241021.sol

Co-authored-by: Harsh Pandey <[email protected]>

* Update src/20241021_Multi_GHOCCIP150Upgrade/AaveV3Arbitrum_GHOCCIP150Upgrade_20241021.sol

Co-authored-by: Harsh Pandey <[email protected]>

* doc: reference token pool contracts

* doc: upgrade spec

* doc: formatting

* Update src/20241021_Multi_GHOCCIP150Upgrade/GHOCCIP150Upgrade.md

Co-authored-by: miguelmtz <[email protected]>

* Update src/20241021_Multi_GHOCCIP150Upgrade/GHOCCIP150Upgrade.md

Co-authored-by: miguelmtz <[email protected]>

* test: Refresh block number with ghostewards aip executed

* fix: Remove unneeded script

---------

Co-authored-by: Parth Patel <[email protected]>
Co-authored-by: DhairyaSethi <[email protected]>
Co-authored-by: Harsh Pandey <[email protected]>
  • Loading branch information
4 people authored Nov 7, 2024
1 parent 90866bf commit c016f11
Show file tree
Hide file tree
Showing 52 changed files with 2,703 additions and 42 deletions.
1 change: 1 addition & 0 deletions .assets/02a040db3fc4a88618783a9156e7fb51928e1ede.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions .assets/03dc42930b2b94af37ef869d012c4734aedb52e6.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions .assets/0afe490affc1bc77fe6675127b18e9aeeb4b1404.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions .assets/0fcfb1e84443509c42e21db9e4320c00e1db6098.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions .assets/1899e5ae4f4fd5b0d2565edd912a160acb2d0b78.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions .assets/18e6ba583d4d35e38cb678120492b2b4d52d19ea.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions .assets/1aa0fb636d34a35d35ce67919bc0d7d2e36d3839.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions .assets/1c1fbd79406b4b3a8c64ec79ef429f7c422d0387.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions .assets/2e9d5ba5e949c7896bc79e7fdd98872cb43375b0.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions .assets/39a3707c0ded91bbfde8953567853db55452a227.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions .assets/39d5ff798c0771402486c6f1ca63f2a1868d80d9.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions .assets/4820a9e881eaa3f3def4916e47e0c330b34ab151.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions .assets/5dbd5b9335471c83b44949206c9b2186657b836f.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions .assets/5f455cedf818a43aba043e71714721fd1e844501.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions .assets/7bc797fb2b1f421fa40a6d9a0028d1f78db71dc0.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions .assets/7ee454df22dbd82f0c1929bc14104d54c7081a49.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions .assets/8aa25c38caec024924773d1a5c7c63ab45c4eecf.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions .assets/8fc705464b3515a654de9893168a1b1321feccb4.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions .assets/9c784d12784a084406c3794fbe177e93da4c3479.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions .assets/a4faa118ed690be4e95fae01b8535036cda67e3d.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions .assets/a9a0275265838d424840d721917e0a4e3a5d8044.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions .assets/ac33ca939f6fc30c2fd799aaa6f59b0521c19e9f.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions .assets/c229e34ea67f12eea11bf5403763207eeab38cff.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions .assets/c277de9f9a155f6a0e47e0443845a3c9de5f6b84.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions .assets/ceb223a18f5aad36d9f6087d1d468b4dd5ba56a1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions .assets/d8d51b9f960b17304a3bdcaf8922d3ae84b3c30f.svg

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions .assets/dcedb30554ccb68f317b952113777790df5ca547.svg

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions .assets/e6c7eef36a7e70a1f1b35633097516fe5e21508b.svg

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions .assets/ec2b4dc8236ac87f8058f121d86de1d99e029c5c.svg

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions .assets/fb6ebf3fa05cf980f374598b56757dbc5cae3662.svg

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions .assets/fe79e1c7a3e943262824d4f683059c85d91a233d.svg

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## Emodes changes

## Raw diff

```json
{}
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## Emodes changes

## Raw diff

```json
{}
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import {TransparentUpgradeableProxy} from 'solidity-utils/contracts/transparent-proxy/TransparentUpgradeableProxy.sol';
import {ProxyAdmin} from 'solidity-utils/contracts/transparent-proxy/ProxyAdmin.sol';
import {IProposalGenericExecutor} from 'aave-helpers/src/interfaces/IProposalGenericExecutor.sol';
import {MiscArbitrum} from 'aave-address-book/MiscArbitrum.sol';
import {IUpgradeableBurnMintTokenPool} from 'src/interfaces/ccip/IUpgradeableBurnMintTokenPool.sol';
import {IRateLimiter} from 'src/interfaces/ccip/IRateLimiter.sol';

/**
* @title GHO CCIP 1.50 Upgrade
* @author Aave Labs
* - Discussion: https://governance.aave.com/t/bgd-technical-maintenance-proposals/15274/51
*/
contract AaveV3Arbitrum_GHOCCIP150Upgrade_20241021 is IProposalGenericExecutor {
uint64 public constant ETH_CHAIN_SELECTOR = 5009297550715157269;

// https://arbiscan.io/address/0xfc421aD3C883Bf9E7C4f42dE845C4e4405799e73
address public constant TOKEN_POOL_IMPL = 0xfc421aD3C883Bf9E7C4f42dE845C4e4405799e73;
// https://arbiscan.io/address/0x26329558f08cbb40d6a4CCA0E0C67b29D64A8c50
address public constant GHO_CCIP_PROXY_POOL = 0x26329558f08cbb40d6a4CCA0E0C67b29D64A8c50;

/// @dev Token Rate Limit Capacity: 300_000 GHO
uint128 public constant CCIP_RATE_LIMIT_CAPACITY = 300_000e18;

/// @dev Token Rate Limit Refill Rate: 60 GHO per second (=> 216_000 GHO per hour)
uint128 public constant CCIP_RATE_LIMIT_REFILL_RATE = 60e18;

function execute() external {
IUpgradeableBurnMintTokenPool tokenPoolProxy = IUpgradeableBurnMintTokenPool(
MiscArbitrum.GHO_CCIP_TOKEN_POOL
);

ProxyAdmin(MiscArbitrum.PROXY_ADMIN).upgrade(
TransparentUpgradeableProxy(payable(address(tokenPoolProxy))),
TOKEN_POOL_IMPL
);

// Update proxyPool address
tokenPoolProxy.setProxyPool(GHO_CCIP_PROXY_POOL);

// Set rate limit
IRateLimiter.Config memory rateLimitConfig = IRateLimiter.Config({
isEnabled: true,
capacity: CCIP_RATE_LIMIT_CAPACITY,
rate: CCIP_RATE_LIMIT_REFILL_RATE
});
tokenPoolProxy.setChainRateLimiterConfig(ETH_CHAIN_SELECTOR, rateLimitConfig, rateLimitConfig);
}
}
Loading

1 comment on commit c016f11

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Foundry report

forge 0.2.0 (58bf161 2024-11-07T00:20:40.732513260Z)
Build log
Compiling 316 files with Solc 0.8.20
Solc 0.8.20 finished in 145.59s
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:146:5:
    |
146 |     address erc20Token
    |     ^^^^^^^^^^^^^^^^^^

Warning (2018): Function state mutability can be restricted to pure
   --> lib/aave-helpers/src/swaps/AaveSwapper.sol:145:3:
    |
145 |   function maxRescue(
    |   ^ (Relevant source part starts here and spans across multiple lines).

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).

| 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,555 |             5,992 |             19,021 |              43,160 |
| 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_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_GHOCCIP150Upgrade_20241021                           |              817 |               846 |             23,759 |              48,306 |
| AaveV3Arbitrum_GHOStewardV2Upgrade_20241007                         |            1,360 |             1,389 |             23,216 |              47,763 |
| AaveV3Arbitrum_ReserveFactorUpdatesMidOctober_20241004              |            3,227 |             3,297 |             21,349 |              45,855 |
| AaveV3Arbitrum_RiskStewardPhase2_20240805                           |              307 |               336 |             24,269 |              48,816 |
| AaveV3Arbitrum_UpdateLegacyGuardian_20241016                        |            1,062 |             1,393 |             23,514 |              47,759 |
| 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_RiskStewardPhase2_20240805                          |              178 |               206 |             24,398 |              48,946 |
| AaveV3Avalanche_UpdateLegacyGuardian_20241016                       |            1,062 |             1,393 |             23,514 |              47,759 |
| 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_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 |
| 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_IncreaseCbBTCSupplyCaps_20241004                         |            3,146 |             3,216 |             21,430 |              45,936 |
| 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 |
| 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_RiskStewardPhase2_20240805                    |              178 |               206 |             24,398 |              48,946 |
| 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_OnboardEzETHToLidoInstance_20241021              |            6,194 |             6,265 |             18,382 |              42,887 |
| AaveV3EthereumLido_RiskStewardPhase2_20240805                       |              178 |               206 |             24,398 |              48,946 |
| 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_ChaosLabsAaveRiskManagementServiceRenewal_20241012   |            1,255 |             1,284 |             23,321 |              47,868 |
| AaveV3Ethereum_FixUSDSBorrowRateToMatchSkySavingsRate_20241022      |            3,238 |             3,308 |             21,338 |              45,844 |
| AaveV3Ethereum_GHOCCIP150Upgrade_20241021                           |              817 |               846 |             23,759 |              48,306 |
| AaveV3Ethereum_GHOStewardV2Upgrade_20241007                         |            2,895 |             2,924 |             21,681 |              46,228 |
| AaveV3Ethereum_IncreaseCbBTCSupplyCaps_20241004                     |            3,150 |             3,220 |             21,426 |              45,932 |
| AaveV3Ethereum_IncreaseUSDSBorrowRateToMatchSkySavingsRate_20241016 |            3,239 |             3,309 |             21,337 |              45,843 |
| AaveV3Ethereum_RenewLlamaRiskAsRiskServiceProvider_20241013         |            1,068 |             1,097 |             23,508 |              48,055 |
| AaveV3Ethereum_RiskStewardPhase2_20240805                           |              307 |               336 |             24,269 |              48,816 |
| AaveV3Ethereum_StkGHOIncentivesQ4_20241029                          |            1,458 |             1,487 |             23,118 |              47,665 |
| AaveV3Ethereum_UpdateLegacyGuardian_20241016                        |            1,062 |             1,413 |             23,514 |              47,739 |
| 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_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 |
| 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_RiskStewardPhase2_20240805                              |              178 |               206 |             24,398 |              48,946 |
| AaveV3Metis_UpdateLegacyGuardian_20241016                           |            1,062 |             1,393 |             23,514 |              47,759 |
| 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_ReserveFactorUpdatesMidOctober_20241004              |            3,227 |             3,297 |             21,349 |              45,855 |
| AaveV3Optimism_RiskStewardPhase2_20240805                           |              178 |               206 |             24,398 |              48,946 |
| AaveV3Optimism_UpdateLegacyGuardian_20241016                        |            1,062 |             1,393 |             23,514 |              47,759 |
| 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_ReserveFactorUpdatesMidOctober_20241004               |            3,226 |             3,296 |             21,350 |              45,856 |
| AaveV3Polygon_RiskStewardPhase2_20240805                            |              178 |               206 |             24,398 |              48,946 |
| AaveV3Polygon_UpdateLegacyGuardian_20241016                         |            1,062 |             1,393 |             23,514 |              47,759 |
| 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_RiskStewardPhase2_20240805                             |              178 |               206 |             24,398 |              48,946 |
| AaveV3Scroll_UpdateLegacyGuardian_20241016                          |            1,062 |             1,393 |             23,514 |              47,759 |
| Address                                                             |               44 |                94 |             24,532 |              49,058 |
| CCIPUtils                                                           |            4,968 |             5,021 |             19,608 |              44,131 |
| ChainHelpers                                                        |               44 |                94 |             24,532 |              49,058 |
| ChainIds                                                            |               44 |                94 |             24,532 |              49,058 |
| Client                                                              |              109 |               160 |             24,467 |              48,992 |
| CollectorUtils                                                      |               44 |                94 |             24,532 |              49,058 |
| ConfiguratorInputTypes                                              |               44 |                94 |             24,532 |              49,058 |
| Create2Utils                                                        |              121 |               172 |             24,455 |              48,980 |
| Create2UtilsZkSync                                                  |              104 |               155 |             24,472 |              48,997 |
| DataTypes                                                           |               44 |                94 |             24,532 |              49,058 |
| ERC1967Proxy                                                        |              129 |             1,179 |             24,447 |              47,973 |
| EngineFlags                                                         |               44 |                94 |             24,532 |              49,058 |
| Errors                                                              |            4,652 |             4,705 |             19,924 |              44,447 |
| GovV3Helpers                                                        |            2,517 |             2,570 |             22,059 |              46,582 |
| GovV3StorageHelpers                                                 |               44 |                94 |             24,532 |              49,058 |
| GovernanceGuardians                                                 |              292 |               345 |             24,284 |              48,807 |
| GovernanceV3Arbitrum                                                |               44 |                94 |             24,532 |              49,058 |
| GovernanceV3Avalanche                                               |               44 |                94 |             24,532 |              49,058 |
| GovernanceV3BNB                                                     |               44 |                94 |             24,532 |              49,058 |
| GovernanceV3Base                                                    |               44 |                94 |             24,532 |              49,058 |
| GovernanceV3Ethereum                                                |               44 |                94 |             24,532 |              49,058 |
| GovernanceV3Gnosis                                                  |               44 |                94 |             24,532 |              49,058 |
| GovernanceV3Metis                                                   |               44 |                94 |             24,532 |              49,058 |
| GovernanceV3Optimism                                                |               44 |                94 |             24,532 |              49,058 |
| GovernanceV3Polygon                                                 |               44 |                94 |             24,532 |              49,058 |
| GovernanceV3PolygonZkEvm                                            |               44 |                94 |             24,532 |              49,058 |
| GovernanceV3Scroll                                                  |               44 |                94 |             24,532 |              49,058 |
| GovernanceV3ZkSync                                                  |               44 |                94 |             24,532 |              49,058 |
| IpfsUtils                                                           |               44 |                94 |             24,532 |              49,058 |
| MiscArbitrum                                                        |               44 |                94 |             24,532 |              49,058 |
| MiscAvalanche                                                       |               44 |                94 |             24,532 |              49,058 |
| MiscBNB                                                             |               44 |                94 |             24,532 |              49,058 |
| MiscBase                                                            |               44 |                94 |             24,532 |              49,058 |
| MiscEthereum                                                        |               44 |                94 |             24,532 |              49,058 |
| MiscGnosis                                                          |               44 |                94 |             24,532 |              49,058 |
| MiscMetis                                                           |               44 |                94 |             24,532 |              49,058 |
| MiscOptimism                                                        |               44 |                94 |             24,532 |              49,058 |
| MiscPolygon                                                         |               44 |                94 |             24,532 |              49,058 |
| MiscScroll                                                          |               44 |                94 |             24,532 |              49,058 |
| Payloads                                                            |               44 |                94 |             24,532 |              49,058 |
| PayloadsControllerUtils                                             |               44 |                94 |             24,532 |              49,058 |
| ProtocolGuardians                                                   |              292 |               345 |             24,284 |              48,807 |
| ProxyAdmin                                                          |            1,592 |             1,714 |             22,984 |              47,438 |
| ProxyHelpers                                                        |               44 |                94 |             24,532 |              49,058 |
| RateLimiter                                                         |               44 |                94 |             24,532 |              49,058 |
| RenewalV2BasePayload                                                |              348 |               595 |             24,228 |              48,557 |
| RenewalV3BasePayload                                                |            1,062 |             1,509 |             23,514 |              47,643 |
| ReserveConfiguration                                                |              128 |               179 |             24,448 |              48,973 |
| RewardsDataTypes                                                    |               44 |                94 |             24,532 |              49,058 |
| SafeERC20                                                           |               44 |                94 |             24,532 |              49,058 |
| StorageHelpers                                                      |               44 |                94 |             24,532 |              49,058 |
| StorageSlot                                                         |               44 |                94 |             24,532 |              49,058 |
| TestNetChainIds                                                     |               44 |                94 |             24,532 |              49,058 |
| TransparentUpgradeableProxy                                         |            2,000 |             3,429 |             22,576 |              45,723 |
| WadRayMath                                                          |               44 |                94 |             24,532 |              49,058 |
Test success 🌈
No files changed, compilation skipped
2024-11-07T10:32:06.097951Z ERROR cheatcodes: non-empty stderr input=["npx", "@bgd-labs/aave-cli@^1.1.4", "diff-snapshots", "./reports/AaveV3Arbitrum_GHOCCIP150Upgrade_20241021_before.json", "./reports/AaveV3Arbitrum_GHOCCIP150Upgrade_20241021_after.json", "-o", "./diffs/AaveV3Arbitrum_GHOCCIP150Upgrade_20241021_before_AaveV3Arbitrum_GHOCCIP150Upgrade_20241021_after.md"] stderr="npm warn exec The following package was not found and will be installed: @bgd-labs/[email protected]
"

Ran 12 tests for src/20241021_Multi_GHOCCIP150Upgrade/AaveV3Arbitrum_GHOCCIP150Upgrade_20241021.t.sol:AaveV3Arbitrum_GHOCCIP150Upgrade_20241021_Test
[PASS] test_defaultProposalExecution() (gas: 49048048)
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: 100002094043849278203885
  SUPPLY: DAI, Amount: 1000020940438492782038
  WITHDRAW: DAI, Amount: 500010470219246391019
  WITHDRAW: DAI, Amount: 500010470219246391019
  BORROW: DAI, Amount 1000020940438492782038
  REPAY: DAI, Amount: 1000020940438492782038
  E2E: Collateral DAI, TestAsset LINK
  SUPPLY: DAI, Amount: 100002094043849278203885
  SUPPLY: LINK, Amount: 81645176431552235644
  WITHDRAW: LINK, Amount: 40822588215776117822
  WITHDRAW: LINK, Amount: 40822588215776117822
  BORROW: LINK, Amount 81645176431552235644
  REPAY: LINK, Amount: 81645176431552235644
  E2E: Collateral DAI, TestAsset USDC
  SUPPLY: DAI, Amount: 100002094043849278203885
  SUPPLY: USDC, Amount: 1000172219
  WITHDRAW: USDC, Amount: 500086109
  WITHDRAW: USDC, Amount: 500086110
  BORROW: USDC, Amount 1000172219
  REPAY: USDC, Amount: 1000172219
  E2E: Collateral DAI, TestAsset WBTC
  SUPPLY: DAI, Amount: 100002094043849278203885
  SUPPLY: WBTC, Amount: 1317793
  WITHDRAW: WBTC, Amount: 658896
  WITHDRAW: WBTC, Amount: 658897
  BORROW: WBTC, Amount 1317793
  REPAY: WBTC, Amount: 1317793
  E2E: Collateral DAI, TestAsset WETH
  SUPPLY: DAI, Amount: 100002094043849278203885
  SUPPLY: WETH, Amount: 366334577387485635
  WITHDRAW: WETH, Amount: 183167288693742817
  WITHDRAW: WETH, Amount: 183167288693742818
  BORROW: WETH, Amount 366334577387485635
  REPAY: WETH, Amount: 366334577387485635
  E2E: Collateral DAI, TestAsset USDT
  SUPPLY: DAI, Amount: 100002094043849278203885
  SUPPLY: USDT, Amount: 999448674
  WITHDRAW: USDT, Amount: 499724337
  WITHDRAW: USDT, Amount: 499724337
  BORROW: USDT, Amount 999448674
  REPAY: USDT, Amount: 999448674
  E2E: Collateral DAI, TestAsset AAVE
  SUPPLY: DAI, Amount: 100002094043849278203885
  SUPPLY: AAVE, Amount: 5688375119135899290
  WITHDRAW: AAVE, Amount: 2844187559567949645
  WITHDRAW: AAVE, Amount: 2844187559567949645
  E2E: TestAsset EURS SKIPPED
  E2E: Collateral DAI, TestAsset wstETH
  SUPPLY: DAI, Amount: 100002094043849278203885
  SUPPLY: wstETH, Amount: 309400001600718655
  WITHDRAW: wstETH, Amount: 154700000800359327
  WITHDRAW: wstETH, Amount: 154700000800359327
  BORROW: wstETH, Amount 309400001600718655
  REPAY: wstETH, Amount: 309400001600718655
  E2E: TestAsset MAI SKIPPED
  E2E: Collateral DAI, TestAsset rETH
  SUPPLY: DAI, Amount: 100002094043849278203885
  SUPPLY: rETH, Amount: 327064359209626083
  WITHDRAW: rETH, Amount: 163532179604813041
  WITHDRAW: rETH, Amount: 163532179604813043
  BORROW: rETH, Amount 327064359209626083
  REPAY: rETH, Amount: 327064359209626083
  E2E: Collateral DAI, TestAsset LUSD
  SUPPLY: DAI, Amount: 100002094043849278203885
  SUPPLY: LUSD, Amount: 1005799823989054001211
  WITHDRAW: LUSD, Amount: 502899911994527000605
  WITHDRAW: LUSD, Amount: 502899911994527000607
  BORROW: LUSD, Amount 1005799823989054001211
  REPAY: LUSD, Amount: 1005799823989054001211
  E2E: Collateral DAI, TestAsset USDC
  SUPPLY: DAI, Amount: 100002094043849278203885
  SUPPLY: USDC, Amount: 1000172219
  WITHDRAW: USDC, Amount: 500086109
  WITHDRAW: USDC, Amount: 500086110
  BORROW: USDC, Amount 1000172219
  REPAY: USDC, Amount: 1000172219
  E2E: Collateral DAI, TestAsset FRAX
  SUPPLY: DAI, Amount: 100002094043849278203885
  SUPPLY: FRAX, Amount: 1004011588542717741298
  WITHDRAW: FRAX, Amount: 502005794271358870649
  WITHDRAW: FRAX, Amount: 502005794271358870648
  BORROW: FRAX, Amount 1004011588542717741298
  REPAY: FRAX, Amount: 1004011588542717741298
  E2E: Collateral DAI, TestAsset ARB
  SUPPLY: DAI, Amount: 100002094043849278203885
  SUPPLY: ARB, Amount: 1809400075853669979937
  WITHDRAW: ARB, Amount: 904700037926834989968
  WITHDRAW: ARB, Amount: 904700037926834989969
  BORROW: ARB, Amount 1809400075853669979937
  REPAY: ARB, Amount: 1809400075853669979937
  E2E: Collateral DAI, TestAsset weETH
  SUPPLY: DAI, Amount: 100002094043849278203885
  SUPPLY: weETH, Amount: 348190047038239487
  WITHDRAW: weETH, Amount: 174095023519119743
  WITHDRAW: weETH, Amount: 174095023519119744
  BORROW: weETH, Amount 348190047038239487
  REPAY: weETH, Amount: 348190047038239487
  E2E: Collateral DAI, TestAsset GHO
  SUPPLY: DAI, Amount: 100002094043849278203885
  SUPPLY: GHO, Amount: 1000000000000000000000
  WITHDRAW: GHO, Amount: 500000000000000000000
  WITHDRAW: GHO, Amount: 500000000000000000001
  BORROW: GHO, Amount 1000000000000000000000
  REPAY: GHO, Amount: 1000000000000000000000

[PASS] test_executeMessagePostCCIPMigration(uint256) (runs: 256, μ: 406132, ~: 405850)
[PASS] test_executeMessagePostCCIPMigrationViaLegacyOffRamp(uint256) (runs: 256, μ: 406141, ~: 405840)
[PASS] test_executeMessagePreCCIPMigration(uint256) (runs: 256, μ: 288039, ~: 287761)
[PASS] test_getProxyPool() (gas: 207254)
[PASS] test_ownershipTransferOfGhoProxyPool() (gas: 352172)
[PASS] test_proxyPoolCanOffRamp(uint256) (runs: 256, μ: 314692, ~: 314359)
[PASS] test_proxyPoolCanOnRamp(uint256) (runs: 256, μ: 417548, ~: 417256)
[PASS] test_sendMessagePostCCIPMigration(uint256) (runs: 256, μ: 775956, ~: 775704)
[PASS] test_sendMessagePreCCIPMigration(uint256) (runs: 256, μ: 625231, ~: 625039)
[PASS] test_stewardCanDisableRateLimit() (gas: 215018)
[PASS] test_tokenPoolCannotBeInitializedAgain() (gas: 216883)
Suite result: ok. 12 passed; 0 failed; 0 skipped; finished in 122.82s (144.89s CPU time)

Ran 1 test suite in 122.83s (122.82s CPU time): 12 tests passed, 0 failed, 0 skipped (12 total tests)
No files changed, compilation skipped

Ran 2 tests for src/20241021_Multi_GHOCCIP150Upgrade/AaveV3E2E_GHOCCIP150Upgrade_20241021.t.sol:AaveV3E2E_GHOCCIP150Upgrade_20241021_InFlightCCIPMigration
[PASS] test_SendFlowInFlightCCIPMigrationFromArb() (gas: 836030)
[PASS] test_SendFlowInFlightCCIPMigrationFromEth() (gas: 782655)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 19.62s (6.19s CPU time)

Ran 1 test for src/20241021_Multi_GHOCCIP150Upgrade/AaveV3E2E_GHOCCIP150Upgrade_20241021.t.sol:AaveV3E2E_GHOCCIP150Upgrade_20241021_PreCCIPMigration
[PASS] test_E2E() (gas: 951250)
Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 19.62s (3.51s CPU time)

Ran 3 tests for src/20241021_Multi_GHOCCIP150Upgrade/AaveV3E2E_GHOCCIP150Upgrade_20241021.t.sol:AaveV3E2E_GHOCCIP150Upgrade_20241021_PostCCIPMigration
[PASS] test_E2E() (gas: 1129156)
[PASS] test_ExecuteRevertsWithoutUpgrade() (gas: 872244)
[PASS] test_SendRevertsWithoutUpgrade() (gas: 1135556)
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 19.88s (2.54s CPU time)

Ran 3 test suites in 19.89s (59.11s CPU time): 6 tests passed, 0 failed, 0 skipped (6 total tests)
No files changed, compilation skipped

Ran 12 tests for src/20241021_Multi_GHOCCIP150Upgrade/AaveV3Ethereum_GHOCCIP150Upgrade_20241021.t.sol:AaveV3Ethereum_GHOCCIP150Upgrade_20241021_Test
[PASS] test_defaultProposalExecution() (gas: 226970194)
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
  E2E: Collateral WETH, TestAsset WETH
  SUPPLY: WETH, Amount: 36564712895173217113
  SUPPLY: WETH, Amount: 365647128951732171
  WITHDRAW: WETH, Amount: 182823564475866085
  WITHDRAW: WETH, Amount: 182823564475866086
  BORROW: WETH, Amount 365647128951732171
  REPAY: WETH, Amount: 365647128951732171
  E2E: Collateral WETH, TestAsset wstETH
  SUPPLY: WETH, Amount: 36564712895173217113
  SUPPLY: wstETH, Amount: 308819394254315275
  WITHDRAW: wstETH, Amount: 154409697127157637
  WITHDRAW: wstETH, Amount: 154409697127157638
  BORROW: wstETH, Amount 308819394254315275
  REPAY: wstETH, Amount: 308819394254315275
  E2E: Collateral WETH, TestAsset WBTC
  SUPPLY: WETH, Amount: 36564712895173217113
  SUPPLY: WBTC, Amount: 1322850
  WITHDRAW: WBTC, Amount: 661425
  WITHDRAW: WBTC, Amount: 661425
  BORROW: WBTC, Amount 1322850
  REPAY: WBTC, Amount: 1322850
  E2E: Collateral WETH, TestAsset USDC
  SUPPLY: WETH, Amount: 36564712895173217113
  SUPPLY: USDC, Amount: 999999210
  WITHDRAW: USDC, Amount: 499999605
  WITHDRAW: USDC, Amount: 499999606
  BORROW: USDC, Amount 999999210
  REPAY: USDC, Amount: 999999210
  E2E: Collateral WETH, TestAsset DAI
  SUPPLY: WETH, Amount: 36564712895173217113
  SUPPLY: DAI, Amount: 1000224810528414366412
  WITHDRAW: DAI, Amount: 500112405264207183206
  WITHDRAW: DAI, Amount: 500112405264207183207
  BORROW: DAI, Amount 1000224810528414366412
  REPAY: DAI, Amount: 1000224810528414366412
  E2E: Collateral WETH, TestAsset LINK
  SUPPLY: WETH, Amount: 36564712895173217113
  SUPPLY: LINK, Amount: 81491775733867157705
  WITHDRAW: LINK, Amount: 40745887866933578852
  WITHDRAW: LINK, Amount: 40745887866933578853
  BORROW: LINK, Amount 81491775733867157705
  REPAY: LINK, Amount: 81491775733867157705
  E2E: Collateral WETH, TestAsset AAVE
  SUPPLY: WETH, Amount: 36564712895173217113
  SUPPLY: AAVE, Amount: 5741137836107738192
  WITHDRAW: AAVE, Amount: 2870568918053869096
  WITHDRAW: AAVE, Amount: 2870568918053869096
  E2E: Collateral WETH, TestAsset cbETH
  SUPPLY: WETH, Amount: 36564712895173217113
  SUPPLY: cbETH, Amount: 336822284995932343
  WITHDRAW: cbETH, Amount: 168411142497966171
  WITHDRAW: cbETH, Amount: 168411142497966173
  BORROW: cbETH, Amount 336822284995932343
  REPAY: cbETH, Amount: 336822284995932343
  E2E: Collateral WETH, TestAsset USDT
  SUPPLY: WETH, Amount: 36564712895173217113
  SUPPLY: USDT, Amount: 999969080
  WITHDRAW: USDT, Amount: 499984540
  WITHDRAW: USDT, Amount: 499984539
  BORROW: USDT, Amount 999969080
  REPAY: USDT, Amount: 999969080
  E2E: Collateral WETH, TestAsset rETH
  SUPPLY: WETH, Amount: 36564712895173217113
  SUPPLY: rETH, Amount: 326424996882367409
  WITHDRAW: rETH, Amount: 163212498441183704
  WITHDRAW: rETH, Amount: 163212498441183705
  BORROW: rETH, Amount 326424996882367409
  REPAY: rETH, Amount: 326424996882367409
  E2E: Collateral WETH, TestAsset LUSD
  SUPPLY: WETH, Amount: 36564712895173217113
  SUPPLY: LUSD, Amount: 1006210583272604332088
  WITHDRAW: LUSD, Amount: 503105291636302166044
  WITHDRAW: LUSD, Amount: 503105291636302166044
  BORROW: LUSD, Amount 1006210583272604332088
  REPAY: LUSD, Amount: 1006210583272604332088
  E2E: Collateral WETH, TestAsset CRV
  SUPPLY: WETH, Amount: 36564712895173217113
  SUPPLY: CRV, Amount: 3841371633959692026480
  WITHDRAW: CRV, Amount: 1920685816979846013240
  WITHDRAW: CRV, Amount: 1920685816979846013241
  BORROW: CRV, Amount 3841371633959692026480
  REPAY: CRV, Amount: 3841371633959692026480
  E2E: Collateral WETH, TestAsset MKR
  SUPPLY: WETH, Amount: 36564712895173217113
  SUPPLY: MKR, Amount: 712632010246026071
  WITHDRAW: MKR, Amount: 356316005123013035
  WITHDRAW: MKR, Amount: 356316005123013035
  BORROW: MKR, Amount 712632010246026071
  REPAY: MKR, Amount: 712632010246026071
  E2E: Collateral WETH, TestAsset SNX
  SUPPLY: WETH, Amount: 36564712895173217113
  SUPPLY: SNX, Amount: 672282466200999011744
  WITHDRAW: SNX, Amount: 336141233100499505872
  WITHDRAW: SNX, Amount: 336141233100499505872
  BORROW: SNX, Amount 672282466200999011744
  REPAY: SNX, Amount: 672282466200999011744
  E2E: Collateral WETH, TestAsset BAL
  SUPPLY: WETH, Amount: 36564712895173217113
  SUPPLY: BAL, Amount: 506388034415346150149
  WITHDRAW: BAL, Amount: 253194017207673075074
  WITHDRAW: BAL, Amount: 253194017207673075075
  BORROW: BAL, Amount 506388034415346150149
  REPAY: BAL, Amount: 506388034415346150149
  E2E: Collateral WETH, TestAsset UNI
  SUPPLY: WETH, Amount: 36564712895173217113
  SUPPLY: UNI, Amount: 105683188719839751143
  WITHDRAW: UNI, Amount: 52841594359919875571
  WITHDRAW: UNI, Amount: 52841594359919875572
  BORROW: UNI, Amount 105683188719839751143
  REPAY: UNI, Amount: 105683188719839751143
  E2E: Collateral WETH, TestAsset LDO
  SUPPLY: WETH, Amount: 36564712895173217113
  SUPPLY: LDO, Amount: 733267468805060366794
  WITHDRAW: LDO, Amount: 366633734402530183397
  WITHDRAW: LDO, Amount: 366633734402530183397
  BORROW: LDO, Amount 733267468805060366794
  REPAY: LDO, Amount: 733267468805060366794
  E2E: Collateral WETH, TestAsset ENS
  SUPPLY: WETH, Amount: 36564712895173217113
  SUPPLY: ENS, Amount: 55291628309320550534
  WITHDRAW: ENS, Amount: 27645814154660275267
  WITHDRAW: ENS, Amount: 27645814154660275266
  BORROW: ENS, Amount 55291628309320550534
  REPAY: ENS, Amount: 55291628309320550534
  E2E: Collateral WETH, TestAsset 1INCH
  SUPPLY: WETH, Amount: 36564712895173217113
  SUPPLY: 1INCH, Amount: 3781549991542563443915
  WITHDRAW: 1INCH, Amount: 1890774995771281721957
  WITHDRAW: 1INCH, Amount: 1890774995771281721957
  BORROW: 1INCH, Amount 3781549991542563443915
  REPAY: 1INCH, Amount: 3781549991542563443915
  E2E: Collateral WETH, TestAsset FRAX
  SUPPLY: WETH, Amount: 36564712895173217113
  SUPPLY: FRAX, Amount: 1003908174366481738749
  WITHDRAW: FRAX, Amount: 501954087183240869374
  WITHDRAW: FRAX, Amount: 501954087183240869376
  BORROW: FRAX, Amount 1003908174366481738749
  REPAY: FRAX, Amount: 1003908174366481738749
  E2E: Collateral WETH, TestAsset GHO
  SUPPLY: WETH, Amount: 36564712895173217113
  BORROW: GHO, Amount 1000000000000000000000
  REPAY: GHO, Amount: 1000000000000000000000
  E2E: Collateral WETH, TestAsset RPL
  SUPPLY: WETH, Amount: 36564712895173217113
  SUPPLY: RPL, Amount: 96912054854161288552
  WITHDRAW: RPL, Amount: 48456027427080644276
  WITHDRAW: RPL, Amount: 48456027427080644275
  BORROW: RPL, Amount 96912054854161288552
  REPAY: RPL, Amount: 96912054854161288552
  E2E: Collateral WETH, TestAsset sDAI
  SUPPLY: WETH, Amount: 36564712895173217113
  SUPPLY: sDAI, Amount: 895383475327274076371
  WITHDRAW: sDAI, Amount: 447691737663637038185
  WITHDRAW: sDAI, Amount: 447691737663637038187
  E2E: TestAsset STG SKIPPED
  E2E: TestAsset KNC SKIPPED
  E2E: TestAsset FXS SKIPPED
  E2E: Collateral WETH, TestAsset crvUSD
  SUPPLY: WETH, Amount: 36564712895173217113
  SUPPLY: crvUSD, Amount: 1004137316862549255822
  WITHDRAW: crvUSD, Amount: 502068658431274627911
  WITHDRAW: crvUSD, Amount: 502068658431274627911
  BORROW: crvUSD, Amount 1004137316862549255822
  REPAY: crvUSD, Amount: 1004137316862549255822
  E2E: Collateral WETH, TestAsset PYUSD
  SUPPLY: WETH, Amount: 36564712895173217113
  SUPPLY: PYUSD, Amount: 999842984
  WITHDRAW: PYUSD, Amount: 499921492
  WITHDRAW: PYUSD, Amount: 499921491
  BORROW: PYUSD, Amount 999842984
  REPAY: PYUSD, Amount: 999842984
  E2E: Collateral WETH, TestAsset weETH
  SUPPLY: WETH, Amount: 36564712895173217113
  SUPPLY: weETH, Amount: 347536647884346613
  WITHDRAW: weETH, Amount: 173768323942173306
  WITHDRAW: weETH, Amount: 173768323942173306
  BORROW: weETH, Amount 347536647884346613
  REPAY: weETH, Amount: 347536647884346613
  E2E: Collateral WETH, TestAsset osETH
  SUPPLY: WETH, Amount: 36564712895173217113
  SUPPLY: osETH, Amount: 354696926058451032
  WITHDRAW: osETH, Amount: 177348463029225516
  WITHDRAW: osETH, Amount: 177348463029225516
  BORROW: osETH, Amount 354696926058451032
  REPAY: osETH, Amount: 354696926058451032
  E2E: Collateral WETH, TestAsset USDe
  SUPPLY: WETH, Amount: 36564712895173217113
  SUPPLY: USDe, Amount: 998985580092694872991
  WITHDRAW: USDe, Amount: 499492790046347436495
  WITHDRAW: USDe, Amount: 499492790046347436496
  BORROW: USDe, Amount 998985580092694872991
  REPAY: USDe, Amount: 998985580092694872991
  E2E: Collateral WETH, TestAsset ETHx
  SUPPLY: WETH, Amount: 36564712895173217113
  SUPPLY: ETHx, Amount: 350076751785571615
  WITHDRAW: ETHx, Amount: 175038375892785807
  WITHDRAW: ETHx, Amount: 175038375892785808
  BORROW: ETHx, Amount 350076751785571615
  REPAY: ETHx, Amount: 350076751785571615
  E2E: Collateral WETH, TestAsset sUSDe
  SUPPLY: WETH, Amount: 36564712895173217113
  SUPPLY: sUSDe, Amount: 896034561415006310144
  WITHDRAW: sUSDe, Amount: 448017280707503155072
  WITHDRAW: sUSDe, Amount: 448017280707503155072
  E2E: Collateral WETH, TestAsset tBTC
  SUPPLY: WETH, Amount: 36564712895173217113
  SUPPLY: tBTC, Amount: 13206815213226276
  WITHDRAW: tBTC, Amount: 6603407606613138
  WITHDRAW: tBTC, Amount: 6603407606613137
  BORROW: tBTC, Amount 13206815213226276
  REPAY: tBTC, Amount: 13206815213226276
  E2E: Collateral WETH, TestAsset cbBTC
  SUPPLY: WETH, Amount: 36564712895173217113
  SUPPLY: cbBTC, Amount: 1320681
  WITHDRAW: cbBTC, Amount: 660340
  WITHDRAW: cbBTC, Amount: 660341
  BORROW: cbBTC, Amount 1320681
  REPAY: cbBTC, Amount: 1320681
  E2E: Collateral WETH, TestAsset USDS
  SUPPLY: WETH, Amount: 36564712895173217113
  SUPPLY: USDS, Amount: 1000224810528414366412
  WITHDRAW: USDS, Amount: 500112405264207183206
  WITHDRAW: USDS, Amount: 500112405264207183206
  BORROW: USDS, Amount 1000224810528414366412
  REPAY: USDS, Amount: 1000224810528414366412

[PASS] test_executeMessagePostCCIPMigration(uint256) (runs: 256, μ: 480140, ~: 479842)
[PASS] test_executeMessagePostCCIPMigrationViaLegacyOffRamp(uint256) (runs: 256, μ: 482184, ~: 482400)
[PASS] test_executeMessagePreCCIPMigration(uint256) (runs: 256, μ: 412816, ~: 412548)
[PASS] test_getProxyPool() (gas: 207333)
[PASS] test_ownershipTransferOfGhoProxyPool() (gas: 303331)
[PASS] test_proxyPoolCanOffRamp(uint256) (runs: 256, μ: 426107, ~: 425837)
[PASS] test_proxyPoolCanOnRamp(uint256) (runs: 256, μ: 258892, ~: 258596)
[PASS] test_sendMessagePostCCIPMigration(uint256) (runs: 256, μ: 698818, ~: 698762)
[PASS] test_sendMessagePreCCIPMigration(uint256) (runs: 256, μ: 597657, ~: 597398)
[PASS] test_stewardCanDisableRateLimit() (gas: 215110)
[PASS] test_tokenPoolCannotBeInitializedAgain() (gas: 217111)
Suite result: ok. 12 passed; 0 failed; 0 skipped; finished in 220.64s (228.24s CPU time)

Ran 1 test suite in 220.65s (220.64s CPU time): 12 tests passed, 0 failed, 0 skipped (12 total tests)

Please sign in to comment.