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

Feat/ccip update templating #255

Merged
merged 23 commits into from
Mar 18, 2024
Merged

Conversation

sendra
Copy link
Contributor

@sendra sendra commented Mar 17, 2024

No description provided.

Copy link

github-actions bot commented Mar 17, 2024

Foundry report

forge 0.2.0 (42a9d34 2024-03-18T00:19:07.645071938Z)
Build log
Compiling 430 files with 0.8.19
Solc 0.8.19 finished in 250.96s
Compiler run successful with warnings:
Warning (3628): This contract has a payable fallback function, but no receive ether function. Consider adding a receive ether function.
  --> src/20240218_AaveV1Ethereum_AaveV1DeprecationPhase2/AaveV1Ethereum_AaveV1Deprecation_20240218.t.sol:86:1:
   |
86 | contract AaveV1Ethereum_AaveV1Deprecation_20240218_Test is ProtocolV2TestBase {
   | ^ (Relevant source part starts here and spans across multiple lines).
Note: The payable fallback function is defined here.
   --> src/20240218_AaveV1Ethereum_AaveV1DeprecationPhase2/AaveV1Ethereum_AaveV1Deprecation_20240218.t.sol:232:3:
    |
232 |   fallback() external payable {}
    |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Warning (9302): Return value of low-level calls not used.
  --> src/20231229_Multi_TreasuryManagementGSMFundingRWAStrategyPreparationsPart1/AaveV2Ethereum_TreasuryManagementGSMFundingRWAStrategyPreparationsPart1_20231229.sol:47:5:
   |
47 |     SAFE.call{value: address(this).balance}('');
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

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

Warning (2018): Function state mutability can be restricted to pure
  --> src/20240104_Multi_Patch/Patch_20240104.s.sol:32:3:
   |
32 |   function _getPayload() internal override returns (bytes memory) {
   |   ^ (Relevant source part starts here and spans across multiple lines).

Warning (2018): Function state mutability can be restricted to pure
  --> src/20240104_Multi_Patch/Patch_20240104.s.sol:43:3:
   |
43 |   function _getPayload() internal override returns (bytes memory) {
   |   ^ (Relevant source part starts here and spans across multiple lines).

Warning (2018): Function state mutability can be restricted to pure
  --> src/20240104_Multi_Patch/Patch_20240104.s.sol:54:3:
   |
54 |   function _getPayload() internal override returns (bytes memory) {
   |   ^ (Relevant source part starts here and spans across multiple lines).

Warning (2018): Function state mutability can be restricted to pure
  --> src/20240104_Multi_Patch/Patch_20240104.s.sol:65:3:
   |
65 |   function _getPayload() internal override returns (bytes memory) {
   |   ^ (Relevant source part starts here and spans across multiple lines).

Warning (2018): Function state mutability can be restricted to pure
  --> src/20240104_Multi_Patch/Patch_20240104.s.sol:76:3:
   |
76 |   function _getPayload() internal override returns (bytes memory) {
   |   ^ (Relevant source part starts here and spans across multiple lines).

Warning (2018): Function state mutability can be restricted to pure
  --> src/20240104_Multi_Patch/Patch_20240104.s.sol:87:3:
   |
87 |   function _getPayload() internal override returns (bytes memory) {
   |   ^ (Relevant source part starts here and spans across multiple lines).

Warning (2018): Function state mutability can be restricted to pure
  --> src/20240104_Multi_Patch/Patch_20240104.s.sol:98:3:
   |
98 |   function _getPayload() internal override returns (bytes memory) {
   |   ^ (Relevant source part starts here and spans across multiple lines).

Warning (2018): Function state mutability can be restricted to pure
   --> src/20240218_AaveV1Ethereum_AaveV1DeprecationPhase2/AaveV1Ethereum_AaveV1Deprecation_20240218.t.sol:207:3:
    |
207 |   function _getUsers() internal returns (V1User[] memory) {
    |   ^ (Relevant source part starts here and spans across multiple lines).

Warning (2018): Function state mutability can be restricted to pure
  --> src/20240308_AaveV3Ethereum_GHOBorrowRateIncrease/GhoInterestRateStrategy.sol:67:3:
   |
67 |   function getBaseVariableBorrowRate() external view override returns (uint256) {
   |   ^ (Relevant source part starts here and spans across multiple lines).

Warning (2018): Function state mutability can be restricted to pure
  --> src/20240308_AaveV3Ethereum_GHOBorrowRateIncrease/GhoInterestRateStrategy.sol:72:3:
   |
72 |   function getMaxVariableBorrowRate() external view override returns (uint256) {
   |   ^ (Relevant source part starts here and spans across multiple lines).

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

Warning (2018): Function state mutability can be restricted to pure
  --> src/20240313_Multi_UpdateADIImplementationAndCCIPAdapters/BaseTest.sol:91:3:
   |
91 |   function getTrustedRemoteByChainId(uint256 chainId) public view returns (address) {
   |   ^ (Relevant source part starts here and spans across multiple lines).

Warning (2018): Function state mutability can be restricted to view
   --> src/20240313_Multi_UpdateADIImplementationAndCCIPAdapters/BaseTest.sol:316:3:
    |
316 |   function _getCurrentForwarderAdaptersByChain() internal returns (ForwarderAdapters[] memory) {
    |   ^ (Relevant source part starts here and spans across multiple lines).

Warning (2018): Function state mutability can be restricted to view
   --> src/20240313_Multi_UpdateADIImplementationAndCCIPAdapters/BaseTest.sol:341:3:
    |
341 |   function _getCurrentReceiverAdaptersByChain() internal returns (AdaptersByChain[] memory) {
    |   ^ (Relevant source part starts here and spans across multiple lines).

| Contract                                                                                                 | Size (kB) | Margin (kB) |
|----------------------------------------------------------------------------------------------------------|-----------|-------------|
| AaveGovernanceV2                                                                                         | 0.086     | 24.49       |
| AaveSafetyModule                                                                                         | 0.086     | 24.49       |
| AaveSwapper                                                                                              | 5.613     | 18.963      |
| AaveV1Ethereum_AaveV1Deprecation_20240218                                                                | 0.338     | 24.238      |
| AaveV2Avalanche                                                                                          | 0.086     | 24.49       |
| AaveV2AvalancheAssets                                                                                    | 0.086     | 24.49       |
| AaveV2Avalanche_ChaosLabsRiskParameterUpdatesWBTCEOnV2AndV3Avalanche_20231221                            | 0.377     | 24.199      |
| AaveV2Avalanche_StablecoinIRCurvesUpdates_20231221                                                       | 1.899     | 22.677      |
| AaveV2Ethereum                                                                                           | 0.086     | 24.49       |
| AaveV2EthereumAMM                                                                                        | 0.086     | 24.49       |
| AaveV2EthereumAMMAssets                                                                                  | 0.086     | 24.49       |
| AaveV2EthereumAMM_ARFCDeprecateAaveV2AMMMarketStep2_20240205                                             | 2.935     | 21.641      |
| AaveV2EthereumAssets                                                                                     | 0.086     | 24.49       |
| AaveV2Ethereum_AMPLInterestRateUpdatesOnV2Ethereum_20240121                                              | 1.643     | 22.933      |
| AaveV2Ethereum_ChaosLabsV2EthereumLTReductions_20240201                                                  | 0.967     | 23.609      |
| AaveV2Ethereum_EthereumV2ReserveFactorAdjustment_20240304                                                | 4.945     | 19.631      |
| AaveV2Ethereum_MigrationOfRemainingGovV2Permissions_20240130                                             | 1.018     | 23.558      |
| AaveV2Ethereum_MigrationOfRemainingGovV2Permissions_Part2_20240130                                       | 1.487     | 23.089      |
| AaveV2Ethereum_StablecoinIRCurvesUpdates_20231221                                                        | 2.88      | 21.696      |
| AaveV2Ethereum_TreasuryManagementGSMFundingRWAStrategyPreparationsPart1_20231229                         | 3.456     | 21.12       |
| AaveV2Ethereum_V2DeprecationPlan20240102_20240103                                                        | 0.968     | 23.608      |
| AaveV2Polygon                                                                                            | 0.086     | 24.49       |
| AaveV2PolygonAssets                                                                                      | 0.086     | 24.49       |
| AaveV2Polygon_ReserveFactorUpdatesFebruary152024_20240208                                                | 0.872     | 23.704      |
| AaveV2Polygon_ReserveFactorUpdatesFebruary292024_20240229                                                | 0.724     | 23.852      |
| AaveV2Polygon_ReserveFactorUpdatesJan152024_20240108                                                     | 1.175     | 23.401      |
| AaveV2Polygon_ReserveFactorUpdatesJan312024_20240125                                                     | 0.872     | 23.704      |
| AaveV2Polygon_ReserveFactorUpdates_20240102                                                              | 1.036     | 23.54       |
| AaveV2Polygon_StablecoinIRCurvesUpdates_20231221                                                         | 1.899     | 22.677      |
| AaveV3Arbitrum                                                                                           | 0.086     | 24.49       |
| AaveV3ArbitrumAssets                                                                                     | 0.086     | 24.49       |
| AaveV3ArbitrumEModes                                                                                     | 0.086     | 24.49       |
| AaveV3Arbitrum_AaveProtocolEmbassy_20240220                                                              | 0.476     | 24.1        |
| AaveV3Arbitrum_AddFlashborrowers_20240306                                                                | 0.291     | 24.285      |
| AaveV3Arbitrum_AssignEmissionAdminEthereumArbitrumAndOptimism_20240229                                   | 0.364     | 24.212      |
| AaveV3Arbitrum_HarmonizeUSDTRiskParametersOnAaveV3Markets_20240115                                       | 3.403     | 21.173      |
| AaveV3Arbitrum_Patch_20240104                                                                            | 0.52      | 24.056      |
| AaveV3Arbitrum_SetLiquidityObservationLabsAsEmissionManagerForWstETHOnV3Markets_20240206                 | 0.253     | 24.323      |
| AaveV3Arbitrum_StablecoinIRCurvesUpdates_20231221                                                        | 4.919     | 19.657      |
| AaveV3Arbitrum_UpdateADIImplementationAndCCIPAdapters_20240313                                           | 0.629     | 23.947      |
| AaveV3Arbitrum_UpdateStETHAndWETHRiskParamsOnAaveV3EthereumOptimismAndArbitrum_20240121                  | 3.933     | 20.643      |
| AaveV3Arbitrum_UpdateWETHIROnV3ArbitrumAndOptimism_20240216                                              | 3.663     | 20.913      |
| AaveV3Avalanche                                                                                          | 0.086     | 24.49       |
| AaveV3AvalancheAssets                                                                                    | 0.086     | 24.49       |
| AaveV3AvalancheEModes                                                                                    | 0.086     | 24.49       |
| AaveV3Avalanche_ChaosLabsRiskParameterUpdatesWBTCEOnV2AndV3Avalanche_20231221                            | 3.554     | 21.022      |
| AaveV3Avalanche_HarmonizeUSDTRiskParametersOnAaveV3Markets_20240115                                      | 3.418     | 21.158      |
| AaveV3Avalanche_Patch_20240104                                                                           | 0.52      | 24.056      |
| AaveV3Avalanche_StablecoinIRCurvesUpdates_20231221                                                       | 4.669     | 19.907      |
| AaveV3Avalanche_UpdateADIImplementationAndCCIPAdapters_20240313                                          | 3.333     | 21.243      |
| AaveV3BNB                                                                                                | 0.086     | 24.49       |
| AaveV3BNBAssets                                                                                          | 0.086     | 24.49       |
| AaveV3BNBEModes                                                                                          | 0.086     | 24.49       |
| AaveV3BNB_HarmonizeUSDTRiskParametersOnAaveV3Markets_20240115                                            | 3.421     | 21.155      |
| AaveV3BNB_OnboardFdUSDToAaveV3OnBSC_20240201                                                             | 5.055     | 19.521      |
| AaveV3BNB_SetAaveChanInitiativeAsEmissionManagerForFdUSDOnBNBChainAaveV3_20240208                        | 0.253     | 24.323      |
| AaveV3BNB_UpdateADIImplementationAndCCIPAdapters_20240313                                                | 3.125     | 21.451      |
| AaveV3Base                                                                                               | 0.086     | 24.49       |
| AaveV3BaseAssets                                                                                         | 0.086     | 24.49       |
| AaveV3BaseEModes                                                                                         | 0.086     | 24.49       |
| AaveV3Base_Patch_20240104                                                                                | 0.52      | 24.056      |
| AaveV3Base_SetLiquidityObservationLabsAsEmissionManagerForWstETHOnV3Markets_20240206                     | 0.253     | 24.323      |
| AaveV3Base_StablecoinIRCurvesUpdates_20231221                                                            | 3.659     | 20.917      |
| AaveV3Base_UpdateADIImplementationAndCCIPAdapters_20240313                                               | 0.629     | 23.947      |
| AaveV3Ethereum                                                                                           | 0.086     | 24.49       |
| AaveV3EthereumAssets                                                                                     | 0.086     | 24.49       |
| AaveV3EthereumEModes                                                                                     | 0.086     | 24.49       |
| AaveV3Ethereum_ActivationOfACPrimeFoundation_20240308                                                    | 0.543     | 24.033      |
| AaveV3Ethereum_AddFlashborrowers_20240306                                                                | 1.264     | 23.312      |
| AaveV3Ethereum_AddPYUSDToAaveV3EthereumMarket_20240125                                                   | 5.034     | 19.542      |
| AaveV3Ethereum_AmendSafetyModuleEmissions_20240229                                                       | 2.44      | 22.136      |
| AaveV3Ethereum_AssignEmissionAdminEthereumArbitrumAndOptimism_20240229                                   | 1.008     | 23.568      |
| AaveV3Ethereum_ChaosLabsRiskParameterUpdatesIncreaseDebtCeilingForSNXAndMKROnV3Ethereum01312024_20240211 | 3.574     | 21.002      |
| AaveV3Ethereum_CutGauntletServiceProviderStream_20240227                                                 | 0.52      | 24.056      |
| AaveV3Ethereum_FundingUpdate_20240224                                                                    | 10.581    | 13.995      |
| AaveV3Ethereum_GHOBorrowRateIncrease20240229_20240229                                                    | 0.326     | 24.25       |
| AaveV3Ethereum_GHOBorrowRateIncrease_20240308                                                            | 0.274     | 24.302      |
| AaveV3Ethereum_HarmonizeUSDTRiskParametersOnAaveV3Markets_20240115                                       | 3.417     | 21.159      |
| AaveV3Ethereum_MeritApprovals_20240306                                                                   | 0.575     | 24.001      |
| AaveV3Ethereum_OrbitProgram_20240220                                                                     | 2.349     | 22.227      |
| AaveV3Ethereum_Patch_20240104                                                                            | 0.52      | 24.056      |
| AaveV3Ethereum_RegisterADIScrollAdapter_20240122                                                         | 0.671     | 23.905      |
| AaveV3Ethereum_RequestForBountyPayoutJanuary2024_20240125                                                | 0.822     | 23.754      |
| AaveV3Ethereum_RetroactiveBugBountyPreImmunefi_20240205                                                  | 0.823     | 23.753      |
| AaveV3Ethereum_SecurityBudgetRequestDecember2023_20240206                                                | 0.555     | 24.021      |
| AaveV3Ethereum_SetLiquidityObservationLabsAsEmissionManagerForWstETHOnV3Markets_20240206                 | 0.253     | 24.323      |
| AaveV3Ethereum_StableRateBugBounty_20240207                                                              | 0.809     | 23.767      |
| AaveV3Ethereum_StablecoinIRCurvesUpdates_20231221                                                        | 4.668     | 19.908      |
| AaveV3Ethereum_StkGHOActivation_20240119                                                                 | 1.156     | 23.42       |
| AaveV3Ethereum_TreasuryManagementGSMFundingRWAStrategyPreparationsPart2_20240209                         | 3.139     | 21.437      |
| AaveV3Ethereum_UpdateADIImplementationAndCCIPAdapters_20240313                                           | 3.594     | 20.982      |
| AaveV3Ethereum_UpdateStETHAndWETHRiskParamsOnAaveV3EthereumOptimismAndArbitrum_20240121                  | 3.946     | 20.63       |
| AaveV3Fantom                                                                                             | 0.086     | 24.49       |
| AaveV3FantomAssets                                                                                       | 0.086     | 24.49       |
| AaveV3FantomEModes                                                                                       | 0.086     | 24.49       |
| AaveV3GenericPatch_20240104                                                                              | 0.52      | 24.056      |
| AaveV3Gnosis                                                                                             | 0.086     | 24.49       |
| AaveV3GnosisAssets                                                                                       | 0.086     | 24.49       |
| AaveV3GnosisEModes                                                                                       | 0.086     | 24.49       |
| AaveV3Gnosis_Patch_20240104                                                                              | 0.52      | 24.056      |
| AaveV3Gnosis_StablecoinIRCurvesUpdates_20231221                                                          | 3.911     | 20.665      |
| AaveV3Gnosis_UpdateADIImplementationAndCCIPAdapters_20240313                                             | 0.629     | 23.947      |
| 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       |
| AaveV3Metis_HarmonizeUSDTRiskParametersOnAaveV3Markets_20240115                                          | 3.411     | 21.165      |
| AaveV3Metis_StablecoinIRCurvesUpdates_20231221                                                           | 3.91      | 20.666      |
| AaveV3Metis_UpdateADIImplementationAndCCIPAdapters_20240313                                              | 0.629     | 23.947      |
| AaveV3Optimism                                                                                           | 0.086     | 24.49       |
| AaveV3OptimismAssets                                                                                     | 0.086     | 24.49       |
| AaveV3OptimismEModes                                                                                     | 0.086     | 24.49       |
| AaveV3Optimism_AddFlashborrowers_20240306                                                                | 0.291     | 24.285      |
| AaveV3Optimism_AssignEmissionAdminEthereumArbitrumAndOptimism_20240229                                   | 0.351     | 24.225      |
| AaveV3Optimism_GauntletRecommendationForMAIMIMATICDeprecationPhase2_20240122                             | 3.416     | 21.16       |
| AaveV3Optimism_HarmonizeUSDTRiskParametersOnAaveV3Markets_20240115                                       | 3.403     | 21.173      |
| AaveV3Optimism_Patch_20240104                                                                            | 0.52      | 24.056      |
| AaveV3Optimism_SetLiquidityObservationLabsAsEmissionManagerForWstETHOnV3Markets_20240206                 | 0.253     | 24.323      |
| AaveV3Optimism_StablecoinIRCurvesUpdates_20231221                                                        | 4.919     | 19.657      |
| AaveV3Optimism_UpdateADIImplementationAndCCIPAdapters_20240313                                           | 0.629     | 23.947      |
| AaveV3Optimism_UpdateStETHAndWETHRiskParamsOnAaveV3EthereumOptimismAndArbitrum_20240121                  | 3.933     | 20.643      |
| AaveV3Optimism_UpdateWETHIROnV3ArbitrumAndOptimism_20240216                                              | 3.65      | 20.926      |
| AaveV3Polygon                                                                                            | 0.086     | 24.49       |
| AaveV3PolygonAssets                                                                                      | 0.086     | 24.49       |
| AaveV3PolygonEModes                                                                                      | 0.086     | 24.49       |
| AaveV3Polygon_FreezeAndSetLTVTo0ForDPIBALCRVAndSUSHIOnAaveV3Polygon20240119_20240130                     | 4.396     | 20.18       |
| AaveV3Polygon_FundingUpdate_20240224                                                                     | 2.943     | 21.633      |
| AaveV3Polygon_HarmonizeUSDTRiskParametersOnAaveV3Markets_20240115                                        | 3.402     | 21.174      |
| AaveV3Polygon_MaticXSupplyCapIncreaseInPolygonV3_20240206                                                | 3.335     | 21.241      |
| AaveV3Polygon_Patch_20240104                                                                             | 0.52      | 24.056      |
| AaveV3Polygon_SetLiquidityObservationLabsAsEmissionManagerForWstETHOnV3Markets_20240206                  | 0.253     | 24.323      |
| AaveV3Polygon_StablecoinIRCurvesUpdates_20231221                                                         | 4.416     | 20.16       |
| AaveV3Polygon_TreasuryManagementGSMFundingRWAStrategyPreparationsPart1_20231229                          | 3.459     | 21.117      |
| AaveV3Polygon_UpdateADIImplementationAndCCIPAdapters_20240313                                            | 3.333     | 21.243      |
| AaveV3Scroll                                                                                             | 0.086     | 24.49       |
| AaveV3ScrollAssets                                                                                       | 0.086     | 24.49       |
| AaveV3ScrollEModes                                                                                       | 0.086     | 24.49       |
| AaveV3Scroll_AaveV3ScrollActivation_20240122                                                             | 6.641     | 17.935      |
| AaveV3Scroll_UpdateADIImplementationAndCCIPAdapters_20240313                                             | 0.629     | 23.947      |
| Address                                                                                                  | 0.086     | 24.49       |
| BaseCCCImplementationUpdatePayload                                                                       | 0.629     | 23.947      |
| 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       |
| ERC1967Proxy                                                                                             | 0.177     | 24.399      |
| EngineFlags                                                                                              | 0.086     | 24.49       |
| EnumerableSet                                                                                            | 0.086     | 24.49       |
| EnvelopeUtils                                                                                            | 0.086     | 24.49       |
| Errors                                                                                                   | 4.714     | 19.862      |
| GhoInterestRateStrategy                                                                                  | 0.712     | 23.864      |
| Gho_GHOStabilityModule_20240119                                                                          | 4.535     | 20.041      |
| 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       |
| GovernanceV3Gnosis                                                                                       | 0.086     | 24.49       |
| GovernanceV3Metis                                                                                        | 0.086     | 24.49       |
| GovernanceV3Optimism                                                                                     | 0.086     | 24.49       |
| GovernanceV3Polygon                                                                                      | 0.086     | 24.49       |
| GovernanceV3PolygonZkEvm                                                                                 | 0.086     | 24.49       |
| GovernanceV3Scroll                                                                                       | 0.086     | 24.49       |
| IpfsUtils                                                                                                | 0.086     | 24.49       |
| MainnetPayload                                                                                           | 2.624     | 21.952      |
| 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       |
| MiscGnosis                                                                                               | 0.086     | 24.49       |
| MiscMetis                                                                                                | 0.086     | 24.49       |
| MiscOptimism                                                                                             | 0.086     | 24.49       |
| MiscPolygon                                                                                              | 0.086     | 24.49       |
| MiscScroll                                                                                               | 0.086     | 24.49       |
| MockERC20                                                                                                | 3.701     | 20.875      |
| MockERC721                                                                                               | 3.962     | 20.614      |
| MockExecutor                                                                                             | 0.437     | 24.139      |
| OrbitProgramData                                                                                         | 0.529     | 24.047      |
| ParaswapClaim                                                                                            | 0.063     | 24.513      |
| ParaswapClaimer                                                                                          | 0.2       | 24.376      |
| Payloads                                                                                                 | 0.525     | 24.051      |
| PayloadsControllerUtils                                                                                  | 0.086     | 24.49       |
| PayloadsToDeploy                                                                                         | 0.086     | 24.49       |
| PolygonPayload                                                                                           | 1.634     | 22.942      |
| PoolAddresses                                                                                            | 0.357     | 24.219      |
| ProxyAdmin                                                                                               | 1.683     | 22.893      |
| ProxyHelpers                                                                                             | 0.086     | 24.49       |
| ReserveConfiguration                                                                                     | 0.171     | 24.405      |
| RewardsDataTypes                                                                                         | 0.086     | 24.49       |
| SafeERC20                                                                                                | 0.086     | 24.49       |
| StdStyle                                                                                                 | 0.086     | 24.49       |
| StorageHelpers                                                                                           | 0.086     | 24.49       |
| StorageSlot                                                                                              | 0.086     | 24.49       |
| TransactionUtils                                                                                         | 0.086     | 24.49       |
| TransparentUpgradeableProxy                                                                              | 2.081     | 22.495      |
| 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

Ran 1 test for src/20240313_Multi_UpdateADIImplementationAndCCIPAdapters/AaveV3Arbitrum_UpdateADIImplementationAndCCIPAdapters_20240313.t.sol:AaveV3Arbitrum_UpdateADIImplementationAndCCIPAdapters_20240313_Test
[PASS] test_implementationOfCCCUpdate() (gas: 108388)
Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 600.60ms (231.52ms CPU time)

Ran 1 test suite in 605.40ms (600.60ms CPU time): 1 tests passed, 0 failed, 0 skipped (1 total tests)
No files changed, compilation skipped

Ran 8 tests for src/20240313_Multi_UpdateADIImplementationAndCCIPAdapters/AaveV3Avalanche_UpdateADIImplementationAndCCIPAdapters_20240313.t.sol:AaveV3Avalanche_UpdateADIImplementationAndCCIPAdapters_20240313_Test
[PASS] test_correctAdapterNames() (gas: 15549)
[PASS] test_correctPathConfiguration() (gas: 12471)
[PASS] test_forwarderAdaptersAreSet() (gas: 252387)
[PASS] test_implementationOfCCCUpdate() (gas: 245528)
[PASS] test_onlyChangedNeededForwarders() (gas: 366415)
[PASS] test_onlyUpdatedNeededAdapter() (gas: 277634)
[PASS] test_receiversAreCorrectlySetAfterExecution() (gas: 254996)
[PASS] test_trustedRemotes() (gas: 14244)
Suite result: ok. 8 passed; 0 failed; 0 skipped; finished in 3.37s (9.01s CPU time)

Ran 1 test suite in 3.38s (3.37s CPU time): 8 tests passed, 0 failed, 0 skipped (8 total tests)
No files changed, compilation skipped

Ran 8 tests for src/20240313_Multi_UpdateADIImplementationAndCCIPAdapters/AaveV3BNB_UpdateADIImplementationAndCCIPAdapters_20240313.t.sol:AaveV3BNB_UpdateADIImplementationAndCCIPAdapters_20240313_Test
[PASS] test_correctAdapterNames() (gas: 15549)
[PASS] test_correctPathConfiguration() (gas: 5983)
[PASS] test_forwarderAdaptersAreSet() (gas: 159234)
[PASS] test_implementationOfCCCUpdate() (gas: 162759)
[PASS] test_onlyChangedNeededForwarders() (gas: 271629)
[PASS] test_onlyUpdatedNeededAdapter() (gas: 198760)
[PASS] test_receiversAreCorrectlySetAfterExecution() (gas: 172227)
[PASS] test_trustedRemotes() (gas: 14244)
Suite result: ok. 8 passed; 0 failed; 0 skipped; finished in 3.23s (7.76s CPU time)

Ran 1 test suite in 3.24s (3.23s CPU time): 8 tests passed, 0 failed, 0 skipped (8 total tests)
No files changed, compilation skipped

Ran 1 test for src/20240313_Multi_UpdateADIImplementationAndCCIPAdapters/AaveV3Base_UpdateADIImplementationAndCCIPAdapters_20240313.t.sol:AaveV3Base_UpdateADIImplementationAndCCIPAdapters_20240313_Test
[PASS] test_implementationOfCCCUpdate() (gas: 108250)
Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 2.37s (1.76s CPU time)

Ran 1 test suite in 2.38s (2.37s CPU time): 1 tests passed, 0 failed, 0 skipped (1 total tests)
No files changed, compilation skipped

Ran 8 tests for src/20240313_Multi_UpdateADIImplementationAndCCIPAdapters/AaveV3Ethereum_UpdateADIImplementationAndCCIPAdapters_20240313.t.sol:AaveV3Ethereum_UpdateADIImplementationAndCCIPAdapters_20240313_Test
[PASS] test_correctAdapterNames() (gas: 15788)
[PASS] test_correctPathConfiguration() (gas: 25368)
[PASS] test_forwarderAdaptersAreSet() (gas: 406781)
[PASS] test_implementationOfCCCUpdate() (gas: 374058)
[PASS] test_onlyChangedNeededForwarders() (gas: 590480)
[PASS] test_onlyUpdatedNeededAdapter() (gas: 434936)
[PASS] test_receiversAreCorrectlySetAfterExecution() (gas: 389039)
[PASS] test_trustedRemotes() (gas: 18082)
Suite result: ok. 8 passed; 0 failed; 0 skipped; finished in 1.35s (3.10s CPU time)

Ran 1 test suite in 1.35s (1.35s CPU time): 8 tests passed, 0 failed, 0 skipped (8 total tests)
No files changed, compilation skipped

Ran 1 test for src/20240313_Multi_UpdateADIImplementationAndCCIPAdapters/AaveV3Gnosis_UpdateADIImplementationAndCCIPAdapters_20240313.t.sol:AaveV3Gnosis_UpdateADIImplementationAndCCIPAdapters_20240313_Test
[PASS] test_implementationOfCCCUpdate() (gas: 108300)
Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 6.39s (4.58s CPU time)

Ran 1 test suite in 6.39s (6.39s CPU time): 1 tests passed, 0 failed, 0 skipped (1 total tests)
No files changed, compilation skipped

Ran 1 test for src/20240313_Multi_UpdateADIImplementationAndCCIPAdapters/AaveV3Metis_UpdateADIImplementationAndCCIPAdapters_20240313.t.sol:AaveV3Metis_UpdateADIImplementationAndCCIPAdapters_20240313_Test
[PASS] test_implementationOfCCCUpdate() (gas: 108411)
Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 1.99s (1.44s CPU time)

Ran 1 test suite in 2.00s (1.99s CPU time): 1 tests passed, 0 failed, 0 skipped (1 total tests)
No files changed, compilation skipped

Ran 1 test for src/20240313_Multi_UpdateADIImplementationAndCCIPAdapters/AaveV3Optimism_UpdateADIImplementationAndCCIPAdapters_20240313.t.sol:AaveV3Optimism_UpdateADIImplementationAndCCIPAdapters_20240313_Test
[PASS] test_implementationOfCCCUpdate() (gas: 108365)
Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 758.79ms (555.26ms CPU time)

Ran 1 test suite in 763.77ms (758.79ms CPU time): 1 tests passed, 0 failed, 0 skipped (1 total tests)
No files changed, compilation skipped

Ran 8 tests for src/20240313_Multi_UpdateADIImplementationAndCCIPAdapters/AaveV3Polygon_UpdateADIImplementationAndCCIPAdapters_20240313.t.sol:AaveV3Polygon_UpdateADIImplementationAndCCIPAdapters_20240313_Test
[PASS] test_correctAdapterNames() (gas: 15549)
[PASS] test_correctPathConfiguration() (gas: 12471)
[PASS] test_forwarderAdaptersAreSet() (gas: 257786)
[PASS] test_implementationOfCCCUpdate() (gas: 247617)
[PASS] test_onlyChangedNeededForwarders() (gas: 374862)
[PASS] test_onlyUpdatedNeededAdapter() (gas: 286921)
[PASS] test_receiversAreCorrectlySetAfterExecution() (gas: 257085)
[PASS] test_trustedRemotes() (gas: 14244)
Suite result: ok. 8 passed; 0 failed; 0 skipped; finished in 4.13s (10.49s CPU time)

Ran 1 test suite in 4.13s (4.13s CPU time): 8 tests passed, 0 failed, 0 skipped (8 total tests)
No files changed, compilation skipped

Ran 1 test for src/20240313_Multi_UpdateADIImplementationAndCCIPAdapters/AaveV3Scroll_UpdateADIImplementationAndCCIPAdapters_20240313.t.sol:AaveV3Scroll_UpdateADIImplementationAndCCIPAdapters_20240313_Test
[PASS] test_implementationOfCCCUpdate() (gas: 108301)
Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 2.43s (1.78s CPU time)

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

@sendra sendra merged commit ee8f5ab into feat/update-ccc-ccip Mar 18, 2024
4 checks passed
@sendra sendra deleted the feat/ccip-update-templating branch March 18, 2024 10:45
brotherlymite added a commit that referenced this pull request Mar 21, 2024
)

* feat: Update CrossChainController implementation and CCIP adapters

* fix: added some internal test methods

* Feat/ccip update templating (#255)

* CCIP update templating

* fix: added missing chain id

* fix compilation issues

* fix: fixed compilation error

* remove redundant DestinationAdaptersInput path

* update readme with implementation and tests

* fix: test cleanup

* fix: more test cleanup

* add BaseCCCImplementationUpdatePayloadTest

* change BaseTest

* fix: added tests to check that only changed necessary receivers

* add getTrustedRemoteByChainId

* formatting

* fix: added test to check that forwarders are set

* fix: update scripts (#248)

* fix: added test to check only changes on specified forwarders

* fix: update readme

* fix: add missing ccc impl address for ethereum

* fix: updated base contract to add receivers only if receiving chains exist. Added discussion links

---------

Co-authored-by: Andrei Kozlov <[email protected]>
Co-authored-by: Lukas <[email protected]>

* Update src/20240313_Multi_UpdateADIImplementationAndCCIPAdapters/UpdateADIImplementationAndCCIPAdapters.md

Co-authored-by: Harsh Pandey <[email protected]>

* Update src/20240313_Multi_UpdateADIImplementationAndCCIPAdapters/UpdateADIImplementationAndCCIPAdapters.md

Co-authored-by: Harsh Pandey <[email protected]>

* fix: added reference to code diffs

* fix: linting

* fix: ran lint fix

---------

Co-authored-by: Andrei Kozlov <[email protected]>
Co-authored-by: Lukas <[email protected]>
Co-authored-by: Harsh Pandey <[email protected]>
sendra added a commit that referenced this pull request Apr 23, 2024
* feat: Update CrossChainController implementation and CCIP adapters

* fix: added some internal test methods

* Feat/ccip update templating (#255)

* CCIP update templating

* fix: added missing chain id

* fix compilation issues

* fix: fixed compilation error

* remove redundant DestinationAdaptersInput path

* update readme with implementation and tests

* fix: test cleanup

* fix: more test cleanup

* add BaseCCCImplementationUpdatePayloadTest

* change BaseTest

* fix: added tests to check that only changed necessary receivers

* add getTrustedRemoteByChainId

* formatting

* fix: added test to check that forwarders are set

* fix: update scripts (#248)

* fix: added test to check only changes on specified forwarders

* fix: update readme

* fix: add missing ccc impl address for ethereum

* fix: updated base contract to add receivers only if receiving chains exist. Added discussion links

---------

Co-authored-by: Andrei Kozlov <[email protected]>
Co-authored-by: Lukas <[email protected]>

* Update src/20240313_Multi_UpdateADIImplementationAndCCIPAdapters/UpdateADIImplementationAndCCIPAdapters.md

Co-authored-by: Harsh Pandey <[email protected]>

* Update src/20240313_Multi_UpdateADIImplementationAndCCIPAdapters/UpdateADIImplementationAndCCIPAdapters.md

Co-authored-by: Harsh Pandey <[email protected]>

* feat: Update Hyperlane bridge adapter to V3

* fix: fixed compilation errors

* fix: added reference to code diffs

* fix: linting

* fix: ran lint fix

* fix: fixed tests

* fix: dont remove forwarders if there is no need

* Fix/hyperlane use new helpers and remove old native adapters (#294)

* fix: Updated with new helpers usage and diffs

* fix: added removal of old native bridges

* fix: updated readme

* fix: updated aave helpers

* fix: update helpers

* fix: updated title with removal

* fix: updated readme with more information

* fix: added discussion link

---------

Co-authored-by: Andrei Kozlov <[email protected]>
Co-authored-by: Lukas <[email protected]>
Co-authored-by: Harsh Pandey <[email protected]>
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