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

AIP: Events and Sponsorships Grant 2024 #384

Merged
merged 38 commits into from
Jul 29, 2024
Merged

Conversation

CheyenneAtapour
Copy link
Contributor

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

* forge install: gho-core

* chore: add gho-core to dependency

* test: Add tests for update of gho variable token

* test: Add tests for update of gho variable token

* fix: add modifier in method of interface

* fix: remove gho dependency from repo and fix test

* fix: Remove unnecesary dependency

* fix: Add latest details

---------

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

* fix: Fix AIP text
lib/aave-helpers Outdated Show resolved Hide resolved
@CheyenneAtapour CheyenneAtapour marked this pull request as ready for review July 29, 2024 15:40
Copy link

Foundry report

forge 0.2.0 (6822860 2024-07-29T00:20:30.057117769Z)
Build log
Compiling 150 files with Solc 0.8.19
Solc 0.8.19 finished in 23.41s
Compiler run successful with warnings:
Warning (2072): Unused local variable.
  --> src/20240603_Multi_MayFundingUpdate/AaveV3Arbitrum_MayFundingUpdate_20240603.t.sol:48:5:
   |
48 |     uint256 collectorUsdcBalanceBefore = IERC20(AaveV3ArbitrumAssets.USDC_UNDERLYING).balanceOf(
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Warning (2072): Unused local variable.
  --> src/20240603_Multi_MayFundingUpdate/AaveV3Arbitrum_MayFundingUpdate_20240603.t.sol:51:5:
   |
51 |     uint256 collectorAusdcBalanceBefore = IERC20(AaveV3ArbitrumAssets.USDC_A_TOKEN).balanceOf(
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Warning (2072): Unused local variable.
  --> src/20240603_Multi_MayFundingUpdate/AaveV3Optimism_MayFundingUpdate_20240603.t.sol:41:5:
   |
41 |     uint256 collectorUsdcBalanceBefore = IERC20(AaveV3OptimismAssets.USDC_UNDERLYING).balanceOf(
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Warning (2072): Unused local variable.
  --> src/20240603_Multi_MayFundingUpdate/AaveV3Optimism_MayFundingUpdate_20240603.t.sol:44:5:
   |
44 |     uint256 collectorAusdcBalanceBefore = IERC20(AaveV3OptimismAssets.USDC_A_TOKEN).balanceOf(
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

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

| Contract                                                   | Size (B) | Margin (B) |
|------------------------------------------------------------|----------|------------|
| AaveGovernanceV2                                           |       45 |     24,531 |
| AaveSwapper                                                |    5,572 |     19,004 |
| AaveV2Avalanche                                            |       45 |     24,531 |
| AaveV2AvalancheAssets                                      |       45 |     24,531 |
| AaveV2Ethereum                                             |       45 |     24,531 |
| AaveV2EthereumAMM                                          |       45 |     24,531 |
| AaveV2EthereumAMMAssets                                    |       45 |     24,531 |
| AaveV2EthereumAssets                                       |       45 |     24,531 |
| AaveV2Polygon                                              |       45 |     24,531 |
| AaveV2PolygonAssets                                        |       45 |     24,531 |
| AaveV3Arbitrum                                             |       45 |     24,531 |
| AaveV3ArbitrumAssets                                       |       45 |     24,531 |
| AaveV3ArbitrumEModes                                       |       45 |     24,531 |
| AaveV3Arbitrum_MayFundingUpdate_20240603                   |    1,271 |     23,305 |
| AaveV3Avalanche                                            |       45 |     24,531 |
| AaveV3AvalancheAssets                                      |       45 |     24,531 |
| AaveV3AvalancheEModes                                      |       45 |     24,531 |
| AaveV3Base                                                 |       45 |     24,531 |
| AaveV3BaseAssets                                           |       45 |     24,531 |
| AaveV3BaseEModes                                           |       45 |     24,531 |
| AaveV3Ethereum                                             |       45 |     24,531 |
| AaveV3EthereumAssets                                       |       45 |     24,531 |
| AaveV3EthereumEModes                                       |       45 |     24,531 |
| AaveV3EthereumLido                                         |       45 |     24,531 |
| AaveV3EthereumLidoAssets                                   |       45 |     24,531 |
| AaveV3EthereumLidoEModes                                   |       45 |     24,531 |
| AaveV3EthereumLido_LidoEthereumInstanceActivation_20240720 |    6,780 |     17,796 |
| AaveV3Ethereum_EventsGrant2024_20240718                    |      344 |     24,232 |
| AaveV3Ethereum_MayFundingUpdate_20240603                   |    9,444 |     15,132 |
| AaveV3Ethereum_ToolingUpdateAllowance_20240707             |      344 |     24,232 |
| AaveV3Gnosis                                               |       45 |     24,531 |
| AaveV3GnosisAssets                                         |       45 |     24,531 |
| AaveV3GnosisEModes                                         |       45 |     24,531 |
| AaveV3Optimism                                             |       45 |     24,531 |
| AaveV3OptimismAssets                                       |       45 |     24,531 |
| AaveV3OptimismEModes                                       |       45 |     24,531 |
| AaveV3Optimism_MayFundingUpdate_20240603                   |    1,207 |     23,369 |
| AaveV3Polygon                                              |       45 |     24,531 |
| AaveV3PolygonAssets                                        |       45 |     24,531 |
| AaveV3PolygonEModes                                        |       45 |     24,531 |
| AaveV3Polygon_MayFundingUpdate_20240603                    |    4,900 |     19,676 |
| Address                                                    |       45 |     24,531 |
| ChainHelpers                                               |       45 |     24,531 |
| ChainIds                                                   |       45 |     24,531 |
| ConfiguratorInputTypes                                     |       45 |     24,531 |
| Create2Utils                                               |      123 |     24,453 |
| DataTypes                                                  |       45 |     24,531 |
| EngineFlags                                                |       45 |     24,531 |
| Errors                                                     |    4,673 |     19,903 |
| GatewayMock                                                |      251 |     24,325 |
| GovV3Helpers                                               |    2,581 |     21,995 |
| GovV3StorageHelpers                                        |       45 |     24,531 |
| GovernanceV3Arbitrum                                       |       45 |     24,531 |
| GovernanceV3Avalanche                                      |       45 |     24,531 |
| GovernanceV3BNB                                            |       45 |     24,531 |
| GovernanceV3Base                                           |       45 |     24,531 |
| GovernanceV3Ethereum                                       |       45 |     24,531 |
| GovernanceV3Gnosis                                         |       45 |     24,531 |
| GovernanceV3Metis                                          |       45 |     24,531 |
| GovernanceV3Optimism                                       |       45 |     24,531 |
| GovernanceV3Polygon                                        |       45 |     24,531 |
| GovernanceV3PolygonZkEvm                                   |       45 |     24,531 |
| GovernanceV3Scroll                                         |       45 |     24,531 |
| IpfsUtils                                                  |       45 |     24,531 |
| MiscEthereum                                               |       45 |     24,531 |
| MiscPolygon                                                |       45 |     24,531 |
| PayloadsControllerUtils                                    |       45 |     24,531 |
| ProxyHelpers                                               |       45 |     24,531 |
| ReserveConfiguration                                       |      130 |     24,446 |
| RewardsDataTypes                                           |       45 |     24,531 |
| SafeERC20                                                  |       45 |     24,531 |
| StorageHelpers                                             |       45 |     24,531 |
| TestNetChainIds                                            |       45 |     24,531 |
| WadRayMath                                                 |       45 |     24,531 |
Test error :finnadie:
No files changed, compilation skipped
2024-07-29T16:00:04.207928Z ERROR sharedbackend: Failed to send/recv `storage` err=failed to get storage for 0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0 at 4: Max retries exceeded HTTP error 429 with body: error code: 1015 address=0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0 index=4

Ran 2 tests for src/20240718_AaveV3Ethereum_EventsGrant2024/AaveV3Ethereum_EventsGrant2024_20240718.t.sol:AaveV3Ethereum_EventsGrant2024_20240718_Test
[PASS] testProposalExecution() (gas: 108998)
[FAIL. Reason: backend: failed while inspecting] test_defaultProposalExecution() (gas: 0)
Suite result: FAILED. 1 passed; 1 failed; 0 skipped; finished in 11.60s (13.26s CPU time)

Ran 1 test suite in 11.61s (11.60s CPU time): 1 tests passed, 1 failed, 0 skipped (2 total tests)

Failing tests:
Encountered 1 failing test in src/20240718_AaveV3Ethereum_EventsGrant2024/AaveV3Ethereum_EventsGrant2024_20240718.t.sol:AaveV3Ethereum_EventsGrant2024_20240718_Test
[FAIL. Reason: backend: failed while inspecting] test_defaultProposalExecution() (gas: 0)

Encountered a total of 1 failing tests, 1 tests succeeded

@sendra sendra merged commit ba24358 into bgd-labs:main Jul 29, 2024
3 of 4 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.

5 participants