Skip to content

Commit

Permalink
fix: patch usdc & supply cap tests (#208)
Browse files Browse the repository at this point in the history
  • Loading branch information
sakulstra authored Dec 27, 2023
1 parent 5481ac5 commit 1adaebd
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 5 deletions.
13 changes: 10 additions & 3 deletions src/CommonTestBase.sol
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ import {AaveV3OptimismAssets} from 'aave-address-book/AaveV3Optimism.sol';
import {AaveV3EthereumAssets} from 'aave-address-book/AaveV3Ethereum.sol';
import {AaveV3PolygonAssets} from 'aave-address-book/AaveV3Polygon.sol';
import {AaveV3AvalancheAssets} from 'aave-address-book/AaveV3Avalanche.sol';
import {AaveV3ArbitrumAssets} from 'aave-address-book/AaveV3Arbitrum.sol';
import {AaveV3GnosisAssets} from 'aave-address-book/AaveV3Gnosis.sol';
import {AaveV3BaseAssets} from 'aave-address-book/AaveV3Base.sol';
import {ChainIds} from './ChainIds.sol';
import {GovV3Helpers} from './GovV3Helpers.sol';
Expand Down Expand Up @@ -103,9 +105,7 @@ contract CommonTestBase is Test {
}
}
if (block.chainid == ChainIds.GNOSIS) {
// TODO: import EURs address from address-book once address book is updated
// EURs
if (asset == 0xcB444e90D8198415266c6a2724b7900fb12FC56E) {
if (asset == AaveV3GnosisAssets.EURe_UNDERLYING) {
vm.startPrank(0xBA12222222228d8Ba445958a75a0704d566BF2C8);
IERC20(asset).transfer(user, amount);
return true;
Expand All @@ -118,6 +118,13 @@ contract CommonTestBase is Test {
return true;
}
}
if (block.chainid == ChainIds.ARBITRUM) {
if (asset == AaveV3ArbitrumAssets.USDCn_UNDERLYING) {
vm.startPrank(0x47c031236e19d024b42f8AE6780E44A573170703);
IERC20(asset).transfer(user, amount);
return true;
}
}
if (block.chainid == ChainIds.AVALANCHE) {
if (asset == AaveV3AvalancheAssets.USDC_UNDERLYING) {
vm.startPrank(0x9f8c163cBA728e99993ABe7495F06c0A3c8Ac8b9);
Expand Down
2 changes: 1 addition & 1 deletion src/ProtocolV3TestBase.sol
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ contract ProtocolV3TestBase is CommonTestBase {
IPoolConfigurator poolConfigurator = IPoolConfigurator(addressesProvider.getPoolConfigurator());
vm.startPrank(addressesProvider.getACLAdmin());
if (collateralConfig.supplyCap != 0)
poolConfigurator.setSupplyCap(testAssetConfig.underlying, 0);
poolConfigurator.setSupplyCap(collateralConfig.underlying, 0);
if (testAssetConfig.supplyCap != 0)
poolConfigurator.setSupplyCap(testAssetConfig.underlying, 0);
if (testAssetConfig.borrowCap != 0)
Expand Down
28 changes: 27 additions & 1 deletion tests/ProtocolV3TestBase.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ import {ProtocolV3LegacyTestBase, ProtocolV3TestBase, ReserveConfig} from '../sr
import {AaveV3Ethereum} from 'aave-address-book/AaveV3Ethereum.sol';
import {AaveV3Polygon, AaveV3PolygonAssets} from 'aave-address-book/AaveV3Polygon.sol';
import {AaveV3Optimism, AaveV3OptimismAssets} from 'aave-address-book/AaveV3Optimism.sol';
import {AaveV3Arbitrum, AaveV3ArbitrumAssets} from 'aave-address-book/AaveV3Arbitrum.sol';
import {AaveV3Avalanche, AaveV3AvalancheAssets} from 'aave-address-book/AaveV3Avalanche.sol';
import {AaveV3Metis} from 'aave-address-book/AaveV3Metis.sol';
import {PayloadWithEmit} from './mocks/PayloadWithEmit.sol';

contract ProtocolV3TestBaseTest is ProtocolV3TestBase {
Expand Down Expand Up @@ -59,7 +61,7 @@ contract ProtocolV3TestE2ETestAsset is ProtocolV3TestBase {
}
}

contract ProtocolV3TestE2ETestAll is ProtocolV3TestBase {
contract ProtocolV3TestE2ETestOptimismAll is ProtocolV3TestBase {
function setUp() public {
vm.createSelectFork('optimism', 105213914);
}
Expand All @@ -69,6 +71,16 @@ contract ProtocolV3TestE2ETestAll is ProtocolV3TestBase {
}
}

contract ProtocolV3TestE2ETestMetisAll is ProtocolV3TestBase {
function setUp() public {
vm.createSelectFork('metis', 10115177);
}

function test_e2e() public {
e2eTest(AaveV3Metis.POOL);
}
}

contract ProtocolV3TestE2ETestAvalancheAll is ProtocolV3TestBase {
function setUp() public {
vm.createSelectFork('avalanche', 38700698);
Expand All @@ -83,6 +95,20 @@ contract ProtocolV3TestE2ETestAvalancheAll is ProtocolV3TestBase {
}
}

contract ProtocolV3TestE2ETestArbitrumAll is ProtocolV3TestBase {
function setUp() public {
vm.createSelectFork('arbitrum', 164285417);
}

function test_e2e() public {
e2eTest(AaveV3Arbitrum.POOL);
}

function test_deal() public {
deal2(AaveV3ArbitrumAssets.USDCn_UNDERLYING, address(this), 1000);
}
}

contract ProtocolV3TestE2ETestAllMainnet is ProtocolV3TestBase {
function setUp() public {
vm.createSelectFork('mainnet', 18763779);
Expand Down

1 comment on commit 1adaebd

@github-actions
Copy link
Contributor

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 (67ab870 2023-12-27T00:16:03.636506444Z)
Build log
Compiling 283 files with 0.8.18
Solc 0.8.18 finished in 88.91s
Compiler run successful with warnings:
Warning (8760): This declaration has the same name as another declaration.
  --> src/dependencies/DefaultReserveInterestRateStrategy.sol:60:5:
   |
60 |     uint256 baseVariableBorrowRate,
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Note: The other declaration is here:
  --> src/dependencies/DefaultReserveInterestRateStrategy.sol:92:3:
   |
92 |   function baseVariableBorrowRate() external view override returns (uint256) {
   |   ^ (Relevant source part starts here and spans across multiple lines).

Warning (8760): This declaration has the same name as another declaration.
  --> src/dependencies/DefaultReserveInterestRateStrategy.sol:61:5:
   |
61 |     uint256 variableRateSlope1,
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
Note: The other declaration is here:
  --> src/dependencies/DefaultReserveInterestRateStrategy.sol:76:3:
   |
76 |   function variableRateSlope1() external view returns (uint256) {
   |   ^ (Relevant source part starts here and spans across multiple lines).

Warning (8760): This declaration has the same name as another declaration.
  --> src/dependencies/DefaultReserveInterestRateStrategy.sol:62:5:
   |
62 |     uint256 variableRateSlope2,
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
Note: The other declaration is here:
  --> src/dependencies/DefaultReserveInterestRateStrategy.sol:80:3:
   |
80 |   function variableRateSlope2() external view returns (uint256) {
   |   ^ (Relevant source part starts here and spans across multiple lines).

Warning (8760): This declaration has the same name as another declaration.
  --> src/dependencies/DefaultReserveInterestRateStrategy.sol:63:5:
   |
63 |     uint256 stableRateSlope1,
   |     ^^^^^^^^^^^^^^^^^^^^^^^^
Note: The other declaration is here:
  --> src/dependencies/DefaultReserveInterestRateStrategy.sol:84:3:
   |
84 |   function stableRateSlope1() external view returns (uint256) {
   |   ^ (Relevant source part starts here and spans across multiple lines).

Warning (8760): This declaration has the same name as another declaration.
  --> src/dependencies/DefaultReserveInterestRateStrategy.sol:64:5:
   |
64 |     uint256 stableRateSlope2
   |     ^^^^^^^^^^^^^^^^^^^^^^^^
Note: The other declaration is here:
  --> src/dependencies/DefaultReserveInterestRateStrategy.sol:88:3:
   |
88 |   function stableRateSlope2() external view returns (uint256) {
   |   ^ (Relevant source part starts here and spans across multiple lines).

Warning (2462): Visibility for constructor is ignored. If you want the contract to be non-deployable, making it "abstract" is sufficient.
  --> src/dependencies/DefaultReserveInterestRateStrategy.sol:57:3:
   |
57 |   constructor(
   |   ^ (Relevant source part starts here and spans across multiple lines).

Warning (9302): Return value of low-level calls not used.
   --> tests/bridges/AavePolEthERC20BridgeTest.t.sol:193:5:
    |
193 |     address(bridgePolygon).call{value: 1 ether}('');
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Warning (9302): Return value of low-level calls not used.
   --> tests/bridges/AavePolEthERC20BridgeTest.t.sol:203:5:
    |
203 |     address(bridgeMainnet).call{value: 1 ether}('');
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Warning (5667): Unused function parameter. Remove or comment out the variable name to silence this warning.
   --> src/GovV3Helpers.sol:823:5:
    |
823 |     address votingPortal
    |     ^^^^^^^^^^^^^^^^^^^^

Warning (2018): Function state mutability can be restricted to pure
   --> src/GovV3Helpers.sol:541:3:
    |
541 |   function build2_5Payload(
    |   ^ (Relevant source part starts here and spans across multiple lines).

Warning (2018): Function state mutability can be restricted to pure
 --> tests/PreviewLink.t.sol:8:3:
  |
8 |   function testPreviewLink() public {
  |   ^ (Relevant source part starts here and spans across multiple lines).

| Contract                                    | Size (kB) | Margin (kB) |
|---------------------------------------------|-----------|-------------|
| AaveGovernanceV2                            | 0.086     | 24.49       |
| AavePolEthERC20Bridge                       | 4.186     | 20.39       |
| AaveSafetyModule                            | 0.086     | 24.49       |
| AaveSwapper                                 | 5.613     | 18.963      |
| AaveV2Avalanche                             | 0.086     | 24.49       |
| AaveV2AvalancheAssets                       | 0.086     | 24.49       |
| AaveV2ConfigEngine                          | 3.18      | 21.396      |
| AaveV2Ethereum                              | 0.086     | 24.49       |
| AaveV2EthereumAMM                           | 0.086     | 24.49       |
| AaveV2EthereumAMMAssets                     | 0.086     | 24.49       |
| AaveV2EthereumArc                           | 0.086     | 24.49       |
| AaveV2EthereumArcAssets                     | 0.086     | 24.49       |
| AaveV2EthereumAssets                        | 0.086     | 24.49       |
| AaveV2EthereumRatesUpdate                   | 1.512     | 23.064      |
| AaveV2Fuji                                  | 0.086     | 24.49       |
| AaveV2FujiAssets                            | 0.086     | 24.49       |
| AaveV2Goerli                                | 0.086     | 24.49       |
| AaveV2GoerliAssets                          | 0.086     | 24.49       |
| AaveV2Mumbai                                | 0.086     | 24.49       |
| AaveV2MumbaiAssets                          | 0.086     | 24.49       |
| AaveV2Polygon                               | 0.086     | 24.49       |
| AaveV2PolygonAssets                         | 0.086     | 24.49       |
| AaveV3Arbitrum                              | 0.086     | 24.49       |
| AaveV3ArbitrumAssets                        | 0.086     | 24.49       |
| AaveV3ArbitrumEModes                        | 0.086     | 24.49       |
| AaveV3ArbitrumGoerli                        | 0.086     | 24.49       |
| AaveV3ArbitrumGoerliAssets                  | 0.086     | 24.49       |
| AaveV3ArbitrumGoerliEModes                  | 0.086     | 24.49       |
| AaveV3ArbitrumRatesUpdates070322            | 4.674     | 19.902      |
| AaveV3Avalanche                             | 0.086     | 24.49       |
| AaveV3AvalancheAssets                       | 0.086     | 24.49       |
| AaveV3AvalancheCollateralUpdate             | 3.408     | 21.168      |
| AaveV3AvalancheCollateralUpdateCorrectBonus | 3.408     | 21.168      |
| AaveV3AvalancheCollateralUpdateNoChange     | 3.428     | 21.148      |
| AaveV3AvalancheCollateralUpdateWrongBonus   | 3.408     | 21.168      |
| AaveV3AvalancheEModeCategoryUpdateEdgeBonus | 3.379     | 21.197      |
| AaveV3AvalancheEModeCategoryUpdateNoChange  | 3.443     | 21.133      |
| AaveV3AvalancheEModes                       | 0.086     | 24.49       |
| AaveV3AvalancheRatesUpdates070322           | 5.115     | 19.461      |
| AaveV3BNB                                   | 0.086     | 24.49       |
| AaveV3BNBAssets                             | 0.086     | 24.49       |
| AaveV3BNBEModes                             | 0.086     | 24.49       |
| AaveV3Base                                  | 0.086     | 24.49       |
| AaveV3BaseAssets                            | 0.086     | 24.49       |
| AaveV3BaseEModes                            | 0.086     | 24.49       |
| AaveV3ConfigEngine                          | 8.273     | 16.303      |
| AaveV3Ethereum                              | 0.086     | 24.49       |
| AaveV3EthereumAssetEModeUpdate              | 3.257     | 21.319      |
| AaveV3EthereumAssets                        | 0.086     | 24.49       |
| AaveV3EthereumEModes                        | 0.086     | 24.49       |
| AaveV3EthereumMockCapUpdate                 | 3.335     | 21.241      |
| AaveV3EthereumMockCustomListing             | 4.166     | 20.41       |
| AaveV3Fantom                                | 0.086     | 24.49       |
| AaveV3FantomAssets                          | 0.086     | 24.49       |
| AaveV3FantomEModes                          | 0.086     | 24.49       |
| AaveV3FantomTestnet                         | 0.086     | 24.49       |
| AaveV3FantomTestnetAssets                   | 0.086     | 24.49       |
| AaveV3FantomTestnetEModes                   | 0.086     | 24.49       |
| AaveV3Fuji                                  | 0.086     | 24.49       |
| AaveV3FujiAssets                            | 0.086     | 24.49       |
| AaveV3FujiEModes                            | 0.086     | 24.49       |
| AaveV3Gnosis                                | 0.086     | 24.49       |
| AaveV3GnosisAssets                          | 0.086     | 24.49       |
| AaveV3GnosisEModes                          | 0.086     | 24.49       |
| AaveV3GoerliGho                             | 0.086     | 24.49       |
| AaveV3GoerliGhoAssets                       | 0.086     | 24.49       |
| AaveV3GoerliGhoEModes                       | 0.086     | 24.49       |
| AaveV3Harmony                               | 0.086     | 24.49       |
| AaveV3HarmonyAssets                         | 0.086     | 24.49       |
| AaveV3HarmonyEModes                         | 0.086     | 24.49       |
| AaveV3Metis                                 | 0.086     | 24.49       |
| AaveV3MetisAssets                           | 0.086     | 24.49       |
| AaveV3MetisEModes                           | 0.086     | 24.49       |
| AaveV3Mumbai                                | 0.086     | 24.49       |
| AaveV3MumbaiAssets                          | 0.086     | 24.49       |
| AaveV3MumbaiEModes                          | 0.086     | 24.49       |
| AaveV3Optimism                              | 0.086     | 24.49       |
| AaveV3OptimismAssets                        | 0.086     | 24.49       |
| AaveV3OptimismEModes                        | 0.086     | 24.49       |
| AaveV3OptimismGoerli                        | 0.086     | 24.49       |
| AaveV3OptimismGoerliAssets                  | 0.086     | 24.49       |
| AaveV3OptimismGoerliEModes                  | 0.086     | 24.49       |
| AaveV3OptimismMockRatesUpdate               | 3.669     | 20.907      |
| AaveV3OptimismRatesUpdates070322            | 4.377     | 20.199      |
| AaveV3Polygon                               | 0.086     | 24.49       |
| AaveV3PolygonAssets                         | 0.086     | 24.49       |
| AaveV3PolygonBorrowUpdate                   | 3.428     | 21.148      |
| AaveV3PolygonBorrowUpdateNoChange           | 3.45      | 21.126      |
| AaveV3PolygonEModeCategoryUpdate            | 3.377     | 21.199      |
| AaveV3PolygonEModes                         | 0.086     | 24.49       |
| AaveV3PolygonMockListing                    | 3.986     | 20.59       |
| AaveV3PolygonPriceFeedUpdate                | 3.276     | 21.3        |
| AaveV3PolygonRatesUpdates070322             | 5.73      | 18.846      |
| AaveV3ScrollAlpha                           | 0.086     | 24.49       |
| AaveV3ScrollAlphaAssets                     | 0.086     | 24.49       |
| AaveV3ScrollAlphaEModes                     | 0.086     | 24.49       |
| AaveV3ScrollSepolia                         | 0.086     | 24.49       |
| AaveV3ScrollSepoliaAssets                   | 0.086     | 24.49       |
| AaveV3ScrollSepoliaEModes                   | 0.086     | 24.49       |
| AaveV3Sepolia                               | 0.086     | 24.49       |
| AaveV3SepoliaAssets                         | 0.086     | 24.49       |
| AaveV3SepoliaEModes                         | 0.086     | 24.49       |
| Address                                     | 0.086     | 24.49       |
| AddressAliasHelper                          | 0.086     | 24.49       |
| BorrowEngine                                | 2.922     | 21.654      |
| CapsEngine                                  | 1.256     | 23.32       |
| CapsPlusRiskSteward                         | 2.607     | 21.969      |
| CapsPlusRiskStewardErrors                   | 0.556     | 24.02       |
| ChainHelpers                                | 0.086     | 24.49       |
| ChainIds                                    | 0.086     | 24.49       |
| CollateralEngine                            | 2.836     | 21.74       |
| ConfiguratorInputTypes                      | 0.086     | 24.49       |
| Create2Utils                                | 0.164     | 24.412      |
| CrosschainForwarderArbitrum                 | 2.246     | 22.33       |
| CrosschainForwarderMetis                    | 1.561     | 23.015      |
| CrosschainForwarderOptimism                 | 1.689     | 22.887      |
| CrosschainForwarderPolygon                  | 1.435     | 23.141      |
| DataTypes                                   | 0.086     | 24.49       |
| DefaultReserveInterestRateStrategy          | 3.485     | 21.091      |
| DeployEngineArbLib                          | 0.086     | 24.49       |
| DeployEngineAvaLib                          | 0.086     | 24.49       |
| DeployEngineBaseLib                         | 0.086     | 24.49       |
| DeployEngineBnbLib                          | 0.086     | 24.49       |
| DeployEngineEthLib                          | 0.086     | 24.49       |
| DeployEngineGnoLib                          | 0.086     | 24.49       |
| DeployEngineMetLib                          | 0.086     | 24.49       |
| DeployEngineOptLib                          | 0.086     | 24.49       |
| DeployEnginePolLib                          | 0.086     | 24.49       |
| DeployRatesFactoryArbLib                    | 0.086     | 24.49       |
| DeployRatesFactoryAvaLib                    | 0.086     | 24.49       |
| DeployRatesFactoryBasLib                    | 0.086     | 24.49       |
| DeployRatesFactoryBnbLib                    | 0.086     | 24.49       |
| DeployRatesFactoryEthLib                    | 0.086     | 24.49       |
| DeployRatesFactoryGnoLib                    | 0.086     | 24.49       |
| DeployRatesFactoryLib                       | 0.086     | 24.49       |
| DeployRatesFactoryMetLib                    | 0.086     | 24.49       |
| DeployRatesFactoryOptLib                    | 0.086     | 24.49       |
| DeployRatesFactoryPolLib                    | 0.086     | 24.49       |
| DeployV2EngineAvaLib                        | 0.086     | 24.49       |
| DeployV2EngineEthAMMLib                     | 0.086     | 24.49       |
| DeployV2EngineEthLib                        | 0.086     | 24.49       |
| DeployV2EnginePolLib                        | 0.086     | 24.49       |
| DeployV2RatesFactoryAvaLib                  | 0.086     | 24.49       |
| DeployV2RatesFactoryEthAMMLib               | 0.086     | 24.49       |
| DeployV2RatesFactoryEthLib                  | 0.086     | 24.49       |
| DeployV2RatesFactoryLib                     | 0.086     | 24.49       |
| DeployV2RatesFactoryPolLib                  | 0.086     | 24.49       |
| EModeEngine                                 | 4.404     | 20.172      |
| ERC1967Proxy                                | 0.699     | 23.877      |
| EngineFlags                                 | 0.086     | 24.49       |
| Errors                                      | 4.714     | 19.862      |
| FreezingSteward                             | 0.715     | 23.861      |
| FxChild                                     | 1.039     | 23.537      |
| FxRoot                                      | 0.811     | 23.765      |
| GovHelpers                                  | 0.086     | 24.49       |
| GovV3Helpers                                | 2.622     | 21.954      |
| GovV3StorageHelpers                         | 0.086     | 24.49       |
| GovernanceV3Arbitrum                        | 0.086     | 24.49       |
| GovernanceV3Avalanche                       | 0.086     | 24.49       |
| GovernanceV3BNB                             | 0.086     | 24.49       |
| GovernanceV3Base                            | 0.086     | 24.49       |
| GovernanceV3Ethereum                        | 0.086     | 24.49       |
| GovernanceV3Fuji                            | 0.086     | 24.49       |
| GovernanceV3Gnosis                          | 0.086     | 24.49       |
| GovernanceV3Goerli                          | 0.086     | 24.49       |
| GovernanceV3Metis                           | 0.086     | 24.49       |
| GovernanceV3Mumbai                          | 0.086     | 24.49       |
| GovernanceV3Optimism                        | 0.086     | 24.49       |
| GovernanceV3Polygon                         | 0.086     | 24.49       |
| IpfsUtils                                   | 0.086     | 24.49       |
| ListingEngine                               | 8.792     | 15.784      |
| MiscArbitrum                                | 0.086     | 24.49       |
| MiscAvalanche                               | 0.086     | 24.49       |
| MiscBNB                                     | 0.086     | 24.49       |
| MiscBase                                    | 0.086     | 24.49       |
| MiscEthereum                                | 0.086     | 24.49       |
| MiscFantom                                  | 0.086     | 24.49       |
| MiscGnosis                                  | 0.086     | 24.49       |
| MiscMetis                                   | 0.086     | 24.49       |
| MiscMumbai                                  | 0.086     | 24.49       |
| MiscOptimism                                | 0.086     | 24.49       |
| MiscPolygon                                 | 0.086     | 24.49       |
| MiscSepolia                                 | 0.086     | 24.49       |
| MockExecutor                                | 0.437     | 24.139      |
| MyPayload                                   | 1.53      | 23.046      |
| PayloadWithEmit                             | 0.15      | 24.426      |
| PayloadsControllerUtils                     | 0.086     | 24.49       |
| PercentageMath                              | 0.086     | 24.49       |
| PriceFeedEngine                             | 1.657     | 22.919      |
| ProxyAdmin                                  | 1.683     | 22.893      |
| ProxyHelpers                                | 0.086     | 24.49       |
| RateEngine                                  | 3.596     | 20.98       |
| ReserveConfiguration                        | 0.171     | 24.405      |
| SafeCast                                    | 0.086     | 24.49       |
| SafeERC20                                   | 0.086     | 24.49       |
| SafeMath                                    | 0.086     | 24.49       |
| StdStyle                                    | 0.086     | 24.49       |
| StorageHelpers                              | 0.086     | 24.49       |
| StorageSlot                                 | 0.086     | 24.49       |
| StrategicAssetsManager                      | 9.691     | 14.885      |
| TransparentProxyFactory                     | 7.505     | 17.071      |
| TransparentUpgradeableProxy                 | 2.096     | 22.48       |
| V2RateStrategyFactory                       | 8.842     | 15.734      |
| V3RateStrategyFactory                       | 9.279     | 15.297      |
| WadRayMath                                  | 0.086     | 24.49       |
| console                                     | 0.086     | 24.49       |
| console2                                    | 0.086     | 24.49       |
| safeconsole                                 | 0.086     | 24.49       |
| stdError                                    | 0.591     | 23.985      |
| stdJson                                     | 0.086     | 24.49       |
| stdMath                                     | 0.086     | 24.49       |
| stdStorage                                  | 0.086     | 24.49       |
| stdStorageSafe                              | 0.086     | 24.49       |
Test success 🌈
No files changed, compilation skipped

Running 1 test for tests/GovTest.t.sol:GovernanceIpfsTest
[PASS] testIpfsHashCreation() (gas: 7259)
Test result: ok. 1 passed; 0 failed; 0 skipped; finished in 924.31ms

Running 3 tests for tests/bridges/AavePolEthERC20BridgeTest.t.sol:BridgeTest
[PASS] test_revertsIf_invalidChain() (gas: 8591)
[PASS] test_revertsIf_notOwner() (gas: 66692)
[PASS] test_successful() (gas: 59513)
Test result: ok. 3 passed; 0 failed; 0 skipped; finished in 3.31s

Running 1 test for tests/GovTest.t.sol:GovernanceL2ExecutorTest
[PASS] testCreateProposal() (gas: 116279)
Test result: ok. 1 passed; 0 failed; 0 skipped; finished in 2.85s

Running 2 tests for tests/bridges/AavePolEthERC20BridgeTest.t.sol:EmergencyTokenTransfer
[PASS] test_revertsIf_invalidCaller() (gas: 13140)
[PASS] test_successful_governanceCaller() (gas: 59303)
Test result: ok. 2 passed; 0 failed; 0 skipped; finished in 906.68ms

Running 2 tests for tests/bridges/AavePolEthERC20BridgeTest.t.sol:ExitMultipleTest
[PASS] test_revertsIf_invalidChain() (gas: 11692)
[PASS] test_revertsIf_proofAlreadyProcessed() (gas: 40005)
Test result: ok. 2 passed; 0 failed; 0 skipped; finished in 1.04s

Running 2 tests for tests/bridges/AavePolEthERC20BridgeTest.t.sol:ExitTest
[PASS] test_revertsIf_invalidChain() (gas: 11198)
[PASS] test_revertsIf_proofAlreadyProcessed() (gas: 39281)
Test result: ok. 2 passed; 0 failed; 0 skipped; finished in 1.21ms

Running 1 test for tests/bridges/AavePolEthERC20BridgeTest.t.sol:ForkedBridgeTests
[PASS] test_successful() (gas: 400352)
Test result: ok. 1 passed; 0 failed; 0 skipped; finished in 4.12s

Running 3 tests for tests/bridges/AavePolEthERC20BridgeTest.t.sol:IsTokenMapped
[PASS] test_revertsIf_invalidChain() (gas: 10949)
[PASS] test_successful_returnsFalse() (gas: 18658)
[PASS] test_successful_returnsTrue() (gas: 17018)
Test result: ok. 3 passed; 0 failed; 0 skipped; finished in 254.97ms

Running 2 tests for tests/bridges/AavePolEthERC20BridgeTest.t.sol:ReceiveEther
[PASS] test_revertsIf_invalidChain() (gas: 18881)
[PASS] test_successful_forwardsETH() (gas: 29781)
Test result: ok. 2 passed; 0 failed; 0 skipped; finished in 506.60ms

Running 2 tests for tests/bridges/AavePolEthERC20BridgeTest.t.sol:TransferOwnership
[PASS] test_revertsIf_invalidCaller() (gas: 14631)
[PASS] test_successful() (gas: 13464)
Test result: ok. 2 passed; 0 failed; 0 skipped; finished in 997.86µs

Running 2 tests for tests/bridges/AavePolEthERC20BridgeTest.t.sol:WithdrawToCollectorTest
[PASS] test_revertsIf_invalidChain() (gas: 10888)
[PASS] test_successful() (gas: 59260)
Test result: ok. 2 passed; 0 failed; 0 skipped; finished in 1.61s

Running 2 tests for tests/GovTest.t.sol:GovernanceMainnetExecutorTest
[PASS] testCreateProposalLong() (gas: 165827)
[PASS] testCreateProposalShort() (gas: 161431)
Test result: ok. 2 passed; 0 failed; 0 skipped; finished in 8.15s

Running 6 tests for tests/swaps/AaveSwapperTest.t.sol:AaveSwapperSwap
[PASS] test_revertsIf_amountIsZero() (gas: 12452)
[PASS] test_revertsIf_fromTokenIsZeroAddress() (gas: 12435)
[PASS] test_revertsIf_invalidCaller() (gas: 11669)
[PASS] test_revertsIf_invalidRecipient() (gas: 12496)
[PASS] test_revertsIf_toTokenIsZeroAddress() (gas: 12373)
[PASS] test_successful() (gas: 476571)
Test result: ok. 6 passed; 0 failed; 0 skipped; finished in 3.93s

Running 3 tests for tests/swaps/AaveSwapperTest.t.sol:CancelSwap
[PASS] test_revertsIf_invalidCaller() (gas: 15418)
[PASS] test_revertsIf_noMatchingTrade() (gas: 482928)
[PASS] test_successful() (gas: 588040)
Test result: ok. 3 passed; 0 failed; 0 skipped; finished in 1.25s

Running 2 tests for tests/swaps/AaveSwapperTest.t.sol:EmergencyTokenTransfer
[PASS] test_revertsIf_invalidCaller() (gas: 10861)
[PASS] test_successful_governanceCaller() (gas: 304551)
Test result: ok. 2 passed; 0 failed; 0 skipped; finished in 1.32s

Running 2 tests for tests/GovTest.t.sol:GovernanceTest
[PASS] testCreateProposal() (gas: 533168)
[PASS] testCreateProposalDynamicIpfsHash() (gas: 537649)
Test result: ok. 2 passed; 0 failed; 0 skipped; finished in 8.73s

Running 7 tests for tests/swaps/AaveSwapperTest.t.sol:GetExpectedOut
[PASS] test_aaveToUsdc() (gas: 84122)
[PASS] test_aaveToUsdc_withEthBasedOracles() (gas: 84115)
[PASS] test_balTo80BAL20WETH() (gas: 83868)
[PASS] test_ethToBal() (gas: 69531)
[PASS] test_ethToDai() (gas: 67281)
[PASS] test_revertsIf_fromOracleIsAddressZero() (gas: 9238)
[PASS] test_revertsIf_toOracleIsAddressZero() (gas: 9242)
Test result: ok. 7 passed; 0 failed; 0 skipped; finished in 10.96s

Running 1 test for tests/swaps/AaveSwapperTest.t.sol:Initialize
[PASS] test_revertsIf_alreadyInitialized() (gas: 10894)
Test result: ok. 1 passed; 0 failed; 0 skipped; finished in 550.76µs

Running 2 tests for tests/swaps/AaveSwapperTest.t.sol:RemoveGuardian
[PASS] test_revertsIf_invalidCaller() (gas: 12924)
[PASS] test_successful() (gas: 16184)
Test result: ok. 2 passed; 0 failed; 0 skipped; finished in 643.67µs

Running 2 tests for tests/swaps/AaveSwapperTest.t.sol:TransferOwnership
[PASS] test_revertsIf_invalidCaller() (gas: 12352)
[PASS] test_successful() (gas: 18297)
Test result: ok. 2 passed; 0 failed; 0 skipped; finished in 751.14µs

Running 2 tests for tests/swaps/AaveSwapperTest.t.sol:UpdateGuardian
[PASS] test_revertsIf_invalidCaller() (gas: 14546)
[PASS] test_successful() (gas: 22582)
Test result: ok. 2 passed; 0 failed; 0 skipped; finished in 746.28µs

Running 1 test for tests/v3-config-engine/AaveV3ConfigEngineGauntletProposal.t.sol:AaveV3ArbitrumConfigEngineRatesTest
[PASS] testEngine() (gas: 17772973)
Test result: ok. 1 passed; 0 failed; 0 skipped; finished in 59.94s

Running 1 test for tests/v3-config-engine/AaveV3ConfigEngineGauntletProposal.t.sol:AaveV3AvalancheConfigEngineRatesTest
[PASS] testEngine() (gas: 27700676)
Test result: ok. 1 passed; 0 failed; 0 skipped; finished in 33.80s

Running 1 test for tests/ProtocolV2TestBase.t.sol:ProtocolV2TestBaseTest
[PASS] testE2E() (gas: 20403404)
Logs:
  E2E: Collateral AAVE, TestAsset USDT
  SUPPLY: AAVE, Amount: 2553597251196022693793
  SUPPLY: USDT, Amount: 1922278804
  WITHDRAW: USDT, Amount: 961139402
  WITHDRAW: USDT, Amount: 961139403
  BORROW: USDT, Amount 1922278804, Stable: false
  REPAY: USDT, Amount: 1922278804
  BORROW: USDT, Amount 1922278804, Stable: true
  REPAY: USDT, Amount: 1922278804
  E2E: Collateral AAVE, TestAsset WBTC
  SUPPLY: AAVE, Amount: 2553597251196022693793
  SUPPLY: WBTC, Amount: 6293388
  WITHDRAW: WBTC, Amount: 3146694
  WITHDRAW: WBTC, Amount: 3146693
  BORROW: WBTC, Amount 6293388, Stable: false
  REPAY: WBTC, Amount: 6293388
  BORROW: WBTC, Amount 6293388, Stable: true
  REPAY: WBTC, Amount: 6293388
  E2E: Collateral AAVE, TestAsset WETH
  SUPPLY: AAVE, Amount: 2553597251196022693793
  SUPPLY: WETH, Amount: 1000000000000000000
  WITHDRAW: WETH, Amount: 500000000000000000
  WITHDRAW: WETH, Amount: 500000000000000001
  BORROW: WETH, Amount 1000000000000000000, Stable: false
  REPAY: WETH, Amount: 1000000000000000000
  BORROW: WETH, Amount 1000000000000000000, Stable: true
  REPAY: WETH, Amount: 1000000000000000000
  E2E: Collateral AAVE, TestAsset AAVE
  SUPPLY: AAVE, Amount: 2553597251196022693793
  SUPPLY: AAVE, Amount: 25535972511960226937
  WITHDRAW: AAVE, Amount: 12767986255980113468
  WITHDRAW: AAVE, Amount: 12767986255980113469
  E2E: Collateral AAVE, TestAsset DAI
  SUPPLY: AAVE, Amount: 2553597251196022693793
  SUPPLY: DAI, Amount: 1914944850736299739803
  WITHDRAW: DAI, Amount: 957472425368149869901
  WITHDRAW: DAI, Amount: 957472425368149869902
  BORROW: DAI, Amount 1914944850736299739803, Stable: false
  REPAY: DAI, Amount: 1914944850736299739803
  BORROW: DAI, Amount 1914944850736299739803, Stable: true
  REPAY: DAI, Amount: 1914944850736299739803
  E2E: Collateral AAVE, TestAsset sUSD
  SUPPLY: AAVE, Amount: 2553597251196022693793
  SUPPLY: sUSD, Amount: 1919434649608077907661
  WITHDRAW: sUSD, Amount: 959717324804038953830
  WITHDRAW: sUSD, Amount: 959717324804038953830
  BORROW: sUSD, Amount 1919434649608077907661, Stable: false
  REPAY: sUSD, Amount: 1919434649608077907661
  E2E: Collateral AAVE, TestAsset USDC
  SUPPLY: AAVE, Amount: 2553597251196022693793
  SUPPLY: USDC, Amount: 1912585127
  WITHDRAW: USDC, Amount: 956292563
  WITHDRAW: USDC, Amount: 956292564
  BORROW: USDC, Amount 1912585127, Stable: false
  REPAY: USDC, Amount: 1912585127
  BORROW: USDC, Amount 1912585127, Stable: true
  REPAY: USDC, Amount: 1912585127
  E2E: Collateral AAVE, TestAsset CRV
  SUPPLY: AAVE, Amount: 2553597251196022693793
  SUPPLY: CRV, Amount: 2447532600357965341777
  WITHDRAW: CRV, Amount: 1223766300178982670888
  WITHDRAW: CRV, Amount: 1223766300178982670889
  E2E: Collateral AAVE, TestAsset GUSD
  SUPPLY: AAVE, Amount: 2553597251196022693793
  SUPPLY: GUSD, Amount: 191331
  WITHDRAW: GUSD, Amount: 95665
  WITHDRAW: GUSD, Amount: 95665
  BORROW: GUSD, Amount 191331, Stable: false
  REPAY: GUSD, Amount: 191331
  E2E: Collateral AAVE, TestAsset USDP
  SUPPLY: AAVE, Amount: 2553597251196022693793
  SUPPLY: USDP, Amount: 1939299150785117381031
  WITHDRAW: USDP, Amount: 969649575392558690515
  WITHDRAW: USDP, Amount: 969649575392558690516
  BORROW: USDP, Amount 1939299150785117381031, Stable: false
  REPAY: USDP, Amount: 1939299150785117381031
  E2E: Collateral AAVE, TestAsset FRAX
  SUPPLY: AAVE, Amount: 2553597251196022693793
  SUPPLY: FRAX, Amount: 1937630504372688546970
  WITHDRAW: FRAX, Amount: 968815252186344273485
  WITHDRAW: FRAX, Amount: 968815252186344273486
  BORROW: FRAX, Amount 1937630504372688546970, Stable: false
  REPAY: FRAX, Amount: 1937630504372688546970
  E2E: Collateral AAVE, TestAsset stETH
  SUPPLY: AAVE, Amount: 2553597251196022693793
  SUPPLY: stETH, Amount: 1000000000000000000
  WITHDRAW: stETH, Amount: 500000000000000000
  WITHDRAW: stETH, Amount: 499999999999999999
  E2E: Collateral AAVE, TestAsset LUSD
  SUPPLY: AAVE, Amount: 2553597251196022693793
  SUPPLY: LUSD, Amount: 1910246445122217347247
  WITHDRAW: LUSD, Amount: 955123222561108673623
  WITHDRAW: LUSD, Amount: 955123222561108673623
  BORROW: LUSD, Amount 1910246445122217347247, Stable: false
  REPAY: LUSD, Amount: 1910246445122217347247
  BORROW: LUSD, Amount 1910246445122217347247, Stable: true
  REPAY: LUSD, Amount: 1910246445122217347247

Test result: ok. 1 passed; 0 failed; 0 skipped; finished in 142.24s

Running 1 test for tests/v3-config-engine/AaveV3ConfigEngineGauntletProposal.t.sol:AaveV3OptimismConfigEngineRatesTest
[PASS] testEngine() (gas: 20600972)
Test result: ok. 1 passed; 0 failed; 0 skipped; finished in 53.38s

Running 2 tests for tests/GovV2_5.t.sol:GovernanceV2_5Test
[PASS] test_helpers() (gas: 185519033)
Logs:
  0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
  0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0
  0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599
  0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48
  0x6B175474E89094C44Da98b954EedeAC495271d0F
  0x514910771AF9Ca656af840dff83E8264EcF986CA
  0xBe9895146f7AF43049ca1c1AE358B0541Ea49704
  0xdAC17F958D2ee523a2206206994597C13D831ec7
  0xae78736Cd615f374D3085123A210448E74Fc6393
  0x5f98805A4E8be255a32880FDeC7F6728C6568bA0
  0xD533a949740bb3306d119CC777fa900bA034cd52
  0x9f8F72aA9304c8B593d555F12eF6589cC3A579A2
  0xC011a73ee8576Fb46F5E1c5751cA3B9Fe0af2a6F
  0xba100000625a3754423978a60c9317c58a424e3D
  0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984
  0x5A98FcBEA516Cf06857215779Fd812CA3beF1B32
  0xC18360217D8F7Ab5e7c516566761Ea12Ce7F9D72
  0x111111111117dC0aa78b770fA6A738034120C302
  0x853d955aCEf822Db058eb8505911ED77F175b99e
  0xD33526068D116cE69F19A9ee46F0bd304F21A51f
  0xAf5191B0De278C7286d6C7CC6ab6BB8A73bA2Cd6
  0xdeFA4e8a7bcBA345F687a2f1456F5Edd9CE97202
  E2E: Collateral WETH, TestAsset WETH
  SUPPLY: WETH, Amount: 55179418376243240897
  SUPPLY: WETH, Amount: 551794183762432408
  WITHDRAW: WETH, Amount: 275897091881216204
  WITHDRAW: WETH, Amount: 275897091881216203
  BORROW: WETH, Amount 551794183762432408, Stable: false
  REPAY: WETH, Amount: 551794183762432408
  E2E: Collateral WETH, TestAsset wstETH
  SUPPLY: WETH, Amount: 55179418376243240897
  SUPPLY: wstETH, Amount: 481966592040672946
  WITHDRAW: wstETH, Amount: 240983296020336473
  WITHDRAW: wstETH, Amount: 240983296020336474
  BORROW: wstETH, Amount 481966592040672946, Stable: false
  REPAY: wstETH, Amount: 481966592040672946
  E2E: Collateral WETH, TestAsset WBTC
  SUPPLY: WETH, Amount: 55179418376243240897
  SUPPLY: WBTC, Amount: 2898503
  WITHDRAW: WBTC, Amount: 1449251
  WITHDRAW: WBTC, Amount: 1449253
  BORROW: WBTC, Amount 2898503, Stable: false
  REPAY: WBTC, Amount: 2898503
  E2E: Collateral WETH, TestAsset USDC
  SUPPLY: WETH, Amount: 55179418376243240897
  SUPPLY: USDC, Amount: 999989520
  WITHDRAW: USDC, Amount: 499994760
  WITHDRAW: USDC, Amount: 499994761
  BORROW: USDC, Amount 999989520, Stable: false
  REPAY: USDC, Amount: 999989520
  E2E: Collateral WETH, TestAsset DAI
  SUPPLY: WETH, Amount: 55179418376243240897
  SUPPLY: DAI, Amount: 999965151214480175365
  WITHDRAW: DAI, Amount: 499982575607240087682
  WITHDRAW: DAI, Amount: 499982575607240087684
  BORROW: DAI, Amount 999965151214480175365, Stable: false
  REPAY: DAI, Amount: 999965151214480175365
  E2E: Collateral WETH, TestAsset LINK
  SUPPLY: WETH, Amount: 55179418376243240897
  SUPPLY: LINK, Amount: 86482384023972903014
  WITHDRAW: LINK, Amount: 43241192011986451507
  WITHDRAW: LINK, Amount: 43241192011986451506
  BORROW: LINK, Amount 86482384023972903014, Stable: false
  REPAY: LINK, Amount: 86482384023972903014
  E2E: Collateral WETH, TestAsset AAVE
  SUPPLY: WETH, Amount: 55179418376243240897
  SUPPLY: AAVE, Amount: 12055066617999703719
  WITHDRAW: AAVE, Amount: 6027533308999851859
  WITHDRAW: AAVE, Amount: 6027533308999851860
  E2E: Collateral WETH, TestAsset cbETH
  SUPPLY: WETH, Amount: 55179418376243240897
  SUPPLY: cbETH, Amount: 525409351256045808
  WITHDRAW: cbETH, Amount: 262704675628022904
  WITHDRAW: cbETH, Amount: 262704675628022904
  BORROW: cbETH, Amount 525409351256045808, Stable: false
  REPAY: cbETH, Amount: 525409351256045808
  E2E: Collateral WETH, TestAsset USDT
  SUPPLY: WETH, Amount: 55179418376243240897
  SUPPLY: USDT, Amount: 999605615
  WITHDRAW: USDT, Amount: 499802807
  WITHDRAW: USDT, Amount: 499802808
  BORROW: USDT, Amount 999605615, Stable: false
  REPAY: USDT, Amount: 999605615
  E2E: Collateral WETH, TestAsset rETH
  SUPPLY: WETH, Amount: 55179418376243240897
  SUPPLY: rETH, Amount: 507199308306716071
  WITHDRAW: rETH, Amount: 253599654153358035
  WITHDRAW: rETH, Amount: 253599654153358035
  BORROW: rETH, Amount 507199308306716071, Stable: false
  REPAY: rETH, Amount: 507199308306716071
  E2E: Collateral WETH, TestAsset LUSD
  SUPPLY: WETH, Amount: 55179418376243240897
  SUPPLY: LUSD, Amount: 1004006225802445951935
  WITHDRAW: LUSD, Amount: 502003112901222975967
  WITHDRAW: LUSD, Amount: 502003112901222975968
  BORROW: LUSD, Amount 1004006225802445951935, Stable: false
  REPAY: LUSD, Amount: 1004006225802445951935
  E2E: Collateral WETH, TestAsset CRV
  SUPPLY: WETH, Amount: 55179418376243240897
  SUPPLY: CRV, Amount: 2041303364849764461149
  WITHDRAW: CRV, Amount: 1020651682424882230574
  WITHDRAW: CRV, Amount: 1020651682424882230575
  E2E: Collateral WETH, TestAsset MKR
  SUPPLY: WETH, Amount: 55179418376243240897
  SUPPLY: MKR, Amount: 716847419743555004
  WITHDRAW: MKR, Amount: 358423709871777502
  WITHDRAW: MKR, Amount: 358423709871777502
  BORROW: MKR, Amount 716847419743555004, Stable: false
  REPAY: MKR, Amount: 716847419743555004
  E2E: Collateral WETH, TestAsset SNX
  SUPPLY: WETH, Amount: 55179418376243240897
  SUPPLY: SNX, Amount: 427732200274156664694
  WITHDRAW: SNX, Amount: 213866100137078332347
  WITHDRAW: SNX, Amount: 213866100137078332346
  BORROW: SNX, Amount 427732200274156664694, Stable: false
  REPAY: SNX, Amount: 427732200274156664694
  E2E: Collateral WETH, TestAsset BAL
  SUPPLY: WETH, Amount: 55179418376243240897
  SUPPLY: BAL, Amount: 291664903916903618880
  WITHDRAW: BAL, Amount: 145832451958451809440
  WITHDRAW: BAL, Amount: 145832451958451809440
  BORROW: BAL, Amount 291664903916903618880, Stable: false
  REPAY: BAL, Amount: 291664903916903618880
  E2E: Collateral WETH, TestAsset UNI
  SUPPLY: WETH, Amount: 55179418376243240897
  SUPPLY: UNI, Amount: 236208874027256425424
  WITHDRAW: UNI, Amount: 118104437013628212712
  WITHDRAW: UNI, Amount: 118104437013628212711
  BORROW: UNI, Amount 236208874027256425424, Stable: false
  REPAY: UNI, Amount: 236208874027256425424
  E2E: Collateral WETH, TestAsset LDO
  SUPPLY: WETH, Amount: 55179418376243240897
  SUPPLY: LDO, Amount: 549019976009474108314
  WITHDRAW: LDO, Amount: 274509988004737054157
  WITHDRAW: LDO, Amount: 274509988004737054156
  BORROW: LDO, Amount 549019976009474108314, Stable: false
  REPAY: LDO, Amount: 549019976009474108314
  E2E: Collateral WETH, TestAsset ENS
  SUPPLY: WETH, Amount: 55179418376243240897
  SUPPLY: ENS, Amount: 126018839158635875655
  WITHDRAW: ENS, Amount: 63009419579317937827
  WITHDRAW: ENS, Amount: 63009419579317937827
  BORROW: ENS, Amount 126018839158635875655, Stable: false
  REPAY: ENS, Amount: 126018839158635875655
  E2E: Collateral WETH, TestAsset 1INCH
  SUPPLY: WETH, Amount: 55179418376243240897
  SUPPLY: 1INCH, Amount: 3389830508474576271186
  WITHDRAW: 1INCH, Amount: 1694915254237288135593
  WITHDRAW: 1INCH, Amount: 1694915254237288135593
  BORROW: 1INCH, Amount 3389830508474576271186, Stable: false
  REPAY: 1INCH, Amount: 3389830508474576271186
  E2E: Collateral WETH, TestAsset FRAX
  SUPPLY: WETH, Amount: 55179418376243240897
  SUPPLY: FRAX, Amount: 1000276656517659654307
  WITHDRAW: FRAX, Amount: 500138328258829827153
  WITHDRAW: FRAX, Amount: 500138328258829827154
  BORROW: FRAX, Amount 1000276656517659654307, Stable: false
  REPAY: FRAX, Amount: 1000276656517659654307
  E2E: Collateral WETH, TestAsset GHO
  SUPPLY: WETH, Amount: 55179418376243240897
  BORROW: GHO, Amount 1000000000000000000000, Stable: false
  REPAY: GHO, Amount: 1000000000000000000000
  E2E: Collateral WETH, TestAsset RPL
  SUPPLY: WETH, Amount: 55179418376243240897
  SUPPLY: RPL, Amount: 42397901309651286839
  WITHDRAW: RPL, Amount: 21198950654825643419
  WITHDRAW: RPL, Amount: 21198950654825643420
  BORROW: RPL, Amount 42397901309651286839, Stable: false
  REPAY: RPL, Amount: 42397901309651286839
  E2E: Collateral WETH, TestAsset sDAI
  SUPPLY: WETH, Amount: 55179418376243240897
  SUPPLY: sDAI, Amount: 960690393618679387334
  WITHDRAW: sDAI, Amount: 480345196809339693667
  WITHDRAW: sDAI, Amount: 480345196809339693667
  E2E: Collateral WETH, TestAsset STG
  SUPPLY: WETH, Amount: 55179418376243240897
  SUPPLY: STG, Amount: 2066063069095781093014
  WITHDRAW: STG, Amount: 1033031534547890546507
  WITHDRAW: STG, Amount: 1033031534547890546507
  BORROW: STG, Amount 2066063069095781093014, Stable: false
  REPAY: STG, Amount: 2066063069095781093014
  E2E: Collateral WETH, TestAsset KNC
  SUPPLY: WETH, Amount: 55179418376243240897
  SUPPLY: KNC, Amount: 1304927838143014610363
  WITHDRAW: KNC, Amount: 652463919071507305181
  WITHDRAW: KNC, Amount: 652463919071507305181
  BORROW: KNC, Amount 1304927838143014610363, Stable: false
  REPAY: KNC, Amount: 1304927838143014610363

[PASS] test_payloadCreation() (gas: 1317015)
Logs:
  https://vote.onaave.com/proposal-create-overview?ipfsHash=0x6861736800000000000000000000000000000000000000000000000000000000&votingPortal=0x0000000000000000000000000000000000000000&payload[0].chainId=1&payload[0].accessLevel=1&payload[0].payloadsController=0xdAbad81aF85554E9ae636395611C58F7eC1aAEc5&payload[0].payloadId=0
  0xf8741a9c000000000000000000000000ee56e2b3d491590b5b31738cc34d5232f378a8d500000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002e0686173680000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000009aee0b04504cef83a65ac3f0e838d0593bcb2bc70000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000003a666f72776172645061796c6f6164466f72457865637574696f6e282875696e743235362c75696e74382c616464726573732c75696e743430292900000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000dabad81af85554e9ae636395611c58f7ec1aaec5000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000

Test result: ok. 2 passed; 0 failed; 0 skipped; finished in 204.36s

Running 1 test for tests/v2-config-engine/AaveV2ConfigEngineTest.t.sol:AaveV2ConfigEngineTest
[PASS] testV2RateStrategiesUpdates() (gas: 308822927)
Test result: ok. 1 passed; 0 failed; 0 skipped; finished in 201.99s

Running 1 test for tests/crosschainforwarders/OptimismCrossChainForwarderTest.t.sol:OptimismCrossChainForwarderTest
[PASS] testProposalE2E() (gas: 1196676)
Test result: ok. 1 passed; 0 failed; 0 skipped; finished in 13.64s

Running 1 test for tests/v3-config-engine/AaveV3ConfigEngineGauntletProposal.t.sol:AaveV3PolygonConfigEngineRatesTest
[PASS] testEngine() (gas: 70926470)
Test result: ok. 1 passed; 0 failed; 0 skipped; finished in 102.58s

Running 1 test for tests/crosschainforwarders/PolygonCrossChainForwarderTest.t.sol:PolygonCrossChainForwarderTest
[PASS] testProposalE2E() (gas: 1049341)
Test result: ok. 1 passed; 0 failed; 0 skipped; finished in 11.67s

Running 1 test for tests/PreviewLink.t.sol:PreviewLink
[PASS] testPreviewLink() (gas: 30383)
Logs:
  https://vote.onaave.com/proposal-create-overview?ipfsHash=0x12f2d9c91e4e23ae4009ab9ef5862ee0ae79498937b66252213221f04a5d5b32&votingPortal=0x7FA9385bE102ac3EAc297483Dd6233D62b3e1496&payload[0].chainId=12&payload[0].accessLevel=1&payload[0].payloadsController=0x00000000000000000000000002f52a6ee8f5428d&payload[0].payloadId=1&payload[1].chainId=32&payload[1].accessLevel=1&payload[1].payloadsController=0x00000000000000000000000000018b08761d540a&payload[1].payloadId=2

Test result: ok. 1 passed; 0 failed; 0 skipped; finished in 395.86µs

Running 9 tests for tests/riskstewards/CapsPlusRiskSteward.t.sol:CapsPlusRiskSteward_Test
[PASS] test_debounce() (gas: 135500)
[PASS] test_increaseCapsMax() (gas: 119606)
[PASS] test_invalidCaller() (gas: 7547)
[PASS] test_keepCurrent() (gas: 52442)
[PASS] test_unlisted() (gas: 32845)
[PASS] test_updateBorrowCapBiggerMax() (gas: 37192)
[PASS] test_updateBorrowCapNotStrictlyHigher() (gas: 45964)
[PASS] test_updateSupplyCapBiggerMax() (gas: 36948)
[PASS] test_updateSupplyCapNotStrictlyHigher() (gas: 45517)
Test result: ok. 9 passed; 0 failed; 0 skipped; finished in 3.88s

Running 1 test for tests/swaps/DepositV2SwapPayloadTest.t.sol:DepositV2SwapPayloadTest
[PASS] test_successful() (gas: 476089)
Test result: ok. 1 passed; 0 failed; 0 skipped; finished in 5.93s

Running 1 test for tests/swaps/DepositV3SwapPayloadTest.t.sol:DepositV3SwapPayloadTest
[PASS] test_successful() (gas: 442317)
Test result: ok. 1 passed; 0 failed; 0 skipped; finished in 5.85s

Running 3 tests for tests/crosschainforwarders/ArbitrumCrossChainForwarderTest.t.sol:ArbitrumCrossChainForwarderTest
[PASS] testHasSufficientGas() (gas: 24011)
[PASS] testProposalE2E() (gas: 1120300)
[PASS] testgetGetMaxSubmissionCost() (gas: 17204)
Test result: ok. 3 passed; 0 failed; 0 skipped; finished in 12.83s

Running 1 test for tests/crosschainforwarders/MetisCrossChainForwarderTest.t.sol:MetisCrossChainForwarderTest
[PASS] testProposalE2E() (gas: 1213090)
Test result: ok. 1 passed; 0 failed; 0 skipped; finished in 14.89s

Running 2 tests for tests/ProtocolV2TestBase.t.sol:ProtocolV2TestE2ETestAsset
[PASS] test_defaultTest() (gas: 62959481)
[PASS] test_e2eTestAssetUSDT() (gas: 3173318)
Logs:
  E2E: Collateral DAI, TestAsset USDT
  SUPPLY: DAI, Amount: 198482420985917995751553
  SUPPLY: USDT, Amount: 1988551823
  WITHDRAW: USDT, Amount: 994275911
  WITHDRAW: USDT, Amount: 994275912
  BORROW: USDT, Amount 1988551823, Stable: false
  REPAY: USDT, Amount: 1988551823

Test result: ok. 2 passed; 0 failed; 0 skipped; finished in 198.60s

Running 1 test for tests/ProtocolV3TestBase.t.sol:ProtocolV3TestBaseTest
[PASS] test_e2eTestDPI() (gas: 2247172)
Logs:
  E2E: Collateral WMATIC, TestAsset DPI
  SUPPLY: WMATIC, Amount: 184940190804644255059524
  SUPPLY: DPI, Amount: 16186339863817362599
  WITHDRAW: DPI, Amount: 8093169931908681299
  WITHDRAW: DPI, Amount: 8093169931908681300
  BORROW: DPI, Amount 16186339863817362599, Stable: false
  REPAY: DPI, Amount: 16186339863817362599

Test result: ok. 1 passed; 0 failed; 0 skipped; finished in 52.59s

Running 8 tests for tests/GovV3Test.t.sol:GovernanceV3Test
[PASS] test_executePayloadViaAddress() (gas: 76719)
[PASS] test_executePayloadViaId() (gas: 284217)
[PASS] test_expectRevertOnNonExistingPayload() (gas: 3374)
[PASS] test_helpers() (gas: 169714423)
Logs:
  0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
  0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0
  0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599
  0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48
  0x6B175474E89094C44Da98b954EedeAC495271d0F
  0x514910771AF9Ca656af840dff83E8264EcF986CA
  0xBe9895146f7AF43049ca1c1AE358B0541Ea49704
  0xdAC17F958D2ee523a2206206994597C13D831ec7
  0xae78736Cd615f374D3085123A210448E74Fc6393
  0x5f98805A4E8be255a32880FDeC7F6728C6568bA0
  0xD533a949740bb3306d119CC777fa900bA034cd52
  0x9f8F72aA9304c8B593d555F12eF6589cC3A579A2
  0xC011a73ee8576Fb46F5E1c5751cA3B9Fe0af2a6F
  0xba100000625a3754423978a60c9317c58a424e3D
  0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984
  0x5A98FcBEA516Cf06857215779Fd812CA3beF1B32
  0xC18360217D8F7Ab5e7c516566761Ea12Ce7F9D72
  0x111111111117dC0aa78b770fA6A738034120C302
  0x853d955aCEf822Db058eb8505911ED77F175b99e
  0xD33526068D116cE69F19A9ee46F0bd304F21A51f
  0xAf5191B0De278C7286d6C7CC6ab6BB8A73bA2Cd6
  E2E: Collateral WETH, TestAsset WETH
  SUPPLY: WETH, Amount: 63230428037981658972
  SUPPLY: WETH, Amount: 632304280379816589
  WITHDRAW: WETH, Amount: 316152140189908294
  WITHDRAW: WETH, Amount: 316152140189908294
  BORROW: WETH, Amount 632304280379816589, Stable: false
  REPAY: WETH, Amount: 632304280379816589
  E2E: Collateral WETH, TestAsset wstETH
  SUPPLY: WETH, Amount: 63230428037981658972
  SUPPLY: wstETH, Amount: 553153554755172052
  WITHDRAW: wstETH, Amount: 276576777377586026
  WITHDRAW: wstETH, Amount: 276576777377586027
  BORROW: wstETH, Amount 553153554755172052, Stable: false
  REPAY: wstETH, Amount: 553153554755172052
  E2E: Collateral WETH, TestAsset WBTC
  SUPPLY: WETH, Amount: 63230428037981658972
  SUPPLY: WBTC, Amount: 3562864
  WITHDRAW: WBTC, Amount: 1781432
  WITHDRAW: WBTC, Amount: 1781433
  BORROW: WBTC, Amount 3562864, Stable: false
  REPAY: WBTC, Amount: 3562864
  E2E: Collateral WETH, TestAsset USDC
  SUPPLY: WETH, Amount: 63230428037981658972
  SUPPLY: USDC, Amount: 999927005
  WITHDRAW: USDC, Amount: 499963502
  WITHDRAW: USDC, Amount: 499963503
  BORROW: USDC, Amount 999927005, Stable: false
  REPAY: USDC, Amount: 999927005
  E2E: Collateral WETH, TestAsset DAI
  SUPPLY: WETH, Amount: 63230428037981658972
  SUPPLY: DAI, Amount: 1000081906708159398254
  WITHDRAW: DAI, Amount: 500040953354079699127
  WITHDRAW: DAI, Amount: 500040953354079699127
  BORROW: DAI, Amount 1000081906708159398254, Stable: false
  REPAY: DAI, Amount: 1000081906708159398254
  E2E: Collateral WETH, TestAsset LINK
  SUPPLY: WETH, Amount: 63230428037981658972
  SUPPLY: LINK, Amount: 133980010182480773868
  WITHDRAW: LINK, Amount: 66990005091240386934
  WITHDRAW: LINK, Amount: 66990005091240386935
  BORROW: LINK, Amount 133980010182480773868, Stable: false
  REPAY: LINK, Amount: 133980010182480773868
  E2E: Collateral WETH, TestAsset AAVE
  SUPPLY: WETH, Amount: 63230428037981658972
  SUPPLY: AAVE, Amount: 15644377595421016333
  WITHDRAW: AAVE, Amount: 7822188797710508166
  WITHDRAW: AAVE, Amount: 7822188797710508167
  E2E: Collateral WETH, TestAsset cbETH
  SUPPLY: WETH, Amount: 63230428037981658972
  SUPPLY: cbETH, Amount: 602151973904908086
  WITHDRAW: cbETH, Amount: 301075986952454043
  WITHDRAW: cbETH, Amount: 301075986952454043
  BORROW: cbETH, Amount 602151973904908086, Stable: false
  REPAY: cbETH, Amount: 602151973904908086
  E2E: Collateral WETH, TestAsset USDT
  SUPPLY: WETH, Amount: 63230428037981658972
  SUPPLY: USDT, Amount: 999996810
  WITHDRAW: USDT, Amount: 499998405
  WITHDRAW: USDT, Amount: 499998406
  BORROW: USDT, Amount 999996810, Stable: false
  REPAY: USDT, Amount: 999996810
  E2E: Collateral WETH, TestAsset rETH
  SUPPLY: WETH, Amount: 63230428037981658972
  SUPPLY: rETH, Amount: 581940170217572647
  WITHDRAW: rETH, Amount: 290970085108786323
  WITHDRAW: rETH, Amount: 290970085108786323
  BORROW: rETH, Amount 581940170217572647, Stable: false
  REPAY: rETH, Amount: 581940170217572647
  E2E: Collateral WETH, TestAsset LUSD
  SUPPLY: WETH, Amount: 63230428037981658972
  SUPPLY: LUSD, Amount: 1002824776888033751231
  WITHDRAW: LUSD, Amount: 501412388444016875615
  WITHDRAW: LUSD, Amount: 501412388444016875615
  BORROW: LUSD, Amount 1002824776888033751231, Stable: false
  REPAY: LUSD, Amount: 1002824776888033751231
  E2E: Collateral WETH, TestAsset CRV
  SUPPLY: WETH, Amount: 63230428037981658972
  SUPPLY: CRV, Amount: 2275199121445510448544
  WITHDRAW: CRV, Amount: 1137599560722755224272
  WITHDRAW: CRV, Amount: 1137599560722755224271
  E2E: Collateral WETH, TestAsset MKR
  SUPPLY: WETH, Amount: 63230428037981658972
  SUPPLY: MKR, Amount: 701285459754156667
  WITHDRAW: MKR, Amount: 350642729877078333
  WITHDRAW: MKR, Amount: 350642729877078335
  BORROW: MKR, Amount 701285459754156667, Stable: false
  REPAY: MKR, Amount: 701285459754156667
  E2E: Collateral WETH, TestAsset SNX
  SUPPLY: WETH, Amount: 63230428037981658972
  SUPPLY: SNX, Amount: 529094930212378704987
  WITHDRAW: SNX, Amount: 264547465106189352493
  WITHDRAW: SNX, Amount: 264547465106189352494
  BORROW: SNX, Amount 529094930212378704987, Stable: false
  REPAY: SNX, Amount: 529094930212378704987
  E2E: Collateral WETH, TestAsset BAL
  SUPPLY: WETH, Amount: 63230428037981658972
  SUPPLY: BAL, Amount: 321495198552798365580
  WITHDRAW: BAL, Amount: 160747599276399182790
  WITHDRAW: BAL, Amount: 160747599276399182790
  BORROW: BAL, Amount 321495198552798365580, Stable: false
  REPAY: BAL, Amount: 321495198552798365580
  E2E: Collateral WETH, TestAsset UNI
  SUPPLY: WETH, Amount: 63230428037981658972
  SUPPLY: UNI, Amount: 243069821728509171306
  WITHDRAW: UNI, Amount: 121534910864254585653
  WITHDRAW: UNI, Amount: 121534910864254585654
  BORROW: UNI, Amount 243069821728509171306, Stable: false
  REPAY: UNI, Amount: 243069821728509171306
  E2E: Collateral WETH, TestAsset LDO
  SUPPLY: WETH, Amount: 63230428037981658972
  SUPPLY: LDO, Amount: 621165147668379283165
  WITHDRAW: LDO, Amount: 310582573834189641582
  WITHDRAW: LDO, Amount: 310582573834189641582
  BORROW: LDO, Amount 621165147668379283165, Stable: false
  REPAY: LDO, Amount: 621165147668379283165
  E2E: Collateral WETH, TestAsset ENS
  SUPPLY: WETH, Amount: 63230428037981658972
  SUPPLY: ENS, Amount: 139526862094491667985
  WITHDRAW: ENS, Amount: 69763431047245833992
  WITHDRAW: ENS, Amount: 69763431047245833993
  BORROW: ENS, Amount 139526862094491667985, Stable: false
  REPAY: ENS, Amount: 139526862094491667985
  E2E: Collateral WETH, TestAsset 1INCH
  SUPPLY: WETH, Amount: 63230428037981658972
  SUPPLY: 1INCH, Amount: 4000000000000000000000
  WITHDRAW: 1INCH, Amount: 2000000000000000000000
  WITHDRAW: 1INCH, Amount: 2000000000000000000001
  BORROW: 1INCH, Amount 4000000000000000000000, Stable: false
  REPAY: 1INCH, Amount: 4000000000000000000000
  E2E: Collateral WETH, TestAsset FRAX
  SUPPLY: WETH, Amount: 63230428037981658972
  SUPPLY: FRAX, Amount: 999699220495529510036
  WITHDRAW: FRAX, Amount: 499849610247764755018
  WITHDRAW: FRAX, Amount: 499849610247764755019
  BORROW: FRAX, Amount 999699220495529510036, Stable: false
  REPAY: FRAX, Amount: 999699220495529510036
  E2E: Collateral WETH, TestAsset GHO
  SUPPLY: WETH, Amount: 63230428037981658972
  BORROW: GHO, Amount 1000000000000000000000, Stable: false
  REPAY: GHO, Amount: 1000000000000000000000
  E2E: Collateral WETH, TestAsset RPL
  SUPPLY: WETH, Amount: 63230428037981658972
  SUPPLY: RPL, Amount: 51204051546385449728
  WITHDRAW: RPL, Amount: 25602025773192724864
  WITHDRAW: RPL, Amount: 25602025773192724863
  Skip Borrowing: RPL, borrow cap fully utilized
  E2E: Collateral WETH, TestAsset sDAI
  SUPPLY: WETH, Amount: 63230428037981658972
  SUPPLY: sDAI, Amount: 962721136684075905979
  WITHDRAW: sDAI, Amount: 481360568342037952989
  WITHDRAW: sDAI, Amount: 481360568342037952990
  E2E: Collateral WETH, TestAsset STG
  SUPPLY: WETH, Amount: 63230428037981658972
  SUPPLY: STG, Amount: 2455528657148972110793
  WITHDRAW: STG, Amount: 1227764328574486055396
  WITHDRAW: STG, Amount: 1227764328574486055397
  BORROW: STG, Amount 2455528657148972110793, Stable: false
  REPAY: STG, Amount: 2455528657148972110793

[PASS] test_injectPayloadIntoPayloadsController() (gas: 65126)
[PASS] test_injectProposalIntoGovernance() (gas: 105758)
[PASS] test_payloadCreation() (gas: 656174)
Logs:
  https://vote.onaave.com/proposal-create-overview?ipfsHash=0x6861736800000000000000000000000000000000000000000000000000000000&votingPortal=0x9b24C168d6A76b5459B1d47071a54962a4df36c3&payload[0].chainId=1&payload[0].accessLevel=1&payload[0].payloadsController=0xdAbad81aF85554E9ae636395611C58F7eC1aAEc5&payload[0].payloadId=0
  0x3bec1bfc00000000000000000000000000000000000000000000000000000000000000600000000000000000000000009b24c168d6a76b5459b1d47071a54962a4df36c36861736800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000dabad81af85554e9ae636395611c58f7ec1aaec50000000000000000000000000000000000000000000000000000000000000000

[PASS] test_readyPayloadId() (gas: 176882)
Test result: ok. 8 passed; 0 failed; 0 skipped; finished in 215.97s

Running 3 tests for tests/asset-manager/TestVeTokenManager.t.sol:BuyBoostTest
[PASS] test_revertsIf_estimatedFeeExceedsMaxFee() (gas: 51608)
[PASS] test_revertsIf_invalidCaller() (gas: 16493)
[PASS] test_successful() (gas: 499011)
Test result: ok. 3 passed; 0 failed; 0 skipped; finished in 7.40s

Running 3 tests for tests/asset-manager/TestVeTokenManager.t.sol:Claim
[PASS] test_revertsIf_invalidCaller() (gas: 12810)
[PASS] test_revertsIf_noRewardsWereEarned() (gas: 164020)
[PASS] test_successful() (gas: 1122110)
Test result: ok. 3 passed; 0 failed; 0 skipped; finished in 6.82s

Running 2 tests for tests/asset-manager/TestVeTokenManager.t.sol:ClearDelegationSnapshot
[PASS] test_revertsIf_invalidCaller() (gas: 12801)
[PASS] test_successful() (gas: 100175)
Test result: ok. 2 passed; 0 failed; 0 skipped; finished in 416.68ms

Running 5 tests for tests/asset-manager/TestVeTokenManager.t.sol:LockTest
[PASS] test_revertsIf_invalidCaller() (gas: 12834)
[PASS] test_revertsIf_nothingToLockOrRelock() (gas: 119271)
[PASS] test_successful_increaseBalance() (gas: 794326)
[PASS] test_successful_increaseUnlockTime() (gas: 819150)
[PASS] test_successful_locksFirstTime() (gas: 511921)
Test result: ok. 5 passed; 0 failed; 0 skipped; finished in 1.84s

Running 2 tests for tests/asset-manager/TestVeTokenManager.t.sol:RemoveBoostOfferTest
[PASS] test_revertsIf_invalidCaller() (gas: 12780)
[PASS] test_successful() (gas: 149611)
Test result: ok. 2 passed; 0 failed; 0 skipped; finished in 1.61ms

Running 2 tests for tests/asset-manager/TestVeTokenManager.t.sol:SellBoostTest
[PASS] test_revertsIf_invalidCaller() (gas: 13541)
[PASS] test_successful() (gas: 164938)
Test result: ok. 2 passed; 0 failed; 0 skipped; finished in 1.41ms

Running 2 tests for tests/asset-manager/TestVeTokenManager.t.sol:SetDelegationSnapshot
[PASS] test_revertsIf_invalidCaller() (gas: 14537)
[PASS] test_successful() (gas: 101663)
Test result: ok. 2 passed; 0 failed; 0 skipped; finished in 1.06ms

Running 2 tests for tests/asset-manager/TestVeTokenManager.t.sol:SetLockDurationTest
[PASS] test_revertsIf_invalidCaller() (gas: 12828)
[PASS] test_successful() (gas: 35682)
Test result: ok. 2 passed; 0 failed; 0 skipped; finished in 750.63µs

Running 2 tests for tests/asset-manager/TestVeTokenManager.t.sol:SetSpaceIdTest
[PASS] test_revertsIf_invalidCaller() (gas: 12769)
[PASS] test_successful() (gas: 101468)
Test result: ok. 2 passed; 0 failed; 0 skipped; finished in 1.41ms

Running 3 tests for tests/asset-manager/TestVeTokenManager.t.sol:UnlockTest
[PASS] test_revertsIf_invalidCaller() (gas: 12790)
[PASS] test_revertsIf_unlockTimeHasNotPassed() (gas: 522526)
[PASS] test_successful_unlock() (gas: 5302141)
Test result: ok. 3 passed; 0 failed; 0 skipped; finished in 33.63s

Running 3 tests for tests/asset-manager/TestVeTokenManager.t.sol:UpdateBoostOfferTest
[PASS] test_revertsIf_invalidCaller() (gas: 13574)
[PASS] test_revertsIf_noOfferExists() (gas: 22570)
[PASS] test_successful() (gas: 181149)
Test result: ok. 3 passed; 0 failed; 0 skipped; finished in 1.71ms

Running 2 tests for tests/asset-manager/TestVlTokenManager.t.sol:ClaimVLAURARewardsTest
[PASS] test_revertsIf_invalidCaller() (gas: 12801)
[PASS] test_successful() (gas: 335465)
Test result: ok. 2 passed; 0 failed; 0 skipped; finished in 3.26s

Running 3 tests for tests/asset-manager/TestVlTokenManager.t.sol:DelegateVLAURATest
[PASS] test_revertsIf_invalidCaller() (gas: 14551)
[PASS] test_revertsIf_nothingToDelegate() (gas: 23759)
[PASS] test_revertsIf_successful() (gas: 375064)
Test result: ok. 3 passed; 0 failed; 0 skipped; finished in 378.94ms

Running 2 tests for tests/asset-manager/TestVlTokenManager.t.sol:EmergencyWithdrawVLAURA
[PASS] test_revertsIf_invalidCaller() (gas: 12811)
[PASS] test_successful() (gas: 371403)
Test result: ok. 2 passed; 0 failed; 0 skipped; finished in 414.78ms

Running 3 tests for tests/asset-manager/TestVlTokenManager.t.sol:LockVLAURATest
[PASS] test_revertsIf_insufficientBalance() (gas: 93448)
[PASS] test_revertsIf_invalidCaller() (gas: 12905)
[PASS] test_successful() (gas: 297802)
Test result: ok. 3 passed; 0 failed; 0 skipped; finished in 2.47ms

Running 4 tests for tests/asset-manager/TestVlTokenManager.t.sol:UnlockVLAURATest
[PASS] test_revertsIf_invalidCaller() (gas: 12813)
[PASS] test_revertsIf_noExpiredLocks() (gas: 308265)
[PASS] test_revertsIf_noLocks() (gas: 65208)
[PASS] test_successful() (gas: 333296)
Test result: ok. 4 passed; 0 failed; 0 skipped; finished in 5.58ms

Running 4 tests for tests/asset-manager/TestVlTokenManager.t.sol:RelockVLAURATest
[PASS] test_revertsIf_invalidCaller() (gas: 12788)
[PASS] test_revertsIf_noExpiredLocks() (gas: 308239)
[PASS] test_revertsIf_noLocks() (gas: 65175)
[PASS] test_successful() (gas: 687508)
Test result: ok. 4 passed; 0 failed; 0 skipped; finished in 2.23s

Running 2 tests for tests/v3-config-engine/V3RateStrategyFactory.t.sol:V3RateStrategyFactoryTest
[PASS] testCreateStrategies() (gas: 714629)
[PASS] testMultipleCreateStrategies() (gas: 714609)
Test result: ok. 2 passed; 0 failed; 0 skipped; finished in 1.28s

Running 1 test for tests/asset-manager/TestStrategicAssetsManager.t.sol:Initialize
[PASS] test_revertsIf_alreadyInitialized() (gas: 10916)
Test result: ok. 1 passed; 0 failed; 0 skipped; finished in 637.95µs

Running 2 tests for tests/asset-manager/TestStrategicAssetsManager.t.sol:RemoveStrategicAssetManager
[PASS] test_revertsIf_invalidCaller() (gas: 12902)
[PASS] test_successful() (gas: 16362)
Test result: ok. 2 passed; 0 failed; 0 skipped; finished in 693.73µs

Running 2 tests for tests/asset-manager/TestStrategicAssetsManager.t.sol:SetStrategicAssetManager
[PASS] test_revertsIf_invalidCaller() (gas: 14524)
[PASS] test_successful() (gas: 22760)
Test result: ok. 2 passed; 0 failed; 0 skipped; finished in 841.01µs

Running 2 tests for tests/asset-manager/TestStrategicAssetsManager.t.sol:TransferOwnership
[PASS] test_revertsIf_invalidCaller() (gas: 12308)
[PASS] test_successful() (gas: 18232)
Test result: ok. 2 passed; 0 failed; 0 skipped; finished in 814.47µs

Running 3 tests for tests/asset-manager/TestStrategicAssetsManager.t.sol:WithdrawERC20
[PASS] test_revertsIf_insufficientBalance() (gas: 18086)
[PASS] test_revertsIf_invalidCaller() (gas: 10801)
[PASS] test_successful() (gas: 180463)
Test result: ok. 3 passed; 0 failed; 0 skipped; finished in 130.03ms

Running 4 tests for tests/asset-manager/TestLSDLiquidityGaugeManager.t.sol:SetGaugeController
[PASS] test_revertsIf_invalidCaller() (gas: 12872)
[PASS] test_revertsIf_invalidZeroAddress() (gas: 11485)
[PASS] test_revertsIf_settingToSameController() (gas: 36517)
[PASS] test_successful() (gas: 39567)
Test result: ok. 4 passed; 0 failed; 0 skipped; finished in 1.27ms

Running 2 tests for tests/v2-config-engine/V2RateStrategyFactory.t.sol:V2RateStrategyFactoryTest
[PASS] testCreateStrategies() (gas: 850782)
[PASS] testMultipleCreateStrategies() (gas: 850436)
Test result: ok. 2 passed; 0 failed; 0 skipped; finished in 3.79s

Running 2 tests for tests/ProxyHelpersTest.t.sol:ProxyHelpersTest
[PASS] testAdmin() (gas: 3274)
[PASS] testImplementation() (gas: 3219)
Test result: ok. 2 passed; 0 failed; 0 skipped; finished in 1.01s

Running 3 tests for tests/asset-manager/TestLSDLiquidityGaugeManager.t.sol:VoteForGaugeWeight
[PASS] test_revertsIf_gaugeIsZeroAddress() (gas: 11597)
[PASS] test_revertsIf_invalidCaller() (gas: 12972)
[PASS] test_successful() (gas: 784417)
Test result: ok. 3 passed; 0 failed; 0 skipped; finished in 6.20s

Running 2 tests for tests/ProtocolV3TestBase.t.sol:ProtocolV3TestE2ETestAvalancheAll
[PASS] test_deal() (gas: 48069)
[PASS] test_e2e() (gas: 12708044)
Logs:
  E2E: Collateral DAI.e, TestAsset DAI.e
  SUPPLY: DAI.e, Amount: 99906474551977657155806
  SUPPLY: DAI.e, Amount: 999064745519776571558
  WITHDRAW: DAI.e, Amount: 499532372759888285779
  WITHDRAW: DAI.e, Amount: 499532372759888285778
  BORROW: DAI.e, Amount 999064745519776571558, Stable: false
  REPAY: DAI.e, Amount: 999064745519776571558
  E2E: Collateral DAI.e, TestAsset LINK.e
  SUPPLY: DAI.e, Amount: 99906474551977657155806
  SUPPLY: LINK.e, Amount: 63877681904474759372
  WITHDRAW: LINK.e, Amount: 31938840952237379686
  WITHDRAW: LINK.e, Amount: 31938840952237379687
  BORROW: LINK.e, Amount 63877681904474759372, Stable: false
  REPAY: LINK.e, Amount: 63877681904474759372
  E2E: Collateral DAI.e, TestAsset USDC
  SUPPLY: DAI.e, Amount: 99906474551977657155806
  SUPPLY: USDC, Amount: 1000048142
  WITHDRAW: USDC, Amount: 500024071
  WITHDRAW: USDC, Amount: 500024070
  BORROW: USDC, Amount 1000048142, Stable: false
  REPAY: USDC, Amount: 1000048142
  E2E: Collateral DAI.e, TestAsset WBTC.e
  SUPPLY: DAI.e, Amount: 99906474551977657155806
  SUPPLY: WBTC.e, Amount: 2279072
  WITHDRAW: WBTC.e, Amount: 1139536
  WITHDRAW: WBTC.e, Amount: 1139535
  BORROW: WBTC.e, Amount 2279072, Stable: false
  REPAY: WBTC.e, Amount: 2279072
  E2E: Collateral DAI.e, TestAsset WETH.e
  SUPPLY: DAI.e, Amount: 99906474551977657155806
  SUPPLY: WETH.e, Amount: 439512995726389232
  WITHDRAW: WETH.e, Amount: 219756497863194616
  WITHDRAW: WETH.e, Amount: 219756497863194616
  BORROW: WETH.e, Amount 439512995726389232, Stable: false
  REPAY: WETH.e, Amount: 439512995726389232
  E2E: Collateral DAI.e, TestAsset USDt
  SUPPLY: DAI.e, Amount: 99906474551977657155806
  SUPPLY: USDt, Amount: 999760057
  WITHDRAW: USDt, Amount: 499880028
  WITHDRAW: USDt, Amount: 499880029
  BORROW: USDt, Amount 999760057, Stable: false
  REPAY: USDt, Amount: 999760057
  E2E: Collateral DAI.e, TestAsset AAVE.e
  SUPPLY: DAI.e, Amount: 99906474551977657155806
  SUPPLY: AAVE.e, Amount: 10221219906684350739
  WITHDRAW: AAVE.e, Amount: 5110609953342175369
  WITHDRAW: AAVE.e, Amount: 5110609953342175370
  E2E: Collateral DAI.e, TestAsset WAVAX
  SUPPLY: DAI.e, Amount: 99906474551977657155806
  SUPPLY: WAVAX, Amount: 37735849070843716630
  WITHDRAW: WAVAX, Amount: 18867924535421858315
  WITHDRAW: WAVAX, Amount: 18867924535421858315
  BORROW: WAVAX, Amount 37735849070843716630, Stable: false
  REPAY: WAVAX, Amount: 37735849070843716630
  E2E: Collateral DAI.e, TestAsset sAVAX
  SUPPLY: DAI.e, Amount: 99906474551977657155806
  SUPPLY: sAVAX, Amount: 33715148546009590037
  WITHDRAW: sAVAX, Amount: 16857574273004795018
  WITHDRAW: sAVAX, Amount: 16857574273004795019
  E2E: Collateral DAI.e, TestAsset FRAX
  SUPPLY: DAI.e, Amount: 99906474551977657155806
  SUPPLY: FRAX, Amount: 1000000000000000000000
  WITHDRAW: FRAX, Amount: 500000000000000000000
  WITHDRAW: FRAX, Amount: 500000000000000000000
  BORROW: FRAX, Amount 1000000000000000000000, Stable: false
  REPAY: FRAX, Amount: 1000000000000000000000
  E2E: TestAsset MAI SKIPPED
  E2E: Collateral DAI.e, TestAsset BTC.b
  SUPPLY: DAI.e, Amount: 99906474551977657155806
  SUPPLY: BTC.b, Amount: 2279072
  WITHDRAW: BTC.b, Amount: 1139536
  WITHDRAW: BTC.b, Amount: 1139537
  BORROW: BTC.b, Amount 2279072, Stable: false
  REPAY: BTC.b, Amount: 2279072

Test result: ok. 2 passed; 0 failed; 0 skipped; finished in 41.78s

Running 1 test for tests/ProtocolV3TestBase.t.sol:ProtocolV3TestE2ETestSnapshot
[PASS] test_snapshot() (gas: 4686931)
Test result: ok. 1 passed; 0 failed; 0 skipped; finished in 54.68s

Running 21 tests for tests/v3-config-engine/AaveV3ConfigEngineTest.t.sol:AaveV3ConfigEngineTest
[PASS] testArbitrumRateStrategiesUpdates() (gas: 55789252)
[PASS] testAssetEModeUpdates() (gas: 161199956)
[PASS] testAvaxRateStrategiesUpdates() (gas: 33833993)
[PASS] testBorrowUpdatesNoChange() (gas: 95747398)
[PASS] testBorrowsUpdates() (gas: 95811293)
[PASS] testCapsUpdates() (gas: 161216166)
[PASS] testCollateralUpdateCorrectBonus() (gas: 33295985)
[PASS] testCollateralUpdateWrongBonus() (gas: 5030487)
[PASS] testCollateralsUpdates() (gas: 33297417)
[PASS] testCollateralsUpdatesNoChange() (gas: 33273071)
[PASS] testEModeCategoryUpdates() (gas: 95850539)
[PASS] testEModeCategoryUpdatesNoChange() (gas: 33287888)
[PASS] testEModeCategoryUpdatesWrongBonus() (gas: 5043774)
[PASS] testFailCollateralsUpdatesNoChange() (gas: 5708996)
[PASS] testFailEModeCategoryUpdatesNoChange() (gas: 5059285)
[PASS] testListings() (gas: 101677277)
[PASS] testListingsCustom() (gas: 168866233)
[PASS] testOptimismRateStrategiesUpdates() (gas: 48496822)
[PASS] testPolygonRateStrategiesUpdates() (gas: 96746904)
[PASS] testPriceFeedsUpdates() (gas: 95718533)
[PASS] testRateStrategiesUpdates() (gas: 48169535)
Test result: ok. 21 passed; 0 failed; 0 skipped; finished in 320.08s

Running 1 test for tests/ProtocolV3TestBase.t.sol:ProtocolV3TestE2ETestAllMainnet
[PASS] test_e2e() (gas: 29439190)
Logs:
  E2E: Collateral WETH, TestAsset WETH
  SUPPLY: WETH, Amount: 44966968385982728497
  SUPPLY: WETH, Amount: 449669683859827284
  WITHDRAW: WETH, Amount: 224834841929913642
  WITHDRAW: WETH, Amount: 224834841929913641
  BORROW: WETH, Amount 449669683859827284, Stable: false
  REPAY: WETH, Amount: 449669683859827284
  E2E: Collateral WETH, TestAsset wstETH
  SUPPLY: WETH, Amount: 44966968385982728497
  SUPPLY: wstETH, Amount: 391098855036661840
  WITHDRAW: wstETH, Amount: 195549427518330920
  WITHDRAW: wstETH, Amount: 195549427518330920
  BORROW: wstETH, Amount 391098855036661840, Stable: false
  REPAY: wstETH, Amount: 391098855036661840
  E2E: Collateral WETH, TestAsset WBTC
  SUPPLY: WETH, Amount: 44966968385982728497
  SUPPLY: WBTC, Amount: 2389874
  WITHDRAW: WBTC, Amount: 1194937
  WITHDRAW: WBTC, Amount: 1194938
  BORROW: WBTC, Amount 2389874, Stable: false
  REPAY: WBTC, Amount: 2389874
  E2E: Collateral WETH, TestAsset USDC
  SUPPLY: WETH, Amount: 44966968385982728497
  SUPPLY: USDC, Amount: 999964001
  WITHDRAW: USDC, Amount: 499982000
  WITHDRAW: USDC, Amount: 499982002
  BORROW: USDC, Amount 999964001, Stable: false
  REPAY: USDC, Amount: 999964001
  E2E: Collateral WETH, TestAsset DAI
  SUPPLY: WETH, Amount: 44966968385982728497
  SUPPLY: DAI, Amount: 1000023500552262978179
  WITHDRAW: DAI, Amount: 500011750276131489089
  WITHDRAW: DAI, Amount: 500011750276131489090
  BORROW: DAI, Amount 1000023500552262978179, Stable: false
  REPAY: DAI, Amount: 1000023500552262978179
  E2E: Collateral WETH, TestAsset LINK
  SUPPLY: WETH, Amount: 44966968385982728497
  SUPPLY: LINK, Amount: 67999130250324620197
  WITHDRAW: LINK, Amount: 33999565125162310098
  WITHDRAW: LINK, Amount: 33999565125162310099
  BORROW: LINK, Amount 67999130250324620197, Stable: false
  REPAY: LINK, Amount: 67999130250324620197
  E2E: Collateral WETH, TestAsset AAVE
  SUPPLY: WETH, Amount: 44966968385982728497
  SUPPLY: AAVE, Amount: 11080316326632257187
  WITHDRAW: AAVE, Amount: 5540158163316128593
  WITHDRAW: AAVE, Amount: 5540158163316128594
  E2E: Collateral WETH, TestAsset cbETH
  SUPPLY: WETH, Amount: 44966968385982728497
  SUPPLY: cbETH, Amount: 426328496453100447
  WITHDRAW: cbETH, Amount: 213164248226550223
  WITHDRAW: cbETH, Amount: 213164248226550224
  BORROW: cbETH, Amount 426328496453100447, Stable: false
  REPAY: cbETH, Amount: 426328496453100447
  E2E: Collateral WETH, TestAsset USDT
  SUPPLY: WETH, Amount: 44966968385982728497
  SUPPLY: USDT, Amount: 999910008
  WITHDRAW: USDT, Amount: 499955004
  WITHDRAW: USDT, Amount: 499955004
  BORROW: USDT, Amount 999910008, Stable: false
  REPAY: USDT, Amount: 999910008
  E2E: Collateral WETH, TestAsset rETH
  SUPPLY: WETH, Amount: 44966968385982728497
  SUPPLY: rETH, Amount: 411737379533190718
  WITHDRAW: rETH, Amount: 205868689766595359
  WITHDRAW: rETH, Amount: 205868689766595359
  BORROW: rETH, Amount 411737379533190718, Stable: false
  REPAY: rETH, Amount: 411737379533190718
  E2E: Collateral WETH, TestAsset LUSD
  SUPPLY: WETH, Amount: 44966968385982728497
  SUPPLY: LUSD, Amount: 1001050081514507087644
  WITHDRAW: LUSD, Amount: 500525040757253543822
  WITHDRAW: LUSD, Amount: 500525040757253543822
  BORROW: LUSD, Amount 1001050081514507087644, Stable: false
  REPAY: LUSD, Amount: 1001050081514507087644
  E2E: Collateral WETH, TestAsset CRV
  SUPPLY: WETH, Amount: 44966968385982728497
  SUPPLY: CRV, Amount: 1489053106959935477542
  WITHDRAW: CRV, Amount: 744526553479967738771
  WITHDRAW: CRV, Amount: 744526553479967738772
  E2E: Collateral WETH, TestAsset MKR
  SUPPLY: WETH, Amount: 44966968385982728497
  SUPPLY: MKR, Amount: 742906344349311192
  WITHDRAW: MKR, Amount: 371453172174655596
  WITHDRAW: MKR, Amount: 371453172174655596
  BORROW: MKR, Amount 742906344349311192, Stable: false
  REPAY: MKR, Amount: 742906344349311192
  E2E: Collateral WETH, TestAsset SNX
  SUPPLY: WETH, Amount: 44966968385982728497
  SUPPLY: SNX, Amount: 219931513326750050034
  WITHDRAW: SNX, Amount: 109965756663375025017
  WITHDRAW: SNX, Amount: 109965756663375025018
  BORROW: SNX, Amount 219931513326750050034, Stable: false
  REPAY: SNX, Amount: 219931513326750050034
  E2E: Collateral WETH, TestAsset BAL
  SUPPLY: WETH, Amount: 44966968385982728497
  SUPPLY: BAL, Amount: 249581432594977197129
  WITHDRAW: BAL, Amount: 124790716297488598564
  WITHDRAW: BAL, Amount: 124790716297488598565
  BORROW: BAL, Amount 249581432594977197129, Stable: false
  REPAY: BAL, Amount: 249581432594977197129
  E2E: Collateral WETH, TestAsset UNI
  SUPPLY: WETH, Amount: 44966968385982728497
  SUPPLY: UNI, Amount: 164665894809555791090
  WITHDRAW: UNI, Amount: 82332947404777895545
  WITHDRAW: UNI, Amount: 82332947404777895545
  BORROW: UNI, Amount 164665894809555791090, Stable: false
  REPAY: UNI, Amount: 164665894809555791090
  E2E: Collateral WETH, TestAsset LDO
  SUPPLY: WETH, Amount: 44966968385982728497
  SUPPLY: LDO, Amount: 437877933539132459073
  WITHDRAW: LDO, Amount: 218938966769566229536
  WITHDRAW: LDO, Amount: 218938966769566229538
  BORROW: LDO, Amount 437877933539132459073, Stable: false
  REPAY: LDO, Amount: 437877933539132459073
  E2E: Collateral WETH, TestAsset ENS
  SUPPLY: WETH, Amount: 44966968385982728497
  SUPPLY: ENS, Amount: 112115065898556185096
  WITHDRAW: ENS, Amount: 56057532949278092548
  WITHDRAW: ENS, Amount: 56057532949278092548
  BORROW: ENS, Amount 112115065898556185096, Stable: false
  REPAY: ENS, Amount: 112115065898556185096
  E2E: Collateral WETH, TestAsset 1INCH
  SUPPLY: WETH, Amount: 44966968385982728497
  SUPPLY: 1INCH, Amount: 2750625739849558376034
  WITHDRAW: 1INCH, Amount: 1375312869924779188017
  WITHDRAW: 1INCH, Amount: 1375312869924779188018
  BORROW: 1INCH, Amount 2750625739849558376034, Stable: false
  REPAY: 1INCH, Amount: 2750625739849558376034
  E2E: Collateral WETH, TestAsset FRAX
  SUPPLY: WETH, Amount: 44966968385982728497
  SUPPLY: FRAX, Amount: 1000235445421497766359
  WITHDRAW: FRAX, Amount: 500117722710748883179
  WITHDRAW: FRAX, Amount: 500117722710748883179
  BORROW: FRAX, Amount 1000235445421497766359, Stable: false
  REPAY: FRAX, Amount: 1000235445421497766359
  E2E: Collateral WETH, TestAsset GHO
  SUPPLY: WETH, Amount: 44966968385982728497
  BORROW: GHO, Amount 1000000000000000000000, Stable: false
  REPAY: GHO, Amount: 1000000000000000000000
  E2E: Collateral WETH, TestAsset RPL
  SUPPLY: WETH, Amount: 44966968385982728497
  SUPPLY: RPL, Amount: 35048355936298463499
  WITHDRAW: RPL, Amount: 17524177968149231749
  WITHDRAW: RPL, Amount: 17524177968149231750
  BORROW: RPL, Amount 35048355936298463499, Stable: false
  REPAY: RPL, Amount: 35048355936298463499
  E2E: Collateral WETH, TestAsset sDAI
  SUPPLY: WETH, Amount: 44966968385982728497
  SUPPLY: sDAI, Amount: 955479983458730526362
  WITHDRAW: sDAI, Amount: 477739991729365263181
  WITHDRAW: sDAI, Amount: 477739991729365263180
  E2E: Collateral WETH, TestAsset STG
  SUPPLY: WETH, Amount: 44966968385982728497
  SUPPLY: STG, Amount: 1856739719162547257507
  WITHDRAW: STG, Amount: 928369859581273628753
  WITHDRAW: STG, Amount: 928369859581273628753
  BORROW: STG, Amount 1856739719162547257507, Stable: false
  REPAY: STG, Amount: 1856739719162547257507
  E2E: Collateral WETH, TestAsset KNC
  SUPPLY: WETH, Amount: 44966968385982728497
  SUPPLY: KNC, Amount: 1422617368422475248947
  WITHDRAW: KNC, Amount: 711308684211237624473
  WITHDRAW: KNC, Amount: 711308684211237624475
  BORROW: KNC, Amount 1422617368422475248947, Stable: false
  REPAY: KNC, Amount: 1422617368422475248947
  E2E: Collateral WETH, TestAsset FXS
  SUPPLY: WETH, Amount: 44966968385982728497
  SUPPLY: FXS, Amount: 110675948775160010472
  WITHDRAW: FXS, Amount: 55337974387580005236
  WITHDRAW: FXS, Amount: 55337974387580005237
  BORROW: FXS, Amount 110675948775160010472, Stable: false
  REPAY: FXS, Amount: 110675948775160010472
  E2E: Collateral WETH, TestAsset crvUSD
  SUPPLY: WETH, Amount: 44966968385982728497
  SUPPLY: crvUSD, Amount: 1000377842711192017224
  WITHDRAW: crvUSD, Amount: 500188921355596008612
  WITHDRAW: crvUSD, Amount: 500188921355596008612
  BORROW: crvUSD, Amount 1000377842711192017224, Stable: false
  REPAY: crvUSD, Amount: 1000377842711192017224

Test result: ok. 1 passed; 0 failed; 0 skipped; finished in 184.38s

Running 1 test for tests/ProtocolV3TestBase.t.sol:ProtocolV3TestE2ETestMetisAll
[PASS] test_e2e() (gas: 5143823)
Logs:
  E2E: Collateral m.DAI, TestAsset m.DAI
  SUPPLY: m.DAI, Amount: 99997001089937312779989
  SUPPLY: m.DAI, Amount: 999970010899373127799
  WITHDRAW: m.DAI, Amount: 499985005449686563899
  WITHDRAW: m.DAI, Amount: 499985005449686563901
  BORROW: m.DAI, Amount 999970010899373127799, Stable: false
  REPAY: m.DAI, Amount: 999970010899373127799
  E2E: Collateral m.DAI, TestAsset Metis
  SUPPLY: m.DAI, Amount: 99997001089937312779989
  SUPPLY: Metis, Amount: 11636857213789306770
  WITHDRAW: Metis, Amount: 5818428606894653385
  WITHDRAW: Metis, Amount: 5818428606894653385
  BORROW: Metis, Amount 11636857213789306770, Stable: false
  REPAY: Metis, Amount: 11636857213789306770
  E2E: Collateral m.DAI, TestAsset m.USDC
  SUPPLY: m.DAI, Amount: 99997001089937312779989
  SUPPLY: m.USDC, Amount: 1000018220
  WITHDRAW: m.USDC, Amount: 500009110
  WITHDRAW: m.USDC, Amount: 500009109
  Skip Borrowing: m.USDC, borrow cap fully utilized
  E2E: Collateral m.DAI, TestAsset m.USDT
  SUPPLY: m.DAI, Amount: 99997001089937312779989
  SUPPLY: m.USDT, Amount: 1000340115
  WITHDRAW: m.USDT, Amount: 500170057
  WITHDRAW: m.USDT, Amount: 500170059
  Skip Borrowing: m.USDT, borrow cap fully utilized
  E2E: Collateral m.DAI, TestAsset WETH
  SUPPLY: m.DAI, Amount: 99997001089937312779989
  SUPPLY: WETH, Amount: 435637728812215165
  WITHDRAW: WETH, Amount: 217818864406107582
  WITHDRAW: WETH, Amount: 217818864406107582
  BORROW: WETH, Amount 435637728812215165, Stable: false
  REPAY: WETH, Amount: 435637728812215165

Test result: ok. 1 passed; 0 failed; 0 skipped; finished in 45.03s

Running 2 tests for tests/ProtocolV3TestBase.t.sol:ProtocolV3TestE2ETestArbitrumAll
[PASS] test_deal() (gas: 48047)
[PASS] test_e2e() (gas: 16293595)
Logs:
  E2E: Collateral DAI, TestAsset DAI
  SUPPLY: DAI, Amount: 99999086008353883645503
  SUPPLY: DAI, Amount: 999990860083538836455
  WITHDRAW: DAI, Amount: 499995430041769418227
  WITHDRAW: DAI, Amount: 499995430041769418228
  BORROW: DAI, Amount 999990860083538836455, Stable: false
  REPAY: DAI, Amount: 999990860083538836455
  E2E: Collateral DAI, TestAsset LINK
  SUPPLY: DAI, Amount: 99999086008353883645503
  SUPPLY: LINK, Amount: 63975364796438638841
  WITHDRAW: LINK, Amount: 31987682398219319420
  WITHDRAW: LINK, Amount: 31987682398219319421
  BORROW: LINK, Amount 63975364796438638841, Stable: false
  REPAY: LINK, Amount: 63975364796438638841
  E2E: Collateral DAI, TestAsset USDC
  SUPPLY: DAI, Amount: 99999086008353883645503
  SUPPLY: USDC, Amount: 999865867
  WITHDRAW: USDC, Amount: 499932933
  WITHDRAW: USDC, Amount: 499932933
  BORROW: USDC, Amount 999865867, Stable: false
  REPAY: USDC, Amount: 999865867
  E2E: Collateral DAI, TestAsset WBTC
  SUPPLY: DAI, Amount: 99999086008353883645503
  SUPPLY: WBTC, Amount: 2331545
  WITHDRAW: WBTC, Amount: 1165772
  WITHDRAW: WBTC, Amount: 1165773
  BORROW: WBTC, Amount 2331545, Stable: false
  REPAY: WBTC, Amount: 2331545
  E2E: Collateral DAI, TestAsset WETH
  SUPPLY: DAI, Amount: 99999086008353883645503
  SUPPLY: WETH, Amount: 435612114541922911
  WITHDRAW: WETH, Amount: 217806057270961455
  WITHDRAW: WETH, Amount: 217806057270961455
  BORROW: WETH, Amount 435612114541922911, Stable: false
  REPAY: WETH, Amount: 435612114541922911
  E2E: Collateral DAI, TestAsset USDT
  SUPPLY: DAI, Amount: 99999086008353883645503
  SUPPLY: USDT, Amount: 1000010000
  WITHDRAW: USDT, Amount: 500005000
  WITHDRAW: USDT, Amount: 500005000
  BORROW: USDT, Amount 1000010000, Stable: false
  REPAY: USDT, Amount: 1000010000
  E2E: Collateral DAI, TestAsset AAVE
  SUPPLY: DAI, Amount: 99999086008353883645503
  SUPPLY: AAVE, Amount: 9211500189526616399
  WITHDRAW: AAVE, Amount: 4605750094763308199
  WITHDRAW: AAVE, Amount: 4605750094763308200
  E2E: Collateral DAI, TestAsset EURS
  SUPPLY: DAI, Amount: 99999086008353883645503
  SUPPLY: EURS, Amount: 90365
  WITHDRAW: EURS, Amount: 45182
  WITHDRAW: EURS, Amount: 45183
  BORROW: EURS, Amount 90365, Stable: false
  REPAY: EURS, Amount: 90365
  E2E: Collateral DAI, TestAsset wstETH
  SUPPLY: DAI, Amount: 99999086008353883645503
  SUPPLY: wstETH, Amount: 378288935072691655
  WITHDRAW: wstETH, Amount: 189144467536345827
  WITHDRAW: wstETH, Amount: 189144467536345828
  BORROW: wstETH, Amount 378288935072691655, Stable: false
  REPAY: wstETH, Amount: 378288935072691655
  E2E: TestAsset MAI SKIPPED
  E2E: Collateral DAI, TestAsset rETH
  SUPPLY: DAI, Amount: 99999086008353883645503
  SUPPLY: rETH, Amount: 398306593701601373
  WITHDRAW: rETH, Amount: 199153296850800686
  WITHDRAW: rETH, Amount: 199153296850800687
  BORROW: rETH, Amount 398306593701601373, Stable: false
  REPAY: rETH, Amount: 398306593701601373
  E2E: Collateral DAI, TestAsset LUSD
  SUPPLY: DAI, Amount: 99999086008353883645503
  SUPPLY: LUSD, Amount: 1002232362341555958326
  WITHDRAW: LUSD, Amount: 501116181170777979163
  WITHDRAW: LUSD, Amount: 501116181170777979163
  BORROW: LUSD, Amount 1002232362341555958326, Stable: false
  REPAY: LUSD, Amount: 1002232362341555958326
  E2E: Collateral DAI, TestAsset USDC
  SUPPLY: DAI, Amount: 99999086008353883645503
  SUPPLY: USDC, Amount: 999865867
  WITHDRAW: USDC, Amount: 499932933
  WITHDRAW: USDC, Amount: 499932935
  BORROW: USDC, Amount 999865867, Stable: false
  REPAY: USDC, Amount: 999865867
  E2E: Collateral DAI, TestAsset FRAX
  SUPPLY: DAI, Amount: 99999086008353883645503
  SUPPLY: FRAX, Amount: 1000766747451227232256
  WITHDRAW: FRAX, Amount: 500383373725613616128
  WITHDRAW: FRAX, Amount: 500383373725613616129
  BORROW: FRAX, Amount 1000766747451227232256, Stable: false
  REPAY: FRAX, Amount: 1000766747451227232256
  E2E: Collateral DAI, TestAsset ARB
  SUPPLY: DAI, Amount: 99999086008353883645503
  SUPPLY: ARB, Amount: 676722766984049644382
  WITHDRAW: ARB, Amount: 338361383492024822191
  WITHDRAW: ARB, Amount: 338361383492024822192
  BORROW: ARB, Amount 676722766984049644382, Stable: false
  REPAY: ARB, Amount: 676722766984049644382

Test result: ok. 2 passed; 0 failed; 0 skipped; finished in 91.35s

Running 2 tests for tests/ProtocolV3TestBase.t.sol:ProtocolV3TestE2ETestAsset
[PASS] test_e2eTestAssetMAI() (gas: 1743699)
Logs:
  E2E: Collateral DAI, TestAsset MAI
  SUPPLY: DAI, Amount: 100000000000000000000000
  SUPPLY: MAI, Amount: 1008550074022028407809
  WITHDRAW: MAI, Amount: 504275037011014203904
  WITHDRAW: MAI, Amount: 504275037011014203906
  BORROW: MAI, Amount 1008550074022028407809, Stable: false
  REPAY: MAI, Amount: 1008550074022028407809

[PASS] test_e2eTestAssetUSDC() (gas: 2409178)
Logs:
  E2E: Collateral DAI, TestAsset USDC
  SUPPLY: DAI, Amount: 100000000000000000000000
  SUPPLY: USDC, Amount: 1000008660
  WITHDRAW: USDC, Amount: 500004330
  WITHDRAW: USDC, Amount: 500004330
  BORROW: USDC, Amount 1000008660, Stable: false
  REPAY: USDC, Amount: 1000008660
  BORROW: USDC, Amount 1000008660, Stable: true
  REPAY: USDC, Amount: 1000008660

Test result: ok. 2 passed; 0 failed; 0 skipped; finished in 41.39s

Running 1 test for tests/ProtocolV3TestBase.t.sol:ProtocolV3TestE2ETestOptimismAll
[PASS] test_e2e() (gas: 14478704)
Logs:
  E2E: Collateral LINK, TestAsset DAI
  SUPPLY: LINK, Amount: 16165535079211121888134
  SUPPLY: DAI, Amount: 1000028340803178362074
  WITHDRAW: DAI, Amount: 500014170401589181037
  WITHDRAW: DAI, Amount: 500014170401589181037
  BORROW: DAI, Amount 1000028340803178362074, Stable: false
  REPAY: DAI, Amount: 1000028340803178362074
  BORROW: DAI, Amount 1000028340803178362074, Stable: true
  REPAY: DAI, Amount: 1000028340803178362074
  E2E: Collateral LINK, TestAsset LINK
  SUPPLY: LINK, Amount: 16165535079211121888134
  SUPPLY: LINK, Amount: 161655350792111218881
  WITHDRAW: LINK, Amount: 80827675396055609440
  WITHDRAW: LINK, Amount: 80827675396055609441
  BORROW: LINK, Amount 161655350792111218881, Stable: false
  REPAY: LINK, Amount: 161655350792111218881
  E2E: Collateral LINK, TestAsset USDC
  SUPPLY: LINK, Amount: 16165535079211121888134
  SUPPLY: USDC, Amount: 1000000000
  WITHDRAW: USDC, Amount: 500000000
  WITHDRAW: USDC, Amount: 500000000
  BORROW: USDC, Amount 1000000000, Stable: false
  REPAY: USDC, Amount: 1000000000
  BORROW: USDC, Amount 1000000000, Stable: true
  REPAY: USDC, Amount: 1000000000
  E2E: Collateral LINK, TestAsset WBTC
  SUPPLY: LINK, Amount: 16165535079211121888134
  SUPPLY: WBTC, Amount: 3859651
  WITHDRAW: WBTC, Amount: 1929825
  WITHDRAW: WBTC, Amount: 1929826
  BORROW: WBTC, Amount 3859651, Stable: false
  REPAY: WBTC, Amount: 3859651
  E2E: Collateral LINK, TestAsset WETH
  SUPPLY: LINK, Amount: 16165535079211121888134
  SUPPLY: WETH, Amount: 545589454847016716
  WITHDRAW: WETH, Amount: 272794727423508358
  WITHDRAW: WETH, Amount: 272794727423508359
  BORROW: WETH, Amount 545589454847016716, Stable: false
  REPAY: WETH, Amount: 545589454847016716
  E2E: Collateral LINK, TestAsset USDT
  SUPPLY: LINK, Amount: 16165535079211121888134
  SUPPLY: USDT, Amount: 999945153
  WITHDRAW: USDT, Amount: 499972576
  WITHDRAW: USDT, Amount: 499972576
  BORROW: USDT, Amount 999945153, Stable: false
  REPAY: USDT, Amount: 999945153
  BORROW: USDT, Amount 999945153, Stable: true
  REPAY: USDT, Amount: 999945153
  E2E: Collateral LINK, TestAsset AAVE
  SUPPLY: LINK, Amount: 16165535079211121888134
  SUPPLY: AAVE, Amount: 16473146728162900180
  WITHDRAW: AAVE, Amount: 8236573364081450090
  WITHDRAW: AAVE, Amount: 8236573364081450090
  E2E: Collateral LINK, TestAsset sUSD
  SUPPLY: LINK, Amount: 16165535079211121888134
  SUPPLY: sUSD, Amount: 1002139326949598925802
  WITHDRAW: sUSD, Amount: 501069663474799462901
  WITHDRAW: sUSD, Amount: 501069663474799462900
  BORROW: sUSD, Amount 1002139326949598925802, Stable: false
  REPAY: sUSD, Amount: 1002139326949598925802
  E2E: Collateral LINK, TestAsset OP
  SUPPLY: LINK, Amount: 16165535079211121888134
  SUPPLY: OP, Amount: 656598818122127380170
  WITHDRAW: OP, Amount: 328299409061063690085
  WITHDRAW: OP, Amount: 328299409061063690085
  E2E: Collateral LINK, TestAsset wstETH
  SUPPLY: LINK, Amount: 16165535079211121888134
  SUPPLY: wstETH, Amount: 484382291714219929
  WITHDRAW: wstETH, Amount: 242191145857109964
  WITHDRAW: wstETH, Amount: 242191145857109965
  BORROW: wstETH, Amount 484382291714219929, Stable: false
  REPAY: wstETH, Amount: 484382291714219929
  E2E: Collateral LINK, TestAsset LUSD
  SUPPLY: LINK, Amount: 16165535079211121888134
  SUPPLY: LUSD, Amount: 994369254826541580848
  WITHDRAW: LUSD, Amount: 497184627413270790424
  WITHDRAW: LUSD, Amount: 497184627413270790424
  BORROW: LUSD, Amount 994369254826541580848, Stable: false
  REPAY: LUSD, Amount: 994369254826541580848
  E2E: TestAsset MAI SKIPPED

Test result: ok. 1 passed; 0 failed; 0 skipped; finished in 38.87s
 
Ran 74 test suites: 188 tests passed, 0 failed, 0 skipped (188 total tests)

Please sign in to comment.