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

Replace REP price feed on Aave v1 #13

Merged
merged 12 commits into from
Nov 3, 2023
Merged

Replace REP price feed on Aave v1 #13

merged 12 commits into from
Nov 3, 2023

Conversation

rustboyar
Copy link
Contributor

No description provided.

Copy link

github-actions bot commented Oct 31, 2023

Foundry report

forge 0.2.0 (1c7bf46 2023-11-03T13:18:09.461974462Z)
Build log
Compiling 122 files with 0.8.19
Solc 0.8.19 finished in 18.75s
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       |
| AaveV1Ethereum_FixedREPPriceFeed_20231031         | 0.706     | 23.87       |
| 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/20231031_AaveV1Ethereum_FixedREPPriceFeed/AaveV1Ethereum_FixedREPPriceFeed_20231031.t.sol:AaveV1Ethereum_FixedREPPriceFeed_20231031_Test
[PASS] test_proposalExecution() (gas: 93062)
Test result: ok. 1 passed; 0 failed; 0 skipped; finished in 1.31s
 
Ran 1 test suites: 1 tests passed, 0 failed, 0 skipped (1 total tests)

…dOnAAVEV1.md

Co-authored-by: Ernesto Boado <ebdmrr@gmail.com>
@rustboyar rustboyar merged commit 4939986 into main Nov 3, 2023
2 checks passed
@sakulstra sakulstra deleted the rep-price-feed branch November 6, 2023 22:19
brotherlymite pushed a commit that referenced this pull request Jun 14, 2024
* Add proposal for Gho Incident Report 20231113 (#1)

* chore: add payload and deploy script for update of GHO variable debt token

* forge install: gho-core

* chore: add gho-core to dependency

* test: Add tests for update of gho variable token

* test: Add tests for update of gho variable token

* fix: add modifier in method of interface

* fix: remove gho dependency from repo and fix test

* fix: Remove unnecesary dependency

* fix: Add latest details

---------

Co-authored-by: miguelmtzinf <miguelmtz.mail@gmail.com>

* fix: Make new impl constant (#3)

* fix: Amend AIP text (#4)

* fix: Make new impl constant

* fix: Fix AIP text

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

* fix: lint issue (#6)

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

* fix: Add payload address (#8)

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

* fix: Remove unneeded diff file (#10)

* feat: Add AIP code

* fix: Fix AIP docs and imports

* fix: Remove unnecesary test

* fix: Updates risk params

* test: Add ccip e2e tests

* fix: Fix Arbitrum payload max bytecode size exceeded

* feat: Add sophisticated defensive aave seed (#13)

* feat: Add sophhisticated defensive aave seed

* fix: Allows AaveDefensive contract remove itself as facilitator

* fix: Add docs and reduce bytecode size

* fix: Reduce Utils lib bytecode size

* fix: Fix error in Utils

* fix: Add Capped gho usd price oracle

* fix: Add AIP draft text

* fix: Update block number for tests

* fix: Remove unneeded files

* fix: Install latest version of gho and ccip repos

* fix: Remove unused helper function

* fix: Fix AIP text

* fix: Remove defensive and use create2

* fix: Add fixed price oracle

* fix: Remove unnecessary memory variables

* fix: Use create1 and move listing out

* fix: Remove listing aip

---------

Co-authored-by: Parth Patel <parth4321patel@gmail.com>
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.

4 participants