-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: update address book #350
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sakulstra
approved these changes
Oct 21, 2024
Foundry report forge 0.2.0 (ce66e14 2024-10-21T00:23:00.336470030Z) Build logCompiling 281 files with Solc 0.8.18
Solc 0.8.18 finished in 65.21s
Compiler run successful with warnings:
Warning (5667): Unused function parameter. Remove or comment out the variable name to silence this warning.
--> src/swaps/AaveSwapper.sol:146:5:
|
146 | address erc20Token
| ^^^^^^^^^^^^^^^^^^
Warning (5667): Unused function parameter. Remove or comment out the variable name to silence this warning.
--> src/asset-manager/AaveWstethWithdrawer.sol:106:5:
|
106 | address erc20Token
| ^^^^^^^^^^^^^^^^^^
Warning (5667): Unused function parameter. Remove or comment out the variable name to silence this warning.
--> src/bridges/arbitrum/AaveArbEthERC20Bridge.sol:120:5:
|
120 | address erc20Token
| ^^^^^^^^^^^^^^^^^^
Warning (5667): Unused function parameter. Remove or comment out the variable name to silence this warning.
--> src/bridges/polygon/AavePolEthERC20Bridge.sol:103:5:
|
103 | address erc20Token
| ^^^^^^^^^^^^^^^^^^
Warning (5667): Unused function parameter. Remove or comment out the variable name to silence this warning.
--> src/bridges/polygon/AavePolEthPlasmaBridge.sol:108:5:
|
108 | address erc20Token
| ^^^^^^^^^^^^^^^^^^
Warning (5667): Unused function parameter. Remove or comment out the variable name to silence this warning.
--> src/bridges/optimism/AaveOpEthERC20Bridge.sol:61:5:
|
61 | address erc20Token
| ^^^^^^^^^^^^^^^^^^
Warning (2018): Function state mutability can be restricted to pure
--> 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
--> src/asset-manager/AaveWstethWithdrawer.sol:105:3:
|
105 | function maxRescue(
| ^ (Relevant source part starts here and spans across multiple lines).
Warning (2018): Function state mutability can be restricted to pure
--> src/bridges/arbitrum/AaveArbEthERC20Bridge.sol:119:3:
|
119 | function maxRescue(
| ^ (Relevant source part starts here and spans across multiple lines).
Warning (2018): Function state mutability can be restricted to pure
--> src/bridges/polygon/AavePolEthERC20Bridge.sol:102:3:
|
102 | function maxRescue(
| ^ (Relevant source part starts here and spans across multiple lines).
Warning (2018): Function state mutability can be restricted to pure
--> src/bridges/polygon/AavePolEthPlasmaBridge.sol:107:3:
|
107 | function maxRescue(
| ^ (Relevant source part starts here and spans across multiple lines).
Warning (2018): Function state mutability can be restricted to pure
--> src/bridges/optimism/AaveOpEthERC20Bridge.sol:60:3:
|
60 | function maxRescue(
| ^ (Relevant source part starts here and spans across multiple lines).
Warning (2018): Function state mutability can be restricted to pure
--> src/ProtocolV2TestBase.sol:663:3:
|
663 | function _logReserveConfig(ReserveConfig memory config) internal view {
| ^ (Relevant source part starts here and spans across multiple lines).
Warning (2018): Function state mutability can be restricted to view
--> tests/ProxyHelpersTest.t.sol:13:3:
|
13 | function testAdmin() public {
| ^ (Relevant source part starts here and spans across multiple lines).
Warning (2018): Function state mutability can be restricted to view
--> tests/ProxyHelpersTest.t.sol:21:3:
|
21 | function testImplementation() public {
| ^ (Relevant source part starts here and spans across multiple lines).
Warning (2018): Function state mutability can be restricted to view
--> tests/swaps/AaveSwapperTest.t.sol:384:3:
|
384 | function test_aaveToUsdc_withEthBasedOracles() public {
| ^ (Relevant source part starts here and spans across multiple lines).
Warning (2018): Function state mutability can be restricted to view
--> tests/swaps/AaveSwapperTest.t.sol:406:3:
|
406 | function test_aaveToUsdc() public {
| ^ (Relevant source part starts here and spans across multiple lines).
Warning (2018): Function state mutability can be restricted to view
--> tests/swaps/AaveSwapperTest.t.sol:421:3:
|
421 | function test_ethToDai() public {
| ^ (Relevant source part starts here and spans across multiple lines).
Warning (2018): Function state mutability can be restricted to view
--> tests/swaps/AaveSwapperTest.t.sol:436:3:
|
436 | function test_ethToBal() public {
| ^ (Relevant source part starts here and spans across multiple lines).
Warning (2018): Function state mutability can be restricted to view
--> tests/swaps/AaveSwapperTest.t.sol:451:3:
|
451 | function test_balTo80BAL20WETH() public {
| ^ (Relevant source part starts here and spans across multiple lines).
| Contract | Runtime Size (B) | Initcode Size (B) | Runtime Margin (B) | Initcode Margin (B) |
|---------------------------------------------|------------------|-------------------|--------------------|---------------------|
| AaveArbEthERC20Bridge | 3,771 | 3,985 | 20,805 | 45,167 |
| AaveGovernanceV2 | 86 | 141 | 24,490 | 49,011 |
| AaveOpEthERC20Bridge | 3,053 | 3,267 | 21,523 | 45,885 |
| AavePolEthERC20Bridge | 4,307 | 4,521 | 20,269 | 44,631 |
| AavePolEthPlasmaBridge | 3,729 | 3,943 | 20,847 | 45,209 |
| AaveSafetyModule | 86 | 141 | 24,490 | 49,011 |
| AaveSwapper | 5,707 | 6,151 | 18,869 | 43,001 |
| AaveV1 | 86 | 141 | 24,490 | 49,011 |
| AaveV2Avalanche | 86 | 141 | 24,490 | 49,011 |
| AaveV2AvalancheAssets | 86 | 141 | 24,490 | 49,011 |
| AaveV2ConfigEngine | 3,180 | 3,565 | 21,396 | 45,587 |
| AaveV2Ethereum | 86 | 141 | 24,490 | 49,011 |
| AaveV2EthereumAMM | 86 | 141 | 24,490 | 49,011 |
| AaveV2EthereumAMMAssets | 86 | 141 | 24,490 | 49,011 |
| AaveV2EthereumArc | 86 | 141 | 24,490 | 49,011 |
| AaveV2EthereumArcAssets | 86 | 141 | 24,490 | 49,011 |
| AaveV2EthereumAssets | 86 | 141 | 24,490 | 49,011 |
| AaveV2EthereumRatesUpdate | 1,512 | 1,657 | 23,064 | 47,495 |
| AaveV2Fuji | 86 | 141 | 24,490 | 49,011 |
| AaveV2FujiAssets | 86 | 141 | 24,490 | 49,011 |
| AaveV2Polygon | 86 | 141 | 24,490 | 49,011 |
| AaveV2PolygonAssets | 86 | 141 | 24,490 | 49,011 |
| AaveV3Arbitrum | 86 | 141 | 24,490 | 49,011 |
| AaveV3ArbitrumAssets | 86 | 141 | 24,490 | 49,011 |
| AaveV3ArbitrumEModes | 86 | 141 | 24,490 | 49,011 |
| AaveV3ArbitrumExternalLibraries | 86 | 141 | 24,490 | 49,011 |
| AaveV3ArbitrumSepolia | 86 | 141 | 24,490 | 49,011 |
| AaveV3ArbitrumSepoliaAssets | 86 | 141 | 24,490 | 49,011 |
| AaveV3Avalanche | 86 | 141 | 24,490 | 49,011 |
| AaveV3AvalancheAssets | 86 | 141 | 24,490 | 49,011 |
| AaveV3AvalancheCollateralUpdate | 3,310 | 3,455 | 21,266 | 45,697 |
| AaveV3AvalancheCollateralUpdateCorrectBonus | 3,310 | 3,455 | 21,266 | 45,697 |
| AaveV3AvalancheCollateralUpdateNoChange | 3,330 | 3,475 | 21,246 | 45,677 |
| AaveV3AvalancheCollateralUpdateWrongBonus | 3,310 | 3,455 | 21,266 | 45,697 |
| AaveV3AvalancheEModeCategoryUpdateEdgeBonus | 3,249 | 3,394 | 21,327 | 45,758 |
| AaveV3AvalancheEModeCategoryUpdateNoChange | 3,313 | 3,458 | 21,263 | 45,694 |
| AaveV3AvalancheEModes | 86 | 141 | 24,490 | 49,011 |
| AaveV3AvalancheExternalLibraries | 86 | 141 | 24,490 | 49,011 |
| AaveV3BNB | 86 | 141 | 24,490 | 49,011 |
| AaveV3BNBAssets | 86 | 141 | 24,490 | 49,011 |
| AaveV3BNBEModes | 86 | 141 | 24,490 | 49,011 |
| AaveV3BNBExternalLibraries | 86 | 141 | 24,490 | 49,011 |
| AaveV3Base | 86 | 141 | 24,490 | 49,011 |
| AaveV3BaseAssets | 86 | 141 | 24,490 | 49,011 |
| AaveV3BaseEModes | 86 | 141 | 24,490 | 49,011 |
| AaveV3BaseExternalLibraries | 86 | 141 | 24,490 | 49,011 |
| AaveV3BaseSepolia | 86 | 141 | 24,490 | 49,011 |
| AaveV3BaseSepoliaAssets | 86 | 141 | 24,490 | 49,011 |
| AaveV3BaseSepoliaEModes | 86 | 141 | 24,490 | 49,011 |
| AaveV3BaseSepoliaExternalLibraries | 86 | 141 | 24,490 | 49,011 |
| AaveV3Ethereum | 86 | 141 | 24,490 | 49,011 |
| AaveV3EthereumAssetEModeUpdate | 3,199 | 3,344 | 21,377 | 45,808 |
| AaveV3EthereumAssets | 86 | 141 | 24,490 | 49,011 |
| AaveV3EthereumEModes | 86 | 141 | 24,490 | 49,011 |
| AaveV3EthereumEtherFi | 86 | 141 | 24,490 | 49,011 |
| AaveV3EthereumEtherFiAssets | 86 | 141 | 24,490 | 49,011 |
| AaveV3EthereumEtherFiEModes | 86 | 141 | 24,490 | 49,011 |
| AaveV3EthereumEtherFiExternalLibraries | 86 | 141 | 24,490 | 49,011 |
| AaveV3EthereumExternalLibraries | 86 | 141 | 24,490 | 49,011 |
| AaveV3EthereumLido | 86 | 141 | 24,490 | 49,011 |
| AaveV3EthereumLidoAssets | 86 | 141 | 24,490 | 49,011 |
| AaveV3EthereumLidoEModes | 86 | 141 | 24,490 | 49,011 |
| AaveV3EthereumLidoExternalLibraries | 86 | 141 | 24,490 | 49,011 |
| AaveV3EthereumMockCapUpdate | 3,237 | 3,382 | 21,339 | 45,770 |
| AaveV3Fantom | 86 | 141 | 24,490 | 49,011 |
| AaveV3FantomAssets | 86 | 141 | 24,490 | 49,011 |
| AaveV3FantomTestnet | 86 | 141 | 24,490 | 49,011 |
| AaveV3FantomTestnetAssets | 86 | 141 | 24,490 | 49,011 |
| AaveV3Fuji | 86 | 141 | 24,490 | 49,011 |
| AaveV3FujiAssets | 86 | 141 | 24,490 | 49,011 |
| AaveV3FujiEModes | 86 | 141 | 24,490 | 49,011 |
| AaveV3FujiExternalLibraries | 86 | 141 | 24,490 | 49,011 |
| AaveV3Gnosis | 86 | 141 | 24,490 | 49,011 |
| AaveV3GnosisAssets | 86 | 141 | 24,490 | 49,011 |
| AaveV3GnosisEModes | 86 | 141 | 24,490 | 49,011 |
| AaveV3GnosisExternalLibraries | 86 | 141 | 24,490 | 49,011 |
| AaveV3Harmony | 86 | 141 | 24,490 | 49,011 |
| AaveV3HarmonyAssets | 86 | 141 | 24,490 | 49,011 |
| AaveV3Metis | 86 | 141 | 24,490 | 49,011 |
| AaveV3MetisAssets | 86 | 141 | 24,490 | 49,011 |
| AaveV3MetisEModes | 86 | 141 | 24,490 | 49,011 |
| AaveV3MetisExternalLibraries | 86 | 141 | 24,490 | 49,011 |
| AaveV3Optimism | 86 | 141 | 24,490 | 49,011 |
| AaveV3OptimismAssets | 86 | 141 | 24,490 | 49,011 |
| AaveV3OptimismEModes | 86 | 141 | 24,490 | 49,011 |
| AaveV3OptimismExternalLibraries | 86 | 141 | 24,490 | 49,011 |
| AaveV3OptimismMockRatesUpdate | 3,446 | 3,591 | 21,130 | 45,561 |
| AaveV3OptimismSepolia | 86 | 141 | 24,490 | 49,011 |
| AaveV3OptimismSepoliaAssets | 86 | 141 | 24,490 | 49,011 |
| AaveV3Polygon | 86 | 141 | 24,490 | 49,011 |
| AaveV3PolygonAssets | 86 | 141 | 24,490 | 49,011 |
| AaveV3PolygonBorrowUpdate | 3,305 | 3,450 | 21,271 | 45,702 |
| AaveV3PolygonBorrowUpdateNoChange | 3,327 | 3,472 | 21,249 | 45,680 |
| AaveV3PolygonEModeCategoryUpdate | 3,247 | 3,392 | 21,329 | 45,760 |
| AaveV3PolygonEModes | 86 | 141 | 24,490 | 49,011 |
| AaveV3PolygonExternalLibraries | 86 | 141 | 24,490 | 49,011 |
| AaveV3PolygonPriceFeedUpdate | 3,178 | 3,323 | 21,398 | 45,829 |
| AaveV3PolygonZkEvm | 86 | 141 | 24,490 | 49,011 |
| AaveV3PolygonZkEvmAssets | 86 | 141 | 24,490 | 49,011 |
| AaveV3Scroll | 86 | 141 | 24,490 | 49,011 |
| AaveV3ScrollAssets | 86 | 141 | 24,490 | 49,011 |
| AaveV3ScrollEModes | 86 | 141 | 24,490 | 49,011 |
| AaveV3ScrollExternalLibraries | 86 | 141 | 24,490 | 49,011 |
| AaveV3ScrollSepolia | 86 | 141 | 24,490 | 49,011 |
| AaveV3ScrollSepoliaAssets | 86 | 141 | 24,490 | 49,011 |
| AaveV3Sepolia | 86 | 141 | 24,490 | 49,011 |
| AaveV3SepoliaAssets | 86 | 141 | 24,490 | 49,011 |
| AaveV3ZkSync | 86 | 141 | 24,490 | 49,011 |
| AaveV3ZkSyncAssets | 86 | 141 | 24,490 | 49,011 |
| AaveV3ZkSyncEModes | 86 | 141 | 24,490 | 49,011 |
| AaveV3ZkSyncExternalLibraries | 86 | 141 | 24,490 | 49,011 |
| AaveWstethWithdrawer | 5,700 | 6,144 | 18,876 | 43,008 |
| Address | 86 | 141 | 24,490 | 49,011 |
| ArbSysMock | 647 | 679 | 23,929 | 48,473 |
| CapsPlusRiskSteward | 2,665 | 2,935 | 21,911 | 46,217 |
| CapsPlusRiskStewardErrors | 556 | 614 | 24,020 | 48,538 |
| ChainHelpers | 86 | 141 | 24,490 | 49,011 |
| ChainIds | 86 | 141 | 24,490 | 49,011 |
| CollectorUtils | 86 | 141 | 24,490 | 49,011 |
| ConfiguratorInputTypes | 86 | 141 | 24,490 | 49,011 |
| Create2Utils | 164 | 220 | 24,412 | 48,932 |
| Create2UtilsZkSync | 147 | 203 | 24,429 | 48,949 |
| DataTypes | 86 | 141 | 24,490 | 49,011 |
| DefaultReserveInterestRateStrategy | 3,485 | 4,252 | 21,091 | 44,900 |
| DeployV2EngineAvaLib | 86 | 141 | 24,490 | 49,011 |
| DeployV2EngineEthAMMLib | 86 | 141 | 24,490 | 49,011 |
| DeployV2EngineEthLib | 86 | 141 | 24,490 | 49,011 |
| DeployV2EnginePolLib | 86 | 141 | 24,490 | 49,011 |
| DeployV2RatesFactoryAvaLib | 86 | 141 | 24,490 | 49,011 |
| DeployV2RatesFactoryEthAMMLib | 86 | 141 | 24,490 | 49,011 |
| DeployV2RatesFactoryEthLib | 86 | 141 | 24,490 | 49,011 |
| DeployV2RatesFactoryLib | 86 | 141 | 24,490 | 49,011 |
| DeployV2RatesFactoryPolLib | 86 | 141 | 24,490 | 49,011 |
| ERC1967Proxy | 699 | 1,831 | 23,877 | 47,321 |
| EngineFlags | 86 | 141 | 24,490 | 49,011 |
| Errors | 4,714 | 4,772 | 19,862 | 44,380 |
| FreezingSteward | 715 | 915 | 23,861 | 48,237 |
| GovV3Helpers | 2,622 | 2,680 | 21,954 | 46,472 |
| GovV3StorageHelpers | 86 | 141 | 24,490 | 49,011 |
| GovernanceV3Arbitrum | 86 | 141 | 24,490 | 49,011 |
| GovernanceV3Avalanche | 86 | 141 | 24,490 | 49,011 |
| GovernanceV3BNB | 86 | 141 | 24,490 | 49,011 |
| GovernanceV3Base | 86 | 141 | 24,490 | 49,011 |
| GovernanceV3Ethereum | 86 | 141 | 24,490 | 49,011 |
| GovernanceV3Fuji | 86 | 141 | 24,490 | 49,011 |
| GovernanceV3Gnosis | 86 | 141 | 24,490 | 49,011 |
| GovernanceV3Metis | 86 | 141 | 24,490 | 49,011 |
| GovernanceV3Optimism | 86 | 141 | 24,490 | 49,011 |
| GovernanceV3Polygon | 86 | 141 | 24,490 | 49,011 |
| GovernanceV3PolygonZkEvm | 86 | 141 | 24,490 | 49,011 |
| GovernanceV3Scroll | 86 | 141 | 24,490 | 49,011 |
| GovernanceV3ZkSync | 86 | 141 | 24,490 | 49,011 |
| IpfsUtils | 86 | 141 | 24,490 | 49,011 |
| MiscArbitrum | 86 | 141 | 24,490 | 49,011 |
| MiscArbitrumSepolia | 86 | 141 | 24,490 | 49,011 |
| MiscAvalanche | 86 | 141 | 24,490 | 49,011 |
| MiscBNB | 86 | 141 | 24,490 | 49,011 |
| MiscBase | 86 | 141 | 24,490 | 49,011 |
| MiscBaseSepolia | 86 | 141 | 24,490 | 49,011 |
| MiscEthereum | 86 | 141 | 24,490 | 49,011 |
| MiscFantom | 86 | 141 | 24,490 | 49,011 |
| MiscFuji | 86 | 141 | 24,490 | 49,011 |
| MiscGnosis | 86 | 141 | 24,490 | 49,011 |
| MiscMetis | 86 | 141 | 24,490 | 49,011 |
| MiscOptimism | 86 | 141 | 24,490 | 49,011 |
| MiscOptimismSepolia | 86 | 141 | 24,490 | 49,011 |
| MiscPolygon | 86 | 141 | 24,490 | 49,011 |
| MiscPolygonZkEvm | 86 | 141 | 24,490 | 49,011 |
| MiscScroll | 86 | 141 | 24,490 | 49,011 |
| MiscSepolia | 86 | 141 | 24,490 | 49,011 |
| MiscZkSync | 86 | 141 | 24,490 | 49,011 |
| MyPayload | 1,530 | 1,575 | 23,046 | 47,577 |
| PayloadWithEmit | 150 | 180 | 24,426 | 48,972 |
| PayloadsControllerUtils | 86 | 141 | 24,490 | 49,011 |
| PercentageMath | 86 | 141 | 24,490 | 49,011 |
| ProxyAdmin | 1,683 | 1,809 | 22,893 | 47,343 |
| ProxyHelpers | 86 | 141 | 24,490 | 49,011 |
| ReserveConfiguration | 171 | 227 | 24,405 | 48,925 |
| SafeERC20 | 86 | 141 | 24,490 | 49,011 |
| SafeMath | 86 | 141 | 24,490 | 49,011 |
| StorageHelpers | 86 | 141 | 24,490 | 49,011 |
| StorageSlot | 86 | 141 | 24,490 | 49,011 |
| StrategicAssetsManager | 9,691 | 10,145 | 14,885 | 39,007 |
| TestNetChainIds | 86 | 141 | 24,490 | 49,011 |
| TransparentProxyFactory | 7,505 | 7,537 | 17,071 | 41,615 |
| TransparentUpgradeableProxy | 2,096 | 3,665 | 22,480 | 45,487 |
| V2RateStrategyFactory | 8,842 | 9,194 | 15,734 | 39,958 |
| WadRayMath | 86 | 141 | 24,490 | 49,011 | Test success 🌈No files changed, compilation skipped
Ran 2 tests for tests/bridges/polygon/AavePolEthPlasmaBridge.t.sol:TransferOwnership
[PASS] test_revertsIf_invalidCaller() (gas: 14763)
[PASS] test_successful() (gas: 16312)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 797.97ms (540.38µs CPU time)
Ran 2 tests for tests/bridges/polygon/AavePolEthPlasmaBridge.t.sol:WithdrawToCollectorTest
[PASS] test_revertsIf_invalidChain() (gas: 10835)
[PASS] test_successful() (gas: 43600)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 694.18ms (520.03ms CPU time)
Ran 2 tests for tests/bridges/polygon/AavePolEthERC20BridgeTest.t.sol:ExitTest
[PASS] test_revertsIf_invalidChain() (gas: 11228)
[PASS] test_revertsIf_proofAlreadyProcessed() (gas: 39289)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 2.20s (413.94ms CPU time)
Ran 6 tests for tests/swaps/AaveSwapperTest.t.sol:AaveSwapperSwap
[PASS] test_revertsIf_amountIsZero() (gas: 12438)
[PASS] test_revertsIf_fromTokenIsZeroAddress() (gas: 12399)
[PASS] test_revertsIf_invalidCaller() (gas: 11633)
[PASS] test_revertsIf_invalidRecipient() (gas: 12460)
[PASS] test_revertsIf_toTokenIsZeroAddress() (gas: 12337)
[PASS] test_successful() (gas: 337491)
Suite result: ok. 6 passed; 0 failed; 0 skipped; finished in 1.26s (780.03ms CPU time)
Ran 3 tests for tests/swaps/AaveSwapperTest.t.sol:CancelSwap
[PASS] test_revertsIf_invalidCaller() (gas: 15523)
[PASS] test_revertsIf_noMatchingTrade() (gas: 342661)
[PASS] test_successful() (gas: 381129)
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 233.37ms (144.57ms CPU time)
Ran 2 tests for tests/swaps/AaveSwapperTest.t.sol:EmergencyTokenTransfer
[PASS] test_revertsIf_invalidCaller() (gas: 10913)
[PASS] test_successful_governanceCaller() (gas: 60591)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 172.82ms (80.66ms CPU time)
Ran 1 test for tests/bridges/polygon/AavePolEthERC20BridgeTest.t.sol:ForkedBridgeTests
[PASS] test_successful() (gas: 402667)
Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 2.04s (2.04s CPU time)
Ran 3 tests for tests/bridges/arbitrum/AaveArbEthERC20BridgeTest.t.sol:BridgeTest
[PASS] test_revertsIf_invalidChain() (gas: 8856)
[PASS] test_revertsIf_notOwner() (gas: 68888)
[PASS] test_successful_arbitrumBridge() (gas: 305586)
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 4.46s (3.49s CPU time)
Ran 3 tests for tests/bridges/polygon/AavePolEthERC20BridgeTest.t.sol:IsTokenMapped
[PASS] test_revertsIf_invalidChain() (gas: 10957)
[PASS] test_successful_returnsFalse() (gas: 19111)
[PASS] test_successful_returnsTrue() (gas: 17358)
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 395.10ms (161.49ms CPU time)
Ran 1 test for tests/swaps/DepositV2SwapPayloadTest.t.sol:DepositV2SwapPayloadTest
[PASS] test_successful() (gas: 507902)
Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 5.23s (4.63s CPU time)
Ran 2 tests for tests/bridges/polygon/AavePolEthERC20BridgeTest.t.sol:ReceiveEther
[PASS] test_revertsIf_invalidChain() (gas: 19308)
[PASS] test_successful_forwardsETH() (gas: 31201)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 604.95ms (346.49ms CPU time)
Ran 2 tests for tests/bridges/polygon/AavePolEthERC20BridgeTest.t.sol:TransferOwnership
[PASS] test_revertsIf_invalidCaller() (gas: 14691)
[PASS] test_successful() (gas: 16328)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 180.19ms (328.91µs CPU time)
Ran 2 tests for tests/bridges/arbitrum/AaveArbEthERC20BridgeTest.t.sol:EmergencyTokenTransfer
[PASS] test_revertsIf_invalidCaller() (gas: 13126)
[PASS] test_successful_governanceCaller() (gas: 59401)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 1.32s (1.10s CPU time)
Ran 2 tests for tests/bridges/polygon/AavePolEthERC20BridgeTest.t.sol:WithdrawToCollectorTest
[PASS] test_revertsIf_invalidChain() (gas: 10896)
[PASS] test_successful() (gas: 60287)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 1.13s (894.02ms CPU time)
Ran 3 tests for tests/bridges/polygon/AavePolEthPlasmaBridge.t.sol:BridgeTest
[PASS] test_revertsIf_invalidChain() (gas: 8500)
[PASS] test_revertsIf_notOwner() (gas: 22888)
[PASS] test_successful() (gas: 39988)
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 494.59ms (302.03ms CPU time)
Ran 2 tests for tests/bridges/polygon/AavePolEthPlasmaBridge.t.sol:EmergencyTokenTransfer
[PASS] test_revertsIf_invalidCaller() (gas: 13148)
[PASS] test_successful_governanceCaller() (gas: 46556)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 665.20ms (474.76ms CPU time)
Ran 2 tests for tests/bridges/polygon/AavePolEthPlasmaBridge.t.sol:ExitTest
[PASS] test_revertsIf_invalidChain() (gas: 11250)
[PASS] test_revertsIf_proofAlreadyProcessed() (gas: 169821)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 1.27s (1.09s CPU time)
Ran 2 tests for tests/bridges/arbitrum/AaveArbEthERC20BridgeTest.t.sol:ExitTest
[PASS] test_revertsIf_invalidChain() (gas: 15075)
[PASS] test_successful_exitsLink() (gas: 962353)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 3.22s (2.97s CPU time)
Ran 1 test for tests/swaps/DepositV3SwapPayloadTest.t.sol:DepositV3SwapPayloadTest
[PASS] test_successful() (gas: 188852)
Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 3.79s (3.33s CPU time)
Ran 2 tests for tests/bridges/arbitrum/AaveArbEthERC20BridgeTest.t.sol:TransferOwnership
[PASS] test_revertsIf_invalidCaller() (gas: 14697)
[PASS] test_successful() (gas: 16301)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 235.40ms (1.41ms CPU time)
Ran 7 tests for tests/swaps/AaveSwapperTest.t.sol:GetExpectedOut
[PASS] test_aaveToUsdc() (gas: 91185)
[PASS] test_aaveToUsdc_withEthBasedOracles() (gas: 110292)
[PASS] test_balTo80BAL20WETH() (gas: 86598)
[PASS] test_ethToBal() (gas: 72399)
[PASS] test_ethToDai() (gas: 76602)
[PASS] test_revertsIf_fromOracleIsAddressZero() (gas: 9291)
[PASS] test_revertsIf_toOracleIsAddressZero() (gas: 9295)
Suite result: ok. 7 passed; 0 failed; 0 skipped; finished in 6.49s (6.37s CPU time)
Ran 1 test for tests/swaps/AaveSwapperTest.t.sol:Initialize
[PASS] test_revertsIf_alreadyInitialized() (gas: 10900)
Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 98.21ms (97.57µs CPU time)
Ran 2 tests for tests/swaps/AaveSwapperTest.t.sol:RemoveGuardian
[PASS] test_revertsIf_invalidCaller() (gas: 12910)
[PASS] test_successful() (gas: 16663)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 97.79ms (178.71µs CPU time)
Ran 2 tests for tests/swaps/AaveSwapperTest.t.sol:TransferOwnership
[PASS] test_revertsIf_invalidCaller() (gas: 12412)
[PASS] test_successful() (gas: 18636)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 94.37ms (340.32µs CPU time)
Ran 2 tests for tests/swaps/AaveSwapperTest.t.sol:UpdateGuardian
[PASS] test_revertsIf_invalidCaller() (gas: 14606)
[PASS] test_successful() (gas: 23061)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 113.10ms (348.36µs CPU time)
Ran 1 test for tests/bridges/polygon/AavePolEthPlasmaBridge.t.sol:ForkedBridgeTests
[PASS] test_successful() (gas: 511980)
Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 3.06s (3.06s CPU time)
Ran 2 tests for tests/asset-manager/TestStrategicAssetsManager.t.sol:SetStrategicAssetManager
[PASS] test_revertsIf_invalidCaller() (gas: 14606)
[PASS] test_successful() (gas: 23215)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 460.94ms (452.16µs CPU time)
Ran 2 tests for tests/asset-manager/TestStrategicAssetsManager.t.sol:TransferOwnership
[PASS] test_revertsIf_invalidCaller() (gas: 12390)
[PASS] test_successful() (gas: 18637)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 92.15ms (302.48µs CPU time)
Ran 3 tests for tests/bridges/optimism/AaveOpEthERC20BridgeTest.t.sol:BridgeTest
[PASS] test_revertsIf_invalidChain() (gas: 676832)
[PASS] test_revertsIf_notOwner() (gas: 192840)
[PASS] test_successful() (gas: 329763)
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 3.56s (2.94s CPU time)
Ran 3 tests for tests/asset-manager/TestStrategicAssetsManager.t.sol:WithdrawERC20
[PASS] test_revertsIf_insufficientBalance() (gas: 18094)
[PASS] test_revertsIf_invalidCaller() (gas: 10787)
[PASS] test_successful() (gas: 217537)
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 355.03ms (272.12ms CPU time)
Ran 2 tests for tests/bridges/optimism/AaveOpEthERC20BridgeTest.t.sol:EmergencyTokenTransfer
[PASS] test_revertsIf_invalidCaller() (gas: 13332)
[PASS] test_successful_governanceCaller() (gas: 208479)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 418.04ms (277.79ms CPU time)
Ran 2 tests for tests/bridges/optimism/AaveOpEthERC20BridgeTest.t.sol:TransferOwnership
[PASS] test_revertsIf_invalidCaller() (gas: 14763)
[PASS] test_successful() (gas: 16312)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 95.08ms (399.96µs CPU time)
Ran 3 tests for tests/bridges/polygon/AavePolEthERC20BridgeTest.t.sol:BridgeTest
[PASS] test_revertsIf_invalidChain() (gas: 8614)
[PASS] test_revertsIf_notOwner() (gas: 66671)
[PASS] test_successful() (gas: 59514)
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 1.19s (997.94ms CPU time)
Ran 2 tests for tests/bridges/polygon/AavePolEthERC20BridgeTest.t.sol:EmergencyTokenTransfer
[PASS] test_revertsIf_invalidCaller() (gas: 13140)
[PASS] test_successful_governanceCaller() (gas: 60733)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 508.26ms (308.34ms CPU time)
Ran 2 tests for tests/bridges/polygon/AavePolEthERC20BridgeTest.t.sol:ExitMultipleTest
[PASS] test_revertsIf_invalidChain() (gas: 11722)
[PASS] test_revertsIf_proofAlreadyProcessed() (gas: 40013)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 291.18ms (586.68µs CPU time)
Ran 2 tests for tests/asset-manager/TestVeTokenManager.t.sol:SetLockDurationTest
[PASS] test_revertsIf_invalidCaller() (gas: 12814)
[PASS] test_successful() (gas: 35693)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 87.67ms (133.37µs CPU time)
Ran 2 tests for tests/asset-manager/TestVeTokenManager.t.sol:SetSpaceIdTest
[PASS] test_revertsIf_invalidCaller() (gas: 12755)
[PASS] test_successful() (gas: 101873)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 345.96ms (249.27ms CPU time)
Ran 3 tests for tests/asset-manager/TestVeTokenManager.t.sol:BuyBoostTest
[PASS] test_revertsIf_estimatedFeeExceedsMaxFee() (gas: 51687)
[PASS] test_revertsIf_invalidCaller() (gas: 16598)
[PASS] test_successful() (gas: 544258)
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 4.37s (4.25s CPU time)
Ran 3 tests for tests/asset-manager/TestVeTokenManager.t.sol:Claim
[PASS] test_revertsIf_invalidCaller() (gas: 12883)
[PASS] test_revertsIf_noRewardsWereEarned() (gas: 164078)
[PASS] test_successful() (gas: 1209455)
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 2.67s (2.58s CPU time)
Ran 2 tests for tests/asset-manager/TestVeTokenManager.t.sol:ClearDelegationSnapshot
[PASS] test_revertsIf_invalidCaller() (gas: 12829)
[PASS] test_successful() (gas: 100843)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 87.57ms (414.88µs CPU time)
Ran 5 tests for tests/asset-manager/TestVeTokenManager.t.sol:LockTest
[PASS] test_revertsIf_invalidCaller() (gas: 12884)
[PASS] test_revertsIf_nothingToLockOrRelock() (gas: 119337)
[PASS] test_successful_increaseBalance() (gas: 836612)
[PASS] test_successful_increaseUnlockTime() (gas: 868271)
[PASS] test_successful_locksFirstTime() (gas: 553416)
Suite result: ok. 5 passed; 0 failed; 0 skipped; finished in 478.21ms (392.43ms CPU time)
Ran 2 tests for tests/asset-manager/TestVeTokenManager.t.sol:RemoveBoostOfferTest
[PASS] test_revertsIf_invalidCaller() (gas: 12808)
[PASS] test_successful() (gas: 151277)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 82.02ms (947.79µs CPU time)
Ran 2 tests for tests/asset-manager/TestVeTokenManager.t.sol:SellBoostTest
[PASS] test_revertsIf_invalidCaller() (gas: 13527)
[PASS] test_successful() (gas: 166643)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 98.29ms (624.15µs CPU time)
Ran 2 tests for tests/asset-manager/TestVeTokenManager.t.sol:SetDelegationSnapshot
[PASS] test_revertsIf_invalidCaller() (gas: 14597)
[PASS] test_successful() (gas: 102065)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 167.32ms (500.99µs CPU time)
Ran 3 tests for tests/asset-manager/TestVeTokenManager.t.sol:UnlockTest
[PASS] test_revertsIf_invalidCaller() (gas: 12863)
[PASS] test_revertsIf_unlockTimeHasNotPassed() (gas: 564799)
[PASS] test_successful_unlock() (gas: 5347766)
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 24.05s (23.95s CPU time)
Ran 3 tests for tests/asset-manager/TestVeTokenManager.t.sol:UpdateBoostOfferTest
[PASS] test_revertsIf_invalidCaller() (gas: 13605)
[PASS] test_revertsIf_noOfferExists() (gas: 22578)
[PASS] test_successful() (gas: 183877)
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 91.44ms (1.09ms CPU time)
Ran 2 tests for tests/asset-manager/TestVlTokenManager.t.sol:ClaimVLAURARewardsTest
[PASS] test_revertsIf_invalidCaller() (gas: 12862)
[PASS] test_successful() (gas: 372524)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 1.87s (1.76s CPU time)
Ran 3 tests for tests/asset-manager/TestVlTokenManager.t.sol:DelegateVLAURATest
[PASS] test_revertsIf_invalidCaller() (gas: 14565)
[PASS] test_revertsIf_nothingToDelegate() (gas: 23773)
[PASS] test_revertsIf_successful() (gas: 411676)
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 335.51ms (227.43ms CPU time)
Ran 2 tests for tests/asset-manager/TestVlTokenManager.t.sol:EmergencyWithdrawVLAURA
[PASS] test_revertsIf_invalidCaller() (gas: 12839)
[PASS] test_successful() (gas: 409557)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 241.53ms (141.20ms CPU time)
Ran 3 tests for tests/asset-manager/TestVlTokenManager.t.sol:LockVLAURATest
[PASS] test_revertsIf_insufficientBalance() (gas: 93456)
[PASS] test_revertsIf_invalidCaller() (gas: 12913)
[PASS] test_successful() (gas: 334440)
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 103.70ms (1.91ms CPU time)
Ran 4 tests for tests/asset-manager/TestVlTokenManager.t.sol:RelockVLAURATest
[PASS] test_revertsIf_invalidCaller() (gas: 12838)
[PASS] test_revertsIf_noExpiredLocks() (gas: 344591)
[PASS] test_revertsIf_noLocks() (gas: 65225)
[PASS] test_successful() (gas: 733710)
Suite result: ok. 4 passed; 0 failed; 0 skipped; finished in 1.48s (1.36s CPU time)
Ran 4 tests for tests/asset-manager/TestVlTokenManager.t.sol:UnlockVLAURATest
[PASS] test_revertsIf_invalidCaller() (gas: 12863)
[PASS] test_revertsIf_noExpiredLocks() (gas: 344617)
[PASS] test_revertsIf_noLocks() (gas: 65258)
[PASS] test_successful() (gas: 370561)
Suite result: ok. 4 passed; 0 failed; 0 skipped; finished in 94.92ms (3.32ms CPU time)
Ran 2 tests for tests/v2-config-engine/V2RateStrategyFactory.t.sol:V2RateStrategyFactoryTest
[PASS] testCreateStrategies() (gas: 851051)
[PASS] testMultipleCreateStrategies() (gas: 853429)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 2.18s (1.80s CPU time)
Ran 2 tests for tests/ProxyHelpersTest.t.sol:ProxyHelpersTest
[PASS] testAdmin() (gas: 3596)
[PASS] testImplementation() (gas: 3541)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 553.73ms (266.98ms CPU time)
Ran 4 tests for tests/asset-manager/TestLSDLiquidityGaugeManager.t.sol:SetGaugeController
[PASS] test_revertsIf_invalidCaller() (gas: 12825)
[PASS] test_revertsIf_invalidZeroAddress() (gas: 11405)
[PASS] test_revertsIf_settingToSameController() (gas: 36577)
[PASS] test_successful() (gas: 39851)
Suite result: ok. 4 passed; 0 failed; 0 skipped; finished in 99.15ms (335.02µs CPU time)
Ran 3 tests for tests/asset-manager/TestLSDLiquidityGaugeManager.t.sol:VoteForGaugeWeight
[PASS] test_revertsIf_gaugeIsZeroAddress() (gas: 11605)
[PASS] test_revertsIf_invalidCaller() (gas: 12980)
[PASS] test_successful() (gas: 830468)
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 3.75s (3.67s CPU time)
Ran 1 test for tests/asset-manager/TestStrategicAssetsManager.t.sol:Initialize
[PASS] test_revertsIf_alreadyInitialized() (gas: 10944)
Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 114.88ms (72.47µs CPU time)
Ran 2 tests for tests/asset-manager/TestStrategicAssetsManager.t.sol:RemoveStrategicAssetManager
[PASS] test_revertsIf_invalidCaller() (gas: 12910)
[PASS] test_successful() (gas: 16817)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 86.82ms (177.36µs CPU time)
Ran 2 tests for tests/ProtocolV3TestBase.t.sol:ProtocolV3TestE2ETestAvalancheAll
[PASS] test_deal() (gas: 190668)
[PASS] test_e2e() (gas: 13870040)
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
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
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
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
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
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
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
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
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
REPAY: BTC.b, Amount: 2279072
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 63.03s (62.56s CPU time)
Ran 1 test for tests/ProtocolV3TestBase.t.sol:ProtocolV3TestE2ETestMetisAll
[PASS] test_e2e() (gas: 5530429)
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
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
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
REPAY: WETH, Amount: 435637728812215165
Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 25.26s (24.78s CPU time)
2024-10-21T12:14:56.388150Z ERROR cheatcodes: non-empty stderr input=["npx", "@bgd-labs/aave-cli@^1.1.4", "diff-snapshots", "./reports/default_before.json", "./reports/default_after.json", "-o", "./diffs/default_before_default_after.md"] stderr="npm warn exec The following package was not found and will be installed: @bgd-labs/[email protected]
"
2024-10-21T12:14:56.394142Z ERROR cheatcodes: non-empty stderr input=["npx", "@bgd-labs/aave-cli@^1.1.4", "diff-snapshots", "./reports/preTestV2RatesUpdates.json", "./reports/postTestV2RatesUpdates.json", "-o", "./diffs/preTestV2RatesUpdates_postTestV2RatesUpdates.md"] stderr="npm warn exec The following package was not found and will be installed: @bgd-labs/[email protected]
"
Ran 1 test for tests/v2-config-engine/AaveV2ConfigEngineTest.t.sol:AaveV2ConfigEngineTest
[PASS] testV2RateStrategiesUpdates() (gas: 183815377)
Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 122.27s (122.27s CPU time)
Ran 2 tests for tests/asset-manager/AaveWstethWithdrawerTest.t.sol:Emergency721TokenTransfer
[PASS] test_revertsIf_invalidCaller() (gas: 705644)
[PASS] test_successful_governanceCaller() (gas: 749795)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 5.47s (4.88s CPU time)
Ran 2 tests for tests/asset-manager/AaveWstethWithdrawerTest.t.sol:EmergencyTokenTransfer
[PASS] test_revertsIf_invalidCaller() (gas: 193958)
[PASS] test_successful_governanceCaller() (gas: 206572)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 121.08ms (2.42ms CPU time)
Ran 3 tests for tests/asset-manager/AaveWstethWithdrawerTest.t.sol:FinalizeWithdrawal
[PASS] test_finalizeWithdrawalGuardian() (gas: 770545)
[PASS] test_finalizeWithdrawalOwner() (gas: 768852)
[PASS] test_finalizeWithdrawalWithExtraFunds() (gas: 769391)
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 1.51s (1.41s CPU time)
Ran 3 tests for tests/asset-manager/AaveWstethWithdrawerTest.t.sol:StartWithdrawal
[PASS] test_revertsIf_invalidCaller() (gas: 68140)
[PASS] test_startWithdrawalGuardian() (gas: 360436)
[PASS] test_startWithdrawalOwner() (gas: 358253)
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 97.38ms (3.74ms CPU time)
Ran 2 tests for tests/asset-manager/AaveWstethWithdrawerTest.t.sol:TransferOwnership
[PASS] test_revertsIf_invalidCaller() (gas: 19703)
[PASS] test_successful() (gas: 26659)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 93.21ms (446.49µs CPU time)
Ran 2 tests for tests/asset-manager/AaveWstethWithdrawerTest.t.sol:UpdateGuardian
[PASS] test_revertsIf_invalidCaller() (gas: 21897)
[PASS] test_successful() (gas: 28479)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 96.58ms (446.61µs CPU time)
Ran 9 tests for tests/riskstewards/CapsPlusRiskSteward.t.sol:CapsPlusRiskSteward_Test
[PASS] test_debounce() (gas: 136318)
[PASS] test_increaseCapsMax() (gas: 121499)
[PASS] test_invalidCaller() (gas: 7533)
[PASS] test_keepCurrent() (gas: 53942)
[PASS] test_unlisted() (gas: 32887)
[PASS] test_updateBorrowCapBiggerMax() (gas: 37279)
[PASS] test_updateBorrowCapNotStrictlyHigher() (gas: 46126)
[PASS] test_updateSupplyCapBiggerMax() (gas: 37057)
[PASS] test_updateSupplyCapNotStrictlyHigher() (gas: 45701)
Suite result: ok. 9 passed; 0 failed; 0 skipped; finished in 2.19s (1.47s CPU time)
Ran 1 test for tests/ProtocolV3TestBase.t.sol:ProtocolV3TestE2ETestOptimismAll
[PASS] test_e2e() (gas: 16913787)
Logs:
E2E: Collateral DAI, TestAsset DAI
SUPPLY: DAI, Amount: 100024072793599235528014
SUPPLY: DAI, Amount: 1000240727935992355280
WITHDRAW: DAI, Amount: 500120363967996177640
WITHDRAW: DAI, Amount: 500120363967996177641
BORROW: DAI, Amount 1000240727935992355280
REPAY: DAI, Amount: 1000240727935992355280
E2E: Collateral DAI, TestAsset LINK
SUPPLY: DAI, Amount: 100024072793599235528014
SUPPLY: LINK, Amount: 76288613863350003921
WITHDRAW: LINK, Amount: 38144306931675001960
WITHDRAW: LINK, Amount: 38144306931675001962
BORROW: LINK, Amount 76288613863350003921
REPAY: LINK, Amount: 76288613863350003921
E2E: Collateral DAI, TestAsset USDC
SUPPLY: DAI, Amount: 100024072793599235528014
SUPPLY: USDC, Amount: 1000050002
WITHDRAW: USDC, Amount: 500025001
WITHDRAW: USDC, Amount: 500025000
BORROW: USDC, Amount 1000050002
REPAY: USDC, Amount: 1000050002
E2E: Collateral DAI, TestAsset WBTC
SUPPLY: DAI, Amount: 100024072793599235528014
SUPPLY: WBTC, Amount: 1556671
WITHDRAW: WBTC, Amount: 778335
WITHDRAW: WBTC, Amount: 778335
BORROW: WBTC, Amount 1556671
REPAY: WBTC, Amount: 1556671
E2E: Collateral DAI, TestAsset WETH
SUPPLY: DAI, Amount: 100024072793599235528014
SUPPLY: WETH, Amount: 314316162520206817
WITHDRAW: WETH, Amount: 157158081260103408
WITHDRAW: WETH, Amount: 157158081260103409
BORROW: WETH, Amount 314316162520206817
REPAY: WETH, Amount: 314316162520206817
E2E: Collateral DAI, TestAsset USDT
SUPPLY: DAI, Amount: 100024072793599235528014
SUPPLY: USDT, Amount: 1000005890
WITHDRAW: USDT, Amount: 500002945
WITHDRAW: USDT, Amount: 500002945
BORROW: USDT, Amount 1000005890
REPAY: USDT, Amount: 1000005890
E2E: Collateral DAI, TestAsset AAVE
SUPPLY: DAI, Amount: 100024072793599235528014
SUPPLY: AAVE, Amount: 11304365519876465893
WITHDRAW: AAVE, Amount: 5652182759938232946
WITHDRAW: AAVE, Amount: 5652182759938232946
E2E: Collateral DAI, TestAsset sUSD
SUPPLY: DAI, Amount: 100024072793599235528014
SUPPLY: sUSD, Amount: 1000656170277097503917
WITHDRAW: sUSD, Amount: 500328085138548751958
WITHDRAW: sUSD, Amount: 500328085138548751959
BORROW: sUSD, Amount 1000656170277097503917
REPAY: sUSD, Amount: 1000656170277097503917
E2E: Collateral DAI, TestAsset OP
SUPPLY: DAI, Amount: 100024072793599235528014
SUPPLY: OP, Amount: 585676573079396231409
WITHDRAW: OP, Amount: 292838286539698115704
WITHDRAW: OP, Amount: 292838286539698115704
BORROW: OP, Amount 585676573079396231409
REPAY: OP, Amount: 585676573079396231409
E2E: Collateral DAI, TestAsset wstETH
SUPPLY: DAI, Amount: 100024072793599235528014
SUPPLY: wstETH, Amount: 267804379853630361
WITHDRAW: wstETH, Amount: 133902189926815180
WITHDRAW: wstETH, Amount: 133902189926815182
BORROW: wstETH, Amount 267804379853630361
REPAY: wstETH, Amount: 267804379853630361
E2E: Collateral DAI, TestAsset LUSD
SUPPLY: DAI, Amount: 100024072793599235528014
SUPPLY: LUSD, Amount: 1001638319701236129863
WITHDRAW: LUSD, Amount: 500819159850618064931
WITHDRAW: LUSD, Amount: 500819159850618064932
BORROW: LUSD, Amount 1001638319701236129863
REPAY: LUSD, Amount: 1001638319701236129863
E2E: TestAsset MAI SKIPPED
E2E: Collateral DAI, TestAsset rETH
SUPPLY: DAI, Amount: 100024072793599235528014
SUPPLY: rETH, Amount: 282679976871048760
WITHDRAW: rETH, Amount: 141339988435524380
WITHDRAW: rETH, Amount: 141339988435524381
BORROW: rETH, Amount 282679976871048760
REPAY: rETH, Amount: 282679976871048760
E2E: Collateral DAI, TestAsset USDC
SUPPLY: DAI, Amount: 100024072793599235528014
SUPPLY: USDC, Amount: 1000050002
WITHDRAW: USDC, Amount: 500025001
WITHDRAW: USDC, Amount: 500025001
BORROW: USDC, Amount 1000050002
REPAY: USDC, Amount: 1000050002
Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 62.79s (62.34s CPU time)
Ran 2 tests for tests/ProtocolV2TestBase.t.sol:ProtocolV2TestE2ETestAsset
[PASS] test_defaultTest() (gas: 52297826)
[PASS] test_e2eTestAssetUSDT() (gas: 3270910)
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
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 128.20s (127.86s CPU time)
Ran 9 tests for tests/GovV3Test.t.sol:GovernanceV3Test
[PASS] testFail_findPayload() (gas: 18181)
[PASS] test_executePayloadViaAddress() (gas: 76768)
[PASS] test_executePayloadViaId() (gas: 803101)
[PASS] test_expectRevertOnNonExistingPayload() (gas: 3516)
[PASS] test_helpers() (gas: 222283613)
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
E2E: Collateral WETH, TestAsset WETH
SUPPLY: WETH, Amount: 31560712246743014949
SUPPLY: WETH, Amount: 315607122467430149
WITHDRAW: WETH, Amount: 157803561233715074
WITHDRAW: WETH, Amount: 157803561233715074
BORROW: WETH, Amount 315607122467430149
REPAY: WETH, Amount: 315607122467430149
E2E: Collateral WETH, TestAsset wstETH
SUPPLY: WETH, Amount: 31560712246743014949
SUPPLY: wstETH, Amount: 268904306517589906
WITHDRAW: wstETH, Amount: 134452153258794953
WITHDRAW: wstETH, Amount: 134452153258794952
BORROW: wstETH, Amount 268904306517589906
REPAY: wstETH, Amount: 268904306517589906
E2E: Collateral WETH, TestAsset WBTC
SUPPLY: WETH, Amount: 31560712246743014949
SUPPLY: WBTC, Amount: 1556434
WITHDRAW: WBTC, Amount: 778217
WITHDRAW: WBTC, Amount: 778216
BORROW: WBTC, Amount 1556434
REPAY: WBTC, Amount: 1556434
E2E: Collateral WETH, TestAsset USDC
SUPPLY: WETH, Amount: 31560712246743014949
SUPPLY: USDC, Amount: 1000047462
WITHDRAW: USDC, Amount: 500023731
WITHDRAW: USDC, Amount: 500023731
BORROW: USDC, Amount 1000047462
REPAY: USDC, Amount: 1000047462
E2E: Collateral WETH, TestAsset DAI
SUPPLY: WETH, Amount: 31560712246743014949
SUPPLY: DAI, Amount: 1000342187051924851934
WITHDRAW: DAI, Amount: 500171093525962425967
WITHDRAW: DAI, Amount: 500171093525962425967
BORROW: DAI, Amount 1000342187051924851934
REPAY: DAI, Amount: 1000342187051924851934
E2E: Collateral WETH, TestAsset LINK
SUPPLY: WETH, Amount: 31560712246743014949
SUPPLY: LINK, Amount: 76237990610529076407
WITHDRAW: LINK, Amount: 38118995305264538203
WITHDRAW: LINK, Amount: 38118995305264538203
BORROW: LINK, Amount 76237990610529076407
REPAY: LINK, Amount: 76237990610529076407
E2E: Collateral WETH, TestAsset AAVE
SUPPLY: WETH, Amount: 31560712246743014949
SUPPLY: AAVE, Amount: 11316941121350427950
WITHDRAW: AAVE, Amount: 5658470560675213975
WITHDRAW: AAVE, Amount: 5658470560675213975
E2E: Collateral WETH, TestAsset cbETH
SUPPLY: WETH, Amount: 31560712246743014949
SUPPLY: cbETH, Amount: 293005040233111248
WITHDRAW: cbETH, Amount: 146502520116555624
WITHDRAW: cbETH, Amount: 146502520116555623
BORROW: cbETH, Amount 293005040233111248
REPAY: cbETH, Amount: 293005040233111248
E2E: Collateral WETH, TestAsset USDT
SUPPLY: WETH, Amount: 31560712246743014949
SUPPLY: USDT, Amount: 999863378
WITHDRAW: USDT, Amount: 499931689
WITHDRAW: USDT, Amount: 499931688
BORROW: USDT, Amount 999863378
REPAY: USDT, Amount: 999863378
E2E: Collateral WETH, TestAsset rETH
SUPPLY: WETH, Amount: 31560712246743014949
SUPPLY: rETH, Amount: 283820943028476448
WITHDRAW: rETH, Amount: 141910471514238224
WITHDRAW: rETH, Amount: 141910471514238225
BORROW: rETH, Amount 283820943028476448
REPAY: rETH, Amount: 283820943028476448
E2E: Collateral WETH, TestAsset LUSD
SUPPLY: WETH, Amount: 31560712246743014949
SUPPLY: LUSD, Amount: 1002784270638799452231
WITHDRAW: LUSD, Amount: 501392135319399726115
WITHDRAW: LUSD, Amount: 501392135319399726115
BORROW: LUSD, Amount 1002784270638799452231
REPAY: LUSD, Amount: 1002784270638799452231
E2E: Collateral WETH, TestAsset CRV
SUPPLY: WETH, Amount: 31560712246743014949
SUPPLY: CRV, Amount: 3904724716907458024209
WITHDRAW: CRV, Amount: 1952362358453729012104
WITHDRAW: CRV, Amount: 1952362358453729012105
Skip Borrowing: CRV, borrow cap fully utilized
E2E: Collateral WETH, TestAsset MKR
SUPPLY: WETH, Amount: 31560712246743014949
SUPPLY: MKR, Amount: 376117295851000053
WITHDRAW: MKR, Amount: 188058647925500026
WITHDRAW: MKR, Amount: 188058647925500026
BORROW: MKR, Amount 376117295851000053
REPAY: MKR, Amount: 376117295851000053
E2E: Collateral WETH, TestAsset SNX
SUPPLY: WETH, Amount: 31560712246743014949
SUPPLY: SNX, Amount: 608444169500693130471
WITHDRAW: SNX, Amount: 304222084750346565235
WITHDRAW: SNX, Amount: 304222084750346565236
BORROW: SNX, Amount 608444169500693130471
REPAY: SNX, Amount: 608444169500693130471
E2E: Collateral WETH, TestAsset BAL
SUPPLY: WETH, Amount: 31560712246743014949
SUPPLY: BAL, Amount: 400753416422875005009
WITHDRAW: BAL, Amount: 200376708211437502504
WITHDRAW: BAL, Amount: 200376708211437502504
BORROW: BAL, Amount 400753416422875005009
REPAY: BAL, Amount: 400753416422875005009
E2E: Collateral WETH, TestAsset UNI
SUPPLY: WETH, Amount: 31560712246743014949
SUPPLY: UNI, Amount: 139138178124695635235
WITHDRAW: UNI, Amount: 69569089062347817617
WITHDRAW: UNI, Amount: 69569089062347817619 |
LucasWongC
pushed a commit
to LucasWongC/aave-helpers
that referenced
this pull request
Oct 25, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.