Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chaos Labs LT Reduction Aave V2 Ethereum #11

Merged

Conversation

yonikesel
Copy link
Contributor

@github-actions
Copy link

github-actions bot commented Oct 31, 2023

Foundry report

forge 0.2.0 (09fe3e0 2023-11-02T00:21:11.736779974Z)
Build log
Compiling 119 files with 0.8.19
Solc 0.8.19 finished in 31.29s
Compiler run successful with warnings:
Warning (5667): Unused function parameter. Remove or comment out the variable name to silence this warning.
   --> lib/aave-helpers/src/GovV3Helpers.sol:734:5:
    |
734 |     address votingPortal
    |     ^^^^^^^^^^^^^^^^^^^^

| Contract                                          | Size (kB) | Margin (kB) |
|---------------------------------------------------|-----------|-------------|
| AaveGovernanceV2                                  | 0.086     | 24.49       |
| AaveV2Avalanche                                   | 0.086     | 24.49       |
| AaveV2AvalancheAssets                             | 0.086     | 24.49       |
| AaveV2Ethereum                                    | 0.086     | 24.49       |
| AaveV2EthereumAMM                                 | 0.086     | 24.49       |
| AaveV2EthereumAMMAssets                           | 0.086     | 24.49       |
| AaveV2EthereumAssets                              | 0.086     | 24.49       |
| AaveV2Ethereum_AaveV2EthereumLTReduction_20231030 | 3.023     | 21.553      |
| 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       |
| AaveV3Avalanche                                   | 0.086     | 24.49       |
| AaveV3AvalancheAssets                             | 0.086     | 24.49       |
| AaveV3AvalancheEModes                             | 0.086     | 24.49       |
| AaveV3Ethereum                                    | 0.086     | 24.49       |
| AaveV3EthereumAssets                              | 0.086     | 24.49       |
| AaveV3EthereumEModes                              | 0.086     | 24.49       |
| AaveV3Ethereum_ACIPhaseII_20231029                | 0.682     | 23.894      |
| AaveV3Fantom                                      | 0.086     | 24.49       |
| AaveV3FantomAssets                                | 0.086     | 24.49       |
| AaveV3FantomEModes                                | 0.086     | 24.49       |
| AaveV3Gnosis                                      | 0.086     | 24.49       |
| AaveV3GnosisAssets                                | 0.086     | 24.49       |
| AaveV3GnosisEModes                                | 0.086     | 24.49       |
| AaveV3Gnosis_AaveV3GnosisActivation_20231026      | 8.802     | 15.774      |
| AaveV3Harmony                                     | 0.086     | 24.49       |
| AaveV3HarmonyAssets                               | 0.086     | 24.49       |
| AaveV3HarmonyEModes                               | 0.086     | 24.49       |
| AaveV3Optimism                                    | 0.086     | 24.49       |
| AaveV3OptimismAssets                              | 0.086     | 24.49       |
| AaveV3OptimismEModes                              | 0.086     | 24.49       |
| AaveV3Polygon                                     | 0.086     | 24.49       |
| AaveV3PolygonAssets                               | 0.086     | 24.49       |
| AaveV3PolygonEModes                               | 0.086     | 24.49       |
| Address                                           | 0.086     | 24.49       |
| ChainHelpers                                      | 0.086     | 24.49       |
| ChainIds                                          | 0.086     | 24.49       |
| ConfiguratorInputTypes                            | 0.086     | 24.49       |
| Create2Utils                                      | 0.164     | 24.412      |
| DataTypes                                         | 0.086     | 24.49       |
| EngineFlags                                       | 0.086     | 24.49       |
| Errors                                            | 4.714     | 19.862      |
| GovHelpers                                        | 0.086     | 24.49       |
| GovV3Helpers                                      | 0.086     | 24.49       |
| 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       |
| GovernanceV3Gnosis                                | 0.086     | 24.49       |
| GovernanceV3Metis                                 | 0.086     | 24.49       |
| GovernanceV3Optimism                              | 0.086     | 24.49       |
| GovernanceV3Polygon                               | 0.086     | 24.49       |
| IpfsUtils                                         | 0.086     | 24.49       |
| MiscEthereum                                      | 0.086     | 24.49       |
| MockExecutor                                      | 0.437     | 24.139      |
| PayloadsControllerUtils                           | 0.086     | 24.49       |
| ProxyHelpers                                      | 0.086     | 24.49       |
| ReserveConfiguration                              | 0.171     | 24.405      |
| SafeERC20                                         | 0.086     | 24.49       |
| StdStyle                                          | 0.086     | 24.49       |
| StorageHelpers                                    | 0.086     | 24.49       |
| 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 src/20231030_AaveV2Ethereum_AaveV2EthereumLTReduction/AaveV2Ethereum_AaveV2EthereumLTReduction_20231030.t.sol:AaveV2Ethereum_AaveV2EthereumLTReduction_20231030_Test
[PASS] testProposalExecution() (gas: 210453275)
Logs:
  E2E: Collateral AAVE, TestAsset USDT
  SUPPLY: AAVE, Amount: 2174651894914425734052
  SUPPLY: USDT, Amount: 1815720000
  WITHDRAW: USDT, Amount: 907860000
  WITHDRAW: USDT, Amount: 907859999
  BORROW: USDT, Amount 1815720000, Stable: false
  REPAY: USDT, Amount: 1815720000
  BORROW: USDT, Amount 1815720000, Stable: true
  REPAY: USDT, Amount: 1815720000
  E2E: Collateral AAVE, TestAsset WBTC
  SUPPLY: AAVE, Amount: 2174651894914425734052
  SUPPLY: WBTC, Amount: 5221003
  WITHDRAW: WBTC, Amount: 2610501
  WITHDRAW: WBTC, Amount: 2610502
  BORROW: WBTC, Amount 5221003, Stable: false
  REPAY: WBTC, Amount: 5221003
  BORROW: WBTC, Amount 5221003, Stable: true
  REPAY: WBTC, Amount: 5221003
  E2E: Collateral AAVE, TestAsset WETH
  SUPPLY: AAVE, Amount: 2174651894914425734052
  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: 2174651894914425734052
  SUPPLY: AAVE, Amount: 21746518949144257340
  WITHDRAW: AAVE, Amount: 10873259474572128670
  WITHDRAW: AAVE, Amount: 10873259474572128670
  E2E: Collateral AAVE, TestAsset DAI
  SUPPLY: AAVE, Amount: 2174651894914425734052
  SUPPLY: DAI, Amount: 1815637780060063012613
  WITHDRAW: DAI, Amount: 907818890030031506306
  WITHDRAW: DAI, Amount: 907818890030031506307
  BORROW: DAI, Amount 1815637780060063012613, Stable: false
  REPAY: DAI, Amount: 1815637780060063012613
  E2E: Collateral AAVE, TestAsset sUSD
  SUPPLY: AAVE, Amount: 2174651894914425734052
  SUPPLY: sUSD, Amount: 1827547460542430365811
  WITHDRAW: sUSD, Amount: 913773730271215182905
  WITHDRAW: sUSD, Amount: 913773730271215182906
  BORROW: sUSD, Amount 1827547460542430365811, Stable: false
  REPAY: sUSD, Amount: 1827547460542430365811
  E2E: Collateral AAVE, TestAsset USDC
  SUPPLY: AAVE, Amount: 2174651894914425734052
  SUPPLY: USDC, Amount: 1810506072
  WITHDRAW: USDC, Amount: 905253036
  WITHDRAW: USDC, Amount: 905253035
  BORROW: USDC, Amount 1810506072, Stable: false
  REPAY: USDC, Amount: 1810506072
  BORROW: USDC, Amount 1810506072, Stable: true
  REPAY: USDC, Amount: 1810506072
  E2E: Collateral AAVE, TestAsset GUSD
  SUPPLY: AAVE, Amount: 2174651894914425734052
  SUPPLY: GUSD, Amount: 181858
  WITHDRAW: GUSD, Amount: 90929
  WITHDRAW: GUSD, Amount: 90928
  BORROW: GUSD, Amount 181858, Stable: false
  REPAY: GUSD, Amount: 181858
  E2E: Collateral AAVE, TestAsset USDP
  SUPPLY: AAVE, Amount: 2174651894914425734052
  SUPPLY: USDP, Amount: 1826150273897615478363
  WITHDRAW: USDP, Amount: 913075136948807739181
  WITHDRAW: USDP, Amount: 913075136948807739181
  BORROW: USDP, Amount 1826150273897615478363, Stable: false
  REPAY: USDP, Amount: 1826150273897615478363
  E2E: Collateral AAVE, TestAsset FRAX
  SUPPLY: AAVE, Amount: 2174651894914425734052
  SUPPLY: FRAX, Amount: 1817733179406292682364
  WITHDRAW: FRAX, Amount: 908866589703146341182
  WITHDRAW: FRAX, Amount: 908866589703146341183
  BORROW: FRAX, Amount 1817733179406292682364, Stable: false
  REPAY: FRAX, Amount: 1817733179406292682364
  E2E: Collateral AAVE, TestAsset stETH
  SUPPLY: AAVE, Amount: 2174651894914425734052
  SUPPLY: stETH, Amount: 1000000000000000000
  WITHDRAW: stETH, Amount: 500000000000000000
  WITHDRAW: stETH, Amount: 499999999999999999
  E2E: Collateral AAVE, TestAsset LUSD
  SUPPLY: AAVE, Amount: 2174651894914425734052
  SUPPLY: LUSD, Amount: 1826438109430943240915
  WITHDRAW: LUSD, Amount: 913219054715471620457
  WITHDRAW: LUSD, Amount: 913219054715471620458
  BORROW: LUSD, Amount 1826438109430943240915, Stable: false
  REPAY: LUSD, Amount: 1826438109430943240915
  BORROW: LUSD, Amount 1826438109430943240915, Stable: true
  REPAY: LUSD, Amount: 1826438109430943240915

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

@Zer0dot
Copy link
Contributor

Zer0dot commented Nov 2, 2023

Hi please be sure to pull from main and forge install in order to use updated dependencies. (It's likely you already have them updated, but worth double checking)

@Zer0dot Zer0dot merged commit a0090d1 into bgd-labs:main Nov 3, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants