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

fix: remove deprecation #355

Merged
merged 1 commit into from
Nov 22, 2024
Merged

fix: remove deprecation #355

merged 1 commit into from
Nov 22, 2024

Conversation

sakulstra
Copy link
Collaborator

No description provided.

Copy link
Contributor

🔧 Build logs
Compiling 284 files with Solc 0.8.28
installing solc version "0.8.28"
Successfully installed solc 0.8.28
Solc 0.8.28 finished in 47.00s
Compiler run successful with warnings:
Warning (5667): Unused function parameter. Remove or comment out the variable name to silence this warning.
   --> src/swaps/AaveSwapper.sol:146:5:
    |
146 |     address erc20Token
    |     ^^^^^^^^^^^^^^^^^^

Warning (5667): Unused function parameter. Remove or comment out the variable name to silence this warning.
   --> src/asset-manager/AaveWstethWithdrawer.sol:106:5:
    |
106 |     address erc20Token
    |     ^^^^^^^^^^^^^^^^^^

Warning (5667): Unused function parameter. Remove or comment out the variable name to silence this warning.
   --> src/bridges/arbitrum/AaveArbEthERC20Bridge.sol:120:5:
    |
120 |     address erc20Token
    |     ^^^^^^^^^^^^^^^^^^

Warning (5667): Unused function parameter. Remove or comment out the variable name to silence this warning.
   --> src/bridges/polygon/AavePolEthERC20Bridge.sol:103:5:
    |
103 |     address erc20Token
    |     ^^^^^^^^^^^^^^^^^^

Warning (5667): Unused function parameter. Remove or comment out the variable name to silence this warning.
   --> src/bridges/polygon/AavePolEthPlasmaBridge.sol:108:5:
    |
108 |     address erc20Token
    |     ^^^^^^^^^^^^^^^^^^

Warning (5667): Unused function parameter. Remove or comment out the variable name to silence this warning.
  --> src/bridges/optimism/AaveOpEthERC20Bridge.sol:61:5:
   |
61 |     address erc20Token
   |     ^^^^^^^^^^^^^^^^^^

Warning (2018): Function state mutability can be restricted to pure
   --> src/swaps/AaveSwapper.sol:145:3:
    |
145 |   function maxRescue(
    |   ^ (Relevant source part starts here and spans across multiple lines).

Warning (2018): Function state mutability can be restricted to pure
   --> src/asset-manager/AaveWstethWithdrawer.sol:105:3:
    |
105 |   function maxRescue(
    |   ^ (Relevant source part starts here and spans across multiple lines).

Warning (2018): Function state mutability can be restricted to pure
   --> src/bridges/arbitrum/AaveArbEthERC20Bridge.sol:119:3:
    |
119 |   function maxRescue(
    |   ^ (Relevant source part starts here and spans across multiple lines).

Warning (2018): Function state mutability can be restricted to pure
   --> src/bridges/polygon/AavePolEthERC20Bridge.sol:102:3:
    |
102 |   function maxRescue(
    |   ^ (Relevant source part starts here and spans across multiple lines).

Warning (2018): Function state mutability can be restricted to pure
   --> src/bridges/polygon/AavePolEthPlasmaBridge.sol:107:3:
    |
107 |   function maxRescue(
    |   ^ (Relevant source part starts here and spans across multiple lines).

Warning (2018): Function state mutability can be restricted to pure
  --> src/bridges/optimism/AaveOpEthERC20Bridge.sol:60:3:
   |
60 |   function maxRescue(
   |   ^ (Relevant source part starts here and spans across multiple lines).

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).

Warning (2018): Function state mutability can be restricted to view
   --> tests/swaps/AaveSwapperTest.t.sol:384:3:
    |
384 |   function test_aaveToUsdc_withEthBasedOracles() public {
    |   ^ (Relevant source part starts here and spans across multiple lines).

Warning (2018): Function state mutability can be restricted to view
   --> tests/swaps/AaveSwapperTest.t.sol:406:3:
    |
406 |   function test_aaveToUsdc() public {
    |   ^ (Relevant source part starts here and spans across multiple lines).

Warning (2018): Function state mutability can be restricted to view
   --> tests/swaps/AaveSwapperTest.t.sol:421:3:
    |
421 |   function test_ethToDai() public {
    |   ^ (Relevant source part starts here and spans across multiple lines).

Warning (2018): Function state mutability can be restricted to view
   --> tests/swaps/AaveSwapperTest.t.sol:436:3:
    |
436 |   function test_ethToBal() public {
    |   ^ (Relevant source part starts here and spans across multiple lines).

Warning (2018): Function state mutability can be restricted to view
   --> tests/swaps/AaveSwapperTest.t.sol:451:3:
    |
451 |   function test_balTo80BAL20WETH() 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 |
| AaveSafetyModule                            |               85 |               135 |             24,491 |              49,017 |
| AaveSwapper                                 |            5,502 |             5,938 |             19,074 |              43,214 |
| AaveV1                                      |               85 |               135 |             24,491 |              49,017 |
| 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 |
| AaveV2EthereumArc                           |               85 |               135 |             24,491 |              49,017 |
| AaveV2EthereumArcAssets                     |               85 |               135 |             24,491 |              49,017 |
| AaveV2EthereumAssets                        |               85 |               135 |             24,491 |              49,017 |
| AaveV2EthereumRatesUpdate                   |            1,482 |             1,614 |             23,094 |              47,538 |
| AaveV2Fuji                                  |               85 |               135 |             24,491 |              49,017 |
| AaveV2FujiAssets                            |               85 |               135 |             24,491 |              49,017 |
| 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 |
| AaveV3ArbitrumSepolia                       |               85 |               135 |             24,491 |              49,017 |
| AaveV3ArbitrumSepoliaAssets                 |               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 |
| AaveV3BaseSepolia                           |               85 |               135 |             24,491 |              49,017 |
| AaveV3BaseSepoliaAssets                     |               85 |               135 |             24,491 |              49,017 |
| AaveV3BaseSepoliaEModes                     |               85 |               135 |             24,491 |              49,017 |
| AaveV3BaseSepoliaExternalLibraries          |               85 |               135 |             24,491 |              49,017 |
| AaveV3BaseSepoliaLido                       |               85 |               135 |             24,491 |              49,017 |
| AaveV3BaseSepoliaLidoAssets                 |               85 |               135 |             24,491 |              49,017 |
| AaveV3BaseSepoliaLidoEModes                 |               85 |               135 |             24,491 |              49,017 |
| AaveV3BaseSepoliaLidoExternalLibraries      |               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 |
| AaveV3FantomTestnet                         |               85 |               135 |             24,491 |              49,017 |
| AaveV3FantomTestnetAssets                   |               85 |               135 |             24,491 |              49,017 |
| AaveV3Fuji                                  |               85 |               135 |             24,491 |              49,017 |
| AaveV3FujiAssets                            |               85 |               135 |             24,491 |              49,017 |
| AaveV3FujiEModes                            |               85 |               135 |             24,491 |              49,017 |
| AaveV3FujiExternalLibraries                 |               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 |
| AaveV3Harmony                               |               85 |               135 |             24,491 |              49,017 |
| AaveV3HarmonyAssets                         |               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 |
| AaveV3OptimismSepolia                       |               85 |               135 |             24,491 |              49,017 |
| AaveV3OptimismSepoliaAssets                 |               85 |               135 |             24,491 |              49,017 |
| 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 |
| AaveV3ScrollSepolia                         |               85 |               135 |             24,491 |              49,017 |
| AaveV3ScrollSepoliaAssets                   |               85 |               135 |             24,491 |              49,017 |
| AaveV3Sepolia                               |               85 |               135 |             24,491 |              49,017 |
| AaveV3SepoliaAssets                         |               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 |
| GovernanceV3Fuji                            |               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 |
| MiscArbitrum                                |               85 |               135 |             24,491 |              49,017 |
| MiscArbitrumSepolia                         |               85 |               135 |             24,491 |              49,017 |
| MiscAvalanche                               |               85 |               135 |             24,491 |              49,017 |
| MiscBNB                                     |               85 |               135 |             24,491 |              49,017 |
| MiscBase                                    |               85 |               135 |             24,491 |              49,017 |
| MiscBaseSepolia                             |               85 |               135 |             24,491 |              49,017 |
| MiscEthereum                                |               85 |               135 |             24,491 |              49,017 |
| MiscFantom                                  |               85 |               135 |             24,491 |              49,017 |
| MiscFuji                                    |               85 |               135 |             24,491 |              49,017 |
| MiscGnosis                                  |               85 |               135 |             24,491 |              49,017 |
| MiscMetis                                   |               85 |               135 |             24,491 |              49,017 |
| MiscOptimism                                |               85 |               135 |             24,491 |              49,017 |
| MiscOptimismSepolia                         |               85 |               135 |             24,491 |              49,017 |
| MiscPolygon                                 |               85 |               135 |             24,491 |              49,017 |
| MiscPolygonZkEvm                            |               85 |               135 |             24,491 |              49,017 |
| MiscScroll                                  |               85 |               135 |             24,491 |              49,017 |
| MiscSepolia                                 |               85 |               135 |             24,491 |              49,017 |
| MiscZkSync                                  |               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 174 files with zksolc and ZKsync solc 0.8.20
zksolc and ZKsync solc 0.8.20 finished in 82.93s
Compiler run successful with warnings:
Warning (5667)
Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
   --> src/swaps/AaveSwapper.sol:146:5:
    |
146 |     address erc20Token
    |     ^^^^^^^^^^^^^^^^^^

Warning (5667)
Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
   --> src/asset-manager/AaveWstethWithdrawer.sol:106:5:
    |
106 |     address erc20Token
    |     ^^^^^^^^^^^^^^^^^^

Warning (5667)
Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
   --> src/bridges/arbitrum/AaveArbEthERC20Bridge.sol:120:5:
    |
120 |     address erc20Token
    |     ^^^^^^^^^^^^^^^^^^

Warning (5667)
Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
   --> src/bridges/polygon/AavePolEthERC20Bridge.sol:103:5:
    |
103 |     address erc20Token
    |     ^^^^^^^^^^^^^^^^^^

Warning (5667)
Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
   --> src/bridges/polygon/AavePolEthPlasmaBridge.sol:108:5:
    |
108 |     address erc20Token
    |     ^^^^^^^^^^^^^^^^^^

Warning (5667)
Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
  --> src/bridges/optimism/AaveOpEthERC20Bridge.sol:61:5:
   |
61 |     address erc20Token
   |     ^^^^^^^^^^^^^^^^^^

Warning (2018)
Warning: Function state mutability can be restricted to pure
   --> src/swaps/AaveSwapper.sol:145:3:
    |
145 |   function maxRescue(
    |   ^ (Relevant source part starts here and spans across multiple lines).

Warning (2018)
Warning: Function state mutability can be restricted to pure
   --> src/asset-manager/AaveWstethWithdrawer.sol:105:3:
    |
105 |   function maxRescue(
    |   ^ (Relevant source part starts here and spans across multiple lines).

Warning (2018)
Warning: Function state mutability can be restricted to pure
   --> src/bridges/arbitrum/AaveArbEthERC20Bridge.sol:119:3:
    |
119 |   function maxRescue(
    |   ^ (Relevant source part starts here and spans across multiple lines).

Warning (2018)
Warning: Function state mutability can be restricted to pure
   --> src/bridges/polygon/AavePolEthERC20Bridge.sol:102:3:
    |
102 |   function maxRescue(
    |   ^ (Relevant source part starts here and spans across multiple lines).

Warning (2018)
Warning: Function state mutability can be restricted to pure
   --> src/bridges/polygon/AavePolEthPlasmaBridge.sol:107:3:
    |
107 |   function maxRescue(
    |   ^ (Relevant source part starts here and spans across multiple lines).

Warning (2018)
Warning: Function state mutability can be restricted to pure
  --> src/bridges/optimism/AaveOpEthERC20Bridge.sol:60:3:
   |
60 |   function maxRescue(
   |   ^ (Relevant source part starts here and spans across multiple lines).

| Contract | Runtime Size (B) | Initcode Size (B) | Runtime Margin (B) | Initcode Margin (B) |
|----------|------------------|-------------------|--------------------|---------------------|

@sakulstra sakulstra merged commit f9e12a1 into master Nov 22, 2024
1 check passed
@sakulstra sakulstra deleted the fix/remove-deprecation branch November 22, 2024 07:32
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.

1 participant