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

test: removed testFail Foundry tests and minor fixes in tests #365

Merged
merged 4 commits into from
Jan 10, 2025

Conversation

TepNik
Copy link
Contributor

@TepNik TepNik commented Jan 10, 2025

No description provided.

@TepNik TepNik requested a review from sakulstra January 10, 2025 09:56
Copy link
Contributor

github-actions bot commented Jan 10, 2025

🔧 Build logs
Compiling 255 files with Solc 0.8.28
installing solc version "0.8.28"
Successfully installed solc 0.8.28
Solc 0.8.28 finished in 42.55s
Compiler run successful with warnings:
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).


╭---------------------------------------------+------------------+-------------------+--------------------+---------------------╮
| Contract                                    | Runtime Size (B) | Initcode Size (B) | Runtime Margin (B) | Initcode Margin (B) |
+===============================================================================================================================+
| AaveArbEthERC20Bridge                       | 3,589            | 3,786             | 20,987             | 45,366              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveGovernanceV2                            | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveOpEthERC20Bridge                        | 2,885            | 3,082             | 21,691             | 46,070              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AavePolEthERC20Bridge                       | 4,051            | 4,248             | 20,525             | 44,904              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AavePolEthPlasmaBridge                      | 3,537            | 3,734             | 21,039             | 45,418              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveSwapper                                 | 5,505            | 5,941             | 19,071             | 43,211              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV2Avalanche                             | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV2AvalancheAssets                       | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV2ConfigEngine                          | 3,057            | 3,434             | 21,519             | 45,718              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV2Ethereum                              | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV2EthereumAMM                           | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV2EthereumAMMAssets                     | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV2EthereumAssets                        | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV2EthereumRatesUpdate                   | 1,482            | 1,614             | 23,094             | 47,538              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV2Polygon                               | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV2PolygonAssets                         | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Arbitrum                              | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3ArbitrumAssets                        | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3ArbitrumEModes                        | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3ArbitrumExternalLibraries             | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Avalanche                             | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3AvalancheAssets                       | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3AvalancheCollateralUpdate             | 3,286            | 3,418             | 21,290             | 45,734              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3AvalancheCollateralUpdateCorrectBonus | 3,286            | 3,418             | 21,290             | 45,734              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3AvalancheCollateralUpdateNoChange     | 3,303            | 3,435             | 21,273             | 45,717              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3AvalancheCollateralUpdateWrongBonus   | 3,286            | 3,418             | 21,290             | 45,734              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3AvalancheEModeCategoryUpdateEdgeBonus | 3,231            | 3,363             | 21,345             | 45,789              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3AvalancheEModeCategoryUpdateNoChange  | 3,290            | 3,422             | 21,286             | 45,730              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3AvalancheEModes                       | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3AvalancheExternalLibraries            | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3BNB                                   | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3BNBAssets                             | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3BNBEModes                             | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3BNBExternalLibraries                  | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Base                                  | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3BaseAssets                            | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3BaseEModes                            | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3BaseExternalLibraries                 | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Ethereum                              | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3EthereumAssetEModeUpdate              | 3,183            | 3,315             | 21,393             | 45,837              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3EthereumAssets                        | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3EthereumEModes                        | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3EthereumEtherFi                       | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3EthereumEtherFiAssets                 | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3EthereumEtherFiEModes                 | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3EthereumEtherFiExternalLibraries      | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3EthereumExternalLibraries             | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3EthereumLido                          | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3EthereumLidoAssets                    | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3EthereumLidoEModes                    | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3EthereumLidoExternalLibraries         | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3EthereumMockCapUpdate                 | 3,216            | 3,348             | 21,360             | 45,804              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Fantom                                | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3FantomAssets                          | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Gnosis                                | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3GnosisAssets                          | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3GnosisEModes                          | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3GnosisExternalLibraries               | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Metis                                 | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3MetisAssets                           | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3MetisEModes                           | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3MetisExternalLibraries                | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Optimism                              | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3OptimismAssets                        | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3OptimismEModes                        | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3OptimismExternalLibraries             | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3OptimismMockRatesUpdate               | 3,419            | 3,551             | 21,157             | 45,601              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Polygon                               | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3PolygonAssets                         | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3PolygonBorrowUpdate                   | 3,280            | 3,412             | 21,296             | 45,740              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3PolygonBorrowUpdateNoChange           | 3,300            | 3,432             | 21,276             | 45,720              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3PolygonEModeCategoryUpdate            | 3,229            | 3,361             | 21,347             | 45,791              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3PolygonEModes                         | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3PolygonExternalLibraries              | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3PolygonPriceFeedUpdate                | 3,163            | 3,295             | 21,413             | 45,857              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3PolygonZkEvm                          | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3PolygonZkEvmAssets                    | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Scroll                                | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3ScrollAssets                          | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3ScrollEModes                          | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3ScrollExternalLibraries               | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3ZkSync                                | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3ZkSyncAssets                          | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3ZkSyncEModes                          | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3ZkSyncExternalLibraries               | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveWstethWithdrawer                        | 5,488            | 5,924             | 19,088             | 43,228              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| Address                                     | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| ArbSysMock                                  | 632              | 660               | 23,944             | 48,492              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| CapsPlusRiskSteward                         | 2,582            | 2,841             | 21,994             | 46,311              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| CapsPlusRiskStewardErrors                   | 551              | 603               | 24,025             | 48,549              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| ChainHelpers                                | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| ChainIds                                    | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| CollectorUtils                              | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| ConfiguratorInputTypes                      | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| Create2Utils                                | 162              | 212               | 24,414             | 48,940              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| Create2UtilsZkSync                          | 145              | 195               | 24,431             | 48,957              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| DataTypes                                   | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| DefaultReserveInterestRateStrategy          | 3,405            | 4,085             | 21,171             | 45,067              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| DeployV2EngineAvaLib                        | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| DeployV2EngineEthAMMLib                     | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| DeployV2EngineEthLib                        | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| DeployV2EnginePolLib                        | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| DeployV2RatesFactoryAvaLib                  | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| DeployV2RatesFactoryEthAMMLib               | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| DeployV2RatesFactoryEthLib                  | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| DeployV2RatesFactoryLib                     | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| DeployV2RatesFactoryPolLib                  | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| ERC1967Proxy                                | 163              | 1,014             | 24,413             | 48,138              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| ERC1967Utils                                | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| EngineFlags                                 | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| Errors                                      | 4,693            | 4,745             | 19,883             | 44,407              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| FreezingSteward                             | 699              | 891               | 23,877             | 48,261              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| GovV3Helpers                                | 2,510            | 2,562             | 22,066             | 46,590              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| GovV3StorageHelpers                         | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| GovernanceV3Arbitrum                        | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| GovernanceV3Avalanche                       | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| GovernanceV3BNB                             | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| GovernanceV3Base                            | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| GovernanceV3Ethereum                        | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| GovernanceV3Gnosis                          | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| GovernanceV3Metis                           | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| GovernanceV3Optimism                        | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| GovernanceV3Polygon                         | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| GovernanceV3PolygonZkEvm                    | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| GovernanceV3Scroll                          | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| GovernanceV3ZkSync                          | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| IpfsUtils                                   | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| MiscAvalanche                               | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| MiscEthereum                                | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| MiscPolygon                                 | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| MyPayload                                   | 1,495            | 1,535             | 23,081             | 47,617              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| PayloadWithEmit                             | 146              | 172               | 24,430             | 48,980              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| PayloadsControllerUtils                     | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| PercentageMath                              | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| ProxyAdmin                                  | 1,039            | 1,275             | 23,537             | 47,877              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| ProxyHelpers                                | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| ReserveConfiguration                        | 169              | 219               | 24,407             | 48,933              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| SafeERC20                                   | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| SafeMath                                    | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| StorageHelpers                              | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| StorageSlot                                 | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| StrategicAssetsManager                      | 9,359            | 9,795             | 15,217             | 39,357              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| TestNetChainIds                             | 85               | 135               | 24,491             | 49,017              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| TransparentUpgradeableProxy                 | 1,137            | 2,266             | 23,439             | 46,886              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| V2RateStrategyFactory                       | 8,361            | 8,703             | 16,215             | 40,449              |
|---------------------------------------------+------------------+-------------------+--------------------+---------------------|
| WadRayMath                                  | 85               | 135               | 24,491             | 49,017              |
╰---------------------------------------------+------------------+-------------------+--------------------+---------------------╯
🔧 Build logs zksync
Compiling 175 files with zksolc and solc 0.8.20
zksolc and solc 0.8.20 finished in 80.10s
Compiler run successful!

╭----------------------------------------+------------------+-------------------+--------------------+---------------------╮
| Contract                               | Runtime Size (B) | Initcode Size (B) | Runtime Margin (B) | Initcode Margin (B) |
+==========================================================================================================================+
| AaveArbEthERC20Bridge                  | 11,936           | 11,936            | 439,063            | 439,063             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveGovernanceV2                       | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveOpEthERC20Bridge                   | 10,656           | 10,656            | 440,343            | 440,343             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| AavePolEthERC20Bridge                  | 16,672           | 16,672            | 434,327            | 434,327             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| AavePolEthPlasmaBridge                 | 13,536           | 13,536            | 437,463            | 437,463             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveSwapper                            | 19,616           | 19,616            | 431,383            | 431,383             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV2Avalanche                        | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV2AvalancheAssets                  | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV2ConfigEngine                     | 8,992            | 8,992             | 442,007            | 442,007             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV2Ethereum                         | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV2EthereumAMM                      | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV2EthereumAMMAssets                | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV2EthereumAssets                   | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV2Polygon                          | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV2PolygonAssets                    | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Arbitrum                         | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3ArbitrumAssets                   | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3ArbitrumEModes                   | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3ArbitrumExternalLibraries        | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Avalanche                        | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3AvalancheAssets                  | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3AvalancheEModes                  | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3AvalancheExternalLibraries       | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3BNB                              | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3BNBAssets                        | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3BNBEModes                        | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3BNBExternalLibraries             | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Base                             | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3BaseAssets                       | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3BaseEModes                       | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3BaseExternalLibraries            | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Ethereum                         | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3EthereumAssets                   | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3EthereumEModes                   | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3EthereumEtherFi                  | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3EthereumEtherFiAssets            | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3EthereumEtherFiEModes            | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3EthereumEtherFiExternalLibraries | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3EthereumExternalLibraries        | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3EthereumLido                     | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3EthereumLidoAssets               | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3EthereumLidoEModes               | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3EthereumLidoExternalLibraries    | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Gnosis                           | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3GnosisAssets                     | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3GnosisEModes                     | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3GnosisExternalLibraries          | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Metis                            | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3MetisAssets                      | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3MetisEModes                      | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3MetisExternalLibraries           | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Optimism                         | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3OptimismAssets                   | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3OptimismEModes                   | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3OptimismExternalLibraries        | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Polygon                          | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3PolygonAssets                    | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3PolygonEModes                    | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3PolygonExternalLibraries         | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3PolygonZkEvm                     | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3PolygonZkEvmAssets               | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3Scroll                           | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3ScrollAssets                     | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3ScrollEModes                     | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3ScrollExternalLibraries          | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveWstethWithdrawer                   | 19,872           | 19,872            | 431,127            | 431,127             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| Address                                | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| CapsPlusRiskSteward                    | 9,632            | 9,632             | 441,367            | 441,367             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| CapsPlusRiskStewardErrors              | 1,440            | 1,440             | 449,559            | 449,559             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| ChainHelpers                           | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| ChainIds                               | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| ConfiguratorInputTypes                 | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| Create2Utils                           | 480              | 480               | 450,519            | 450,519             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| Create2UtilsZkSync                     | 480              | 480               | 450,519            | 450,519             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| DataTypes                              | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| DefaultReserveInterestRateStrategy     | 17,696           | 17,696            | 433,303            | 433,303             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| DeployV2EngineAvaLib                   | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| DeployV2EngineEthAMMLib                | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| DeployV2EngineEthLib                   | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| DeployV2EnginePolLib                   | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| DeployV2RatesFactoryAvaLib             | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| DeployV2RatesFactoryEthAMMLib          | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| DeployV2RatesFactoryEthLib             | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| DeployV2RatesFactoryLib                | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| DeployV2RatesFactoryPolLib             | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| ERC1967Proxy                           | 4,064            | 4,064             | 446,935            | 446,935             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| ERC1967Utils                           | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| EngineFlags                            | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| Errors                                 | 14,176           | 14,176            | 436,823            | 436,823             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| FreezingSteward                        | 3,872            | 3,872             | 447,127            | 447,127             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| GovV3Helpers                           | 11,936           | 11,936            | 439,063            | 439,063             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| GovV3StorageHelpers                    | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| GovernanceV3Arbitrum                   | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| GovernanceV3Avalanche                  | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| GovernanceV3BNB                        | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| GovernanceV3Base                       | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| GovernanceV3Ethereum                   | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| GovernanceV3Gnosis                     | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| GovernanceV3Metis                      | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| GovernanceV3Optimism                   | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| GovernanceV3Polygon                    | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| GovernanceV3PolygonZkEvm               | 224              | 224               | 450,775            | 450,775             |
|----------------------------------------+------------------+-------------------+--------------------+---------------------|
| GovernanceV3Scroll                     ...*[Comment body truncated]*

@sakulstra sakulstra merged commit fe818aa into master Jan 10, 2025
1 check passed
@sakulstra sakulstra deleted the test/removed-testFail-foundry-tests-and-minor-fixes branch January 10, 2025 12:21
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.

2 participants