forked from aave-dao/aave-v3-origin
-
Notifications
You must be signed in to change notification settings - Fork 0
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
refactor: revert some naming changes on engine #26
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Foundry report forge 0.2.0 (03ea54c 2024-09-19T00:19:37.128772685Z) Build logCompiling 399 files with Solc 0.8.20
Solc 0.8.20 finished in 102.36s
Compiler run successful with warnings:
Warning (9302): Return value of low-level calls not used.
--> src/contracts/treasury/RevenueSplitter.sol:68:5:
|
68 | RECIPIENT_A.call{value: amount_A}('');
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning (9302): Return value of low-level calls not used.
--> src/contracts/treasury/RevenueSplitter.sol:69:5:
|
69 | RECIPIENT_B.call{value: amount_B}('');
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning (5740): Unreachable code.
--> src/contracts/dependencies/openzeppelin/ReentrancyGuard.sol:61:5:
|
61 | _status = _NOT_ENTERED;
| ^^^^^^^^^^^^^^^^^^^^^^
Warning (2072): Unused local variable.
--> tests/extensions/static-a-token/StataTokenV2Rescuable.sol:47:5:
|
47 | address treasury = IAToken(aToken).RESERVE_TREASURY_ADDRESS();
| ^^^^^^^^^^^^^^^^ Test success 🌈No files changed, compilation skipped
Ran 20 tests for tests/protocol/configuration/ACLManager.t.sol:ACLManagerTest
[PASS] testDefaultAdminRoleAfterDeploy() (gas: 20708)
[PASS] test_defaultAdmin_grantAdminRole_FlashBorrowAdmin() (gas: 65534)
[PASS] test_defaultAdmin_grants_AssetsListingRole() (gas: 37606)
[PASS] test_defaultAdmin_grants_BridgeRole() (gas: 37672)
[PASS] test_defaultAdmin_grants_EmergencyAdminRole() (gas: 37619)
[PASS] test_defaultAdmin_grants_PoolAdminRole() (gas: 37739)
[PASS] test_defaultAdmin_grants_RiskRole() (gas: 37736)
[PASS] test_defaultAdmin_remove_AssetsListingRole() (gas: 29463)
[PASS] test_defaultAdmin_remove_BridgeRole() (gas: 29552)
[PASS] test_defaultAdmin_remove_EmergencyAdminRole() (gas: 29447)
[PASS] test_defaultAdmin_remove_PoolAdminRole() (gas: 29568)
[PASS] test_defaultAdmin_remove_RiskRole() (gas: 29453)
[PASS] test_flashBorrowAdmin_grantRole_FlashBorrowRole() (gas: 91952)
[PASS] test_flashBorrowAdmin_removeRole_FlashBorrowRole() (gas: 76488)
[PASS] test_remove_riskAdmin() (gas: 29463)
[PASS] test_revert_anyUser_grantAdminRole_FlashBorrowAdmin() (gas: 73208)
[PASS] test_revert_deploy_ACLADMIN_zeroAddress() (gas: 1501493)
[PASS] test_reverts_defaultAdmin_notRoleAdmin_addRole_FlashBorrowRole() (gas: 99205)
[PASS] test_reverts_defaultAdmin_notRoleAdmin_revokeRole_FlashBorrowRole() (gas: 125600)
[PASS] test_reverts_notAdmin_grantRole_FlashBorrow() (gas: 115771)
Suite result: ok. 20 passed; 0 failed; 0 skipped; finished in 8.96ms (2.70ms CPU time)
Ran 17 tests for tests/protocol/tokenization/ATokenEdgeCases.t.sol:ATokenEdgeCasesTests
[PASS] testApprove() (gas: 45139)
[PASS] testApproveMax() (gas: 45244)
[PASS] testApproveWithZeroAddressSpender() (gas: 42177)
[PASS] testCheckGetters() (gas: 260137)
[PASS] testDecreaseAllowance() (gas: 53103)
[PASS] testIncreaseAllowance() (gas: 53147)
[PASS] testIncreaseAllowanceFromZero() (gas: 48450)
[PASS] testMintToTreasury_amount_zero() (gas: 15809)
[PASS] testTransferFromZeroAmount() (gas: 129595)
[PASS] test_burn_zeroAddress() (gas: 266604)
[PASS] test_mintToZeroAddress() (gas: 82322)
[PASS] test_poolAdmin_setIncentivesController() (gas: 35873)
[PASS] test_revert_notAdmin_setIncentivesController() (gas: 40453)
[PASS] test_reverts_burnAmountScaledZero() (gas: 19463)
[PASS] test_reverts_mintAmountScaledZero() (gas: 19608)
[PASS] test_transferFrom_zeroAddress_origin() (gas: 129407)
[PASS] test_transfer_amount_MAX_UINT_128() (gas: 16482)
Suite result: ok. 17 passed; 0 failed; 0 skipped; finished in 32.17ms (2.94ms CPU time)
Ran 12 tests for tests/protocol/libraries/logic/BridgeLogic.t.sol:BridgeLogicTests
[PASS] test_backUnbacked_but_unbacked_is_zero_with_fee() (gas: 190513)
[PASS] test_backUnbacked_but_unbacked_is_zero_with_only_fee() (gas: 190571)
[PASS] test_backUnbacked_but_unbacked_is_zero_without_fee() (gas: 155917)
[PASS] test_backUnbacked_onlyFee() (gas: 358254)
[PASS] test_backUnbacked_withFee() (gas: 358433)
[PASS] test_backUnbacked_withoutFee() (gas: 335732)
[PASS] test_multiple_backUnbacked() (gas: 632269)
[PASS] test_multiple_unbackedMint_with_cap() (gas: 479747)
[PASS] test_revert_multiple_unbackedMint_with_cap() (gas: 421384)
[PASS] test_revert_unathorized_unbackedMint() (gas: 30636)
[PASS] test_revert_unbackedMint_zero_cap() (gas: 86270)
[PASS] test_unbackedMint_with_cap() (gas: 267628)
Suite result: ok. 12 passed; 0 failed; 0 skipped; finished in 45.05ms (11.64ms CPU time)
Ran 14 tests for tests/deployments/DeploymentsGasLimits.t.sol:DeploymentsGasLimits
[PASS] test0AaveV3SetupDeployment() (gas: 4962083)
[PASS] test10ConfigEngineDeployment() (gas: 6841121)
[PASS] test11StaticATokenDeployment() (gas: 7129375)
[PASS] test12PeripheralsTreasuryPartner() (gas: 7512550)
[PASS] test1AaveV3GettersBatch1Deployment() (gas: 6683355)
[PASS] test2AaveV3GettersBatch2Deployment() (gas: 2177463)
[PASS] test3AaveV3PoolDeployment() (gas: 8775557)
[PASS] test4AaveV3L2PoolDeployment() (gas: 9034828)
[PASS] test5PeripheralsRelease() (gas: 7015444)
[PASS] test6MiscDeployment() (gas: 1385053)
[PASS] test7ParaswapDeployment() (gas: 6039496)
[PASS] test8SetupMarket() (gas: 2769093)
[PASS] test9TokensMarket() (gas: 3966105)
[PASS] testCheckInitCodeSizeBatchs() (gas: 1111316)
Logs:
AaveV3SetupBatch 27060
AaveV3L2PoolBatch 44689
AaveV3PoolBatch 43399
AaveV3PeripheryBatch 40967
AaveV3MiscBatch 6994
AaveV3ParaswapBatch 33342
AaveV3GettersBatchOne 33279
AaveV3GettersBatchTwo 11444
AaveV3TokensBatch 20734
AaveV3HelpersBatchOne 34794
AaveV3HelpersBatchTwo 33678
AaveV3PeripheryBatchTreasuryPartner 40967
Suite result: ok. 14 passed; 0 failed; 0 skipped; finished in 18.89ms (7.96ms CPU time)
Ran 8 tests for tests/protocol/tokenization/ATokenEvents.t.sol:ATokenEventsTests
[PASS] test_atoken_burnEvents_fullBalance() (gas: 562750)
[PASS] test_atoken_burnEvents_multipleWithdrawals_withInterests() (gas: 650484)
[PASS] test_atoken_burnEvents_singleWithdraw_WithInterests() (gas: 573343)
[PASS] test_atoken_burnEvents_singleWithdraw_noInterests() (gas: 255037)
[PASS] test_atoken_burnEvents_withdrawAmountLessThanInterests() (gas: 576191)
[PASS] test_atoken_mintEvents_firstSupply() (gas: 249772)
[PASS] test_atoken_mintEvents_supplyAfterBorrow() (gas: 629023)
[PASS] test_mintToTreasury_events() (gas: 90235)
Suite result: ok. 8 passed; 0 failed; 0 skipped; finished in 41.02ms (9.39ms CPU time)
Ran 4 tests for tests/protocol/tokenization/ATokenModifiers.t.sol:ATokenModifiersTests
[PASS] test_revert_notAdmin_burn() (gas: 17111)
[PASS] test_revert_notAdmin_mint() (gas: 17206)
[PASS] test_revert_notAdmin_transferOnLiquidation() (gas: 17237)
[PASS] test_revert_notAdmin_transferUnderlyingTo() (gas: 17041)
Suite result: ok. 4 passed; 0 failed; 0 skipped; finished in 28.37ms (234.24µs CPU time)
Ran 9 tests for tests/protocol/tokenization/ATokenPermit.t.sol:ATokenPermitTests
[PASS] testCheckDomainSeparator() (gas: 26218)
[PASS] test_cancelPermit() (gas: 100932)
[PASS] test_chain_fork_calculateDomainSeparator() (gas: 33005)
[PASS] test_revert_submitPermit_0_expiration() (gas: 46822)
[PASS] test_revert_submitPermit_invalid_expiration_previosCurrentBlock() (gas: 47304)
[PASS] test_revert_submitPermit_invalid_nonce() (gas: 55218)
[PASS] test_revert_submitPermit_invalid_owner() (gas: 46650)
[PASS] test_revert_submitPermit_invalid_signature() (gas: 55076)
[PASS] test_submitPermit() (gas: 94416)
Suite result: ok. 9 passed; 0 failed; 0 skipped; finished in 32.61ms (3.92ms CPU time)
Ran 3 tests for tests/protocol/tokenization/ATokenRepay.t.sol:ATokenRepayTests
[PASS] test_repay_allDebt() (gas: 275388)
[PASS] test_repay_partialDebt() (gas: 274511)
[PASS] test_revert_repay_withoutFunds() (gas: 180434)
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 29.35ms (1.64ms CPU time)
Ran 3 tests for tests/protocol/tokenization/ATokenRescueTokens.sol:ATokenRescueTokensTests
[PASS] test_rescueTokens() (gas: 78031)
[PASS] test_reverts_rescueTokens_CALLER_NOT_POOL_ADMIN() (gas: 70952)
[PASS] test_reverts_rescueTokens_UNDERLYING_CANNOT_BE_RESCUED() (gas: 71677)
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 29.23ms (570.14µs CPU time)
Ran 11 tests for tests/protocol/tokenization/ATokenTransfers.t.sol:ATokenTransferTests
[PASS] test_atoken_alice_transfer_all_to_bob() (gas: 162198)
[PASS] test_atoken_alice_transfer_to_bob() (gas: 231867)
[PASS] test_atoken_alice_transfer_to_bob_zero() (gas: 159963)
[PASS] test_atoken_alice_transfer_to_carol_accrues_interests() (gas: 223939)
[PASS] test_atoken_alice_transfer_to_herself() (gas: 81625)
[PASS] test_atoken_alice_transfer_to_herself_zero() (gas: 81668)
[PASS] test_atoken_multiple_transfers() (gas: 201515)
[PASS] test_atoken_transfer_sets_enabled_as_collateral(uint64,uint256) (runs: 1000, μ: 387080, ~: 390651)
[PASS] test_atoken_transfer_some_collateral_from_bob_borrower_to_alice() (gas: 524081)
[PASS] test_atoken_transfer_to_bob_them_bob_borrows() (gas: 395883)
[PASS] test_reverts_atoken_transfer_all_collateral_from_bob_borrower_to_alice() (gas: 405307)
Suite result: ok. 11 passed; 0 failed; 0 skipped; finished in 1.01s (983.46ms CPU time)
Ran 12 tests for tests/misc/AaveOracle.t.sol:AaveOracleTest
[PASS] testAddSingleSource() (gas: 949395)
[PASS] testAssetZeroPriceAndZeroFallbackPrice() (gas: 1091028)
[PASS] testAssetZeroPriceNonZeroFallback() (gas: 1110979)
[PASS] testAssetZeroPriceWithoutFallback() (gas: 933561)
[PASS] testEmptySource() (gas: 837947)
[PASS] testGetBaseCurrencyPrice() (gas: 12326)
[PASS] testGetPriceViaFallbackOracle() (gas: 1014076)
[PASS] testUpdateFallbackOracle() (gas: 181042)
[PASS] testUpdateSingleSource() (gas: 128138)
[PASS] testUpdateSourceBaseCurrency() (gas: 139662)
[PASS] test_revert_setAssetSources_inconsistentParams() (gas: 834379)
[PASS] test_revert_setAssetSources_wrongCaller() (gas: 24662)
Suite result: ok. 12 passed; 0 failed; 0 skipped; finished in 31.06ms (2.34ms CPU time)
Ran 5 tests for tests/deployments/AaveV3BatchDeployment.t.sol:AaveV3BatchDeployment
[PASS] testAaveV3BatchDeploy() (gas: 56952283)
[PASS] testAaveV3BatchDeploymentCheck() (gas: 65229657)
[PASS] testAaveV3Batch_reuseIncentivesProxy() (gas: 56417926)
[PASS] testAaveV3L2BatchDeploymentCheck() (gas: 67098074)
[PASS] testAaveV3TreasuryPartnerBatchDeploymentCheck() (gas: 65747226)
Suite result: ok. 5 passed; 0 failed; 0 skipped; finished in 100.96ms (95.69ms CPU time)
Ran 12 tests for tests/deployments/AaveV3BatchTests.t.sol:AaveV3BatchTests
[PASS] test0AaveV3SetupDeployment() (gas: 4962104)
[PASS] test10StaticATokenDeployment() (gas: 7129358)
[PASS] test1AaveV3GettersDeployment() (gas: 8040910)
[PASS] test2AaveV3PoolDeployment() (gas: 8775591)
[PASS] test3AaveV3L2PoolDeployment() (gas: 9034882)
[PASS] test4PeripheralsRelease() (gas: 7015421)
[PASS] test5MiscDeployment() (gas: 945108)
[PASS] test6ParaswapRelease() (gas: 6039473)
[PASS] test7SetupMarket() (gas: 2744524)
[PASS] test8TokensMarket() (gas: 3965957)
[PASS] test9ConfigEngineDeployment() (gas: 6841184)
[PASS] testAaveV3FullBatchOrchestration() (gas: 56948460)
Suite result: ok. 12 passed; 0 failed; 0 skipped; finished in 23.85ms (13.13ms CPU time)
Ran 13 tests for tests/protocol/pool/Pool.Supply.t.sol:PoolSupplyTests
[PASS] test_deprecated_deposit() (gas: 241166)
[PASS] test_first_supply() (gas: 241167)
[PASS] test_first_supply_on_behalf() (gas: 243214)
[PASS] test_reverts_supply_cap() (gas: 105544)
[PASS] test_reverts_supply_invalidAmount() (gas: 47904)
[PASS] test_reverts_supply_reserveFrozen() (gas: 117818)
[PASS] test_reverts_supply_reserveInactive() (gas: 130990)
[PASS] test_reverts_supply_reservePaused() (gas: 88616)
[PASS] test_reverts_supply_to_aToken() (gas: 50425)
[PASS] test_supplyWithPermit(uint128,uint128,uint128) (runs: 1000, μ: 423269, ~: 423279)
[PASS] test_supplyWithPermit_not_failing_if_permit_was_used(uint128,uint128,uint128) (runs: 1000, μ: 423467, ~: 423486)
[PASS] test_supplyWithPermit_should_revert_if_permit_is_less_then_supply_amount(uint128,uint128) (runs: 1000, μ: 288562, ~: 288565)
[PASS] test_supply_after_collateral_enabled() (gas: 288147)
Suite result: ok. 13 passed; 0 failed; 0 skipped; finished in 4.46s (4.42s CPU time)
Ran 11 tests for tests/protocol/pool/Pool.Withdraw.t.sol:PoolWithdrawTests
[PASS] test_Reverts_withdraw_transferred_funds() (gas: 550096)
[PASS] test_full_withdraw() (gas: 235211)
[PASS] test_full_withdraw_to() (gas: 240740)
[PASS] test_partial_withdraw() (gas: 231697)
[PASS] test_reverts_withdraw_hf_lt_lqt() (gas: 679569)
[PASS] test_reverts_withdraw_invalidAmount() (gas: 247611)
[PASS] test_reverts_withdraw_invalidBalance() (gas: 249680)
[PASS] test_reverts_withdraw_reserveInactive() (gas: 210876)
[PASS] test_reverts_withdraw_reservePaused() (gas: 287332)
[PASS] test_reverts_withdraw_to_atoken() (gas: 247452)
[PASS] test_withdraw_not_enabled_as_collateral() (gas: 248636)
Suite result: ok. 11 passed; 0 failed; 0 skipped; finished in 36.96ms (7.20ms CPU time)
Ran 37 tests for tests/protocol/pool/Pool.t.sol:PoolTests
[PASS] test_dropReserve() (gas: 104998)
[PASS] test_getBorrowLogic() (gas: 13654)
[PASS] test_getBridgeLogic() (gas: 13696)
[PASS] test_getEModeLogic() (gas: 13609)
[PASS] test_getFlashLoanLogic() (gas: 13633)
[PASS] test_getLiquidationLogic() (gas: 13722)
[PASS] test_getPoolLogic() (gas: 13674)
[PASS] test_getSupplyLogic() (gas: 13609)
[PASS] test_getVirtualUnderlyingBalance() (gas: 250716)
[PASS] test_getters_getUserAccountData() (gas: 599049)
[PASS] test_mintToTreasury() (gas: 697565)
[PASS] test_mintToTreasury_skip_invalid_addresses() (gas: 702275)
[PASS] test_noop_setUserUseReserveAsCollateral_true_when_already_is_activated() (gas: 291254)
[PASS] test_pool_defaultValues() (gas: 4531523)
[PASS] test_rescueTokens(uint256) (runs: 1000, μ: 81922, ~: 82218)
[PASS] test_resetIsolationModeTotalDebt() (gas: 729293)
[PASS] test_reverts_initReserve_not_poolConfigurator(address) (runs: 1000, μ: 25487, ~: 25487)
[PASS] test_reverts_modifiers_not_poolConfigurator(address) (runs: 1000, μ: 127971, ~: 127971)
[PASS] test_reverts_new_Pool_invalidAddressesProvider() (gas: 4543673)
[PASS] test_reverts_setReserveInterestRateStrategyAddress_AssetNotListed(address,address) (runs: 1000, μ: 40910, ~: 40910)
[PASS] test_reverts_setReserveInterestRateStrategyAddress_ZeroAssetAddress(address) (runs: 1000, μ: 22786, ~: 22786)
[PASS] test_reverts_setUserEmode_0_bad_hf() (gas: 979673)
[PASS] test_reverts_setUserUseReserveAsCollateral_false_hf_lower_lqt() (gas: 601005)
[PASS] test_reverts_setUserUseReserveAsCollateral_true_ltv_zero() (gas: 299419)
[PASS] test_reverts_setUserUseReserveAsCollateral_true_reserve_inactive() (gas: 223370)
[PASS] test_reverts_setUserUseReserveAsCollateral_true_reserve_paused() (gas: 294253)
[PASS] test_reverts_setUserUseReserveAsCollateral_true_user_balance_zero() (gas: 71880)
[PASS] test_reverts_setUserUseReserveAsCollateral_true_user_isolation_mode() (gas: 787361)
[PASS] test_setLiquidationGracePeriod(uint40) (runs: 1000, μ: 36950, ~: 37032)
[PASS] test_setLiquidationGracePeriod_assetNotListed(uint40) (runs: 1000, μ: 27148, ~: 27148)
[PASS] test_setReserveInterestRateStrategyAddress() (gas: 916982)
[PASS] test_setUserEmode() (gas: 228663)
[PASS] test_setUserEmode_twice() (gas: 371547)
[PASS] test_setUserEmode_twice_inconsistent_category() (gas: 980161)
[PASS] test_setUserUseReserveAsCollateral_false() (gas: 240673)
[PASS] test_setUserUseReserveAsCollateral_true() (gas: 278266)
[PASS] test_updateBridgeProtocolFee() (gas: 254)
Suite result: ok. 37 passed; 0 failed; 0 skipped; finished in 996.37ms (966.75ms CPU time)
Ran 22 tests for tests/protocol/configuration/PoolAddressesProvider.t.sol:PoolAddressesProviderTests
[PASS] test_PoolDataProvider_changeContract() (gas: 1504472)
[PASS] test_getter_getMarketId() (gas: 1466843)
[PASS] test_new_PoolAddressesProvider() (gas: 1476100)
[PASS] test_reverts_setAddressAsProxy_notAuth() (gas: 1480293)
[PASS] test_reverts_setAddress_noAuth() (gas: 1485491)
[PASS] test_reverts_setters_notOwner() (gas: 1483161)
[PASS] test_setACLManager_changeContract() (gas: 3077524)
[PASS] test_setACLManager_setACLAdmin() (gas: 2295674)
[PASS] test_setAddress() (gas: 1494352)
[PASS] test_setAddressAsProxy_new_proxy() (gas: 2064791)
[PASS] test_setAddressAsProxy_upgrade_proxy() (gas: 2178805)
[PASS] test_setAddress_updateAddress() (gas: 1503510)
[PASS] test_setPoolConfiguratorImpl() (gas: 6081313)
[PASS] test_setPoolConfiguratorImpl_upgrade() (gas: 10646023)
[PASS] test_setPoolDataProvider() (gas: 1494875)
[PASS] test_setPoolImpl() (gas: 6457633)
[PASS] test_setPoolImpl_upgrade() (gas: 11021948)
[PASS] test_setPriceOracle() (gas: 1495032)
[PASS] test_setPriceOracleSentinel() (gas: 1494903)
[PASS] test_setPriceOracleSentinel_changeContract() (gas: 1504549)
[PASS] test_setPriceOracle_changeContract() (gas: 1504810)
[PASS] test_setter_setMarketId() (gas: 1478048)
Suite result: ok. 22 passed; 0 failed; 0 skipped; finished in 48.00ms (8.33ms CPU time)
Ran 24 tests for tests/protocol/pool/pool-configurator/PoolConfigurator.ACLModifiers.t.sol:PoolConfiguratorACLModifiersTest
[PASS] test_reverts_disableLiquidationGracePeriod_on_unauth(address,address) (runs: 1000, μ: 38652, ~: 38652)
[PASS] test_reverts_notAdmin_dropReserve(address) (runs: 1000, μ: 36227, ~: 36227)
[PASS] test_reverts_notAdmin_initReserves((uint8,string,string,string,string,address,address,address,bool),address) (runs: 1000, μ: 1063352, ~: 1063479)
[PASS] test_reverts_notAdmin_setReserveActive(address) (runs: 1000, μ: 36333, ~: 36333)
[PASS] test_reverts_notAdmin_updateAToken(address) (runs: 1000, μ: 35332, ~: 35332)
[PASS] test_reverts_notAdmin_updateFlashLoanPremiumProtocol(address) (runs: 1000, μ: 34079, ~: 34079)
[PASS] test_reverts_notAdmin_updateFlashLoanPremiumTotal(address) (runs: 1000, μ: 34076, ~: 34076)
[PASS] test_reverts_notAdmin_updateVariableDebtToken(address) (runs: 1000, μ: 35072, ~: 35072)
[PASS] test_reverts_notRiskAdmin_configureReserveAsCollateral(address) (runs: 1000, μ: 38739, ~: 38739)
[PASS] test_reverts_notRiskAdmin_setAssetCollateralInEMode(address) (runs: 1000, μ: 38873, ~: 38873)
[PASS] test_reverts_notRiskAdmin_setBorrowCap(address) (runs: 1000, μ: 38664, ~: 38664)
[PASS] test_reverts_notRiskAdmin_setEModeCategory(address) (runs: 1000, μ: 39194, ~: 39194)
[PASS] test_reverts_notRiskAdmin_setReserveBorrowing(address) (runs: 1000, μ: 38704, ~: 38704)
[PASS] test_reverts_notRiskAdmin_setReserveFactor(address) (runs: 1000, μ: 38665, ~: 38665)
[PASS] test_reverts_notRiskAdmin_setReserveInterestRateData(address,address) (runs: 1000, μ: 39432, ~: 39432)
[PASS] test_reverts_notRiskAdmin_setReserveInterestRateStrategyAddress(address) (runs: 1000, μ: 39341, ~: 39341)
[PASS] test_reverts_notRiskAdmin_setSupplyCap(address) (runs: 1000, μ: 38576, ~: 38576)
[PASS] test_reverts_notRiskOrPoolOrEmergencyAdmin_setReserveFreeze(address) (runs: 1000, μ: 43222, ~: 43222)
[PASS] test_reverts_setDebtCeiling(address) (runs: 1000, μ: 38688, ~: 38688)
[PASS] test_reverts_setPoolPause_noGracePeriod_unauth(address,bool) (runs: 1000, μ: 38615, ~: 38615)
[PASS] test_reverts_setPoolPause_unauth(address,bool,uint40) (runs: 1000, μ: 56281, ~: 56281)
[PASS] test_reverts_setReservePause_noGracePeriod_off_unauth(address,address,bool) (runs: 1000, μ: 38910, ~: 38910)
[PASS] test_reverts_setReservePause_off_unauth(address,address,bool,uint40) (runs: 1000, μ: 39076, ~: 39076)
[PASS] test_reverts_setReservePause_on_unauth(address,address,bool,uint40) (runs: 1000, μ: 39053, ~: 39053)
Suite result: ok. 24 passed; 0 failed; 0 skipped; finished in 3.50s (3.47s CPU time)
Ran 10 tests for tests/protocol/pool/pool-configurator/PoolConfigurator.borrowCaps.t.sol:PoolConfiguratorBorrowCapTests
[PASS] test_borrow_eq_cap() (gas: 319179)
[PASS] test_borrow_interests_reach_cap() (gas: 321241)
[PASS] test_borrow_lt_cap() (gas: 299555)
[PASS] test_default_borrowCap_zero() (gas: 27576)
[PASS] test_reverts_borrow_after_borrow_interests_reach_cap() (gas: 367830)
[PASS] test_reverts_borrow_gt_cap() (gas: 142932)
[PASS] test_reverts_setBorrowCap_gt_max_cap() (gas: 48767)
[PASS] test_reverts_unauthorized_setBorrowCap() (gas: 35560)
[PASS] test_setBorrowCap() (gas: 78974)
[PASS] test_setBorrowCap_them_setBorrowCap_zero() (gas: 320375)
Suite result: ok. 10 passed; 0 failed; 0 skipped; finished in 41.85ms (10.83ms CPU time)
Ran 13 tests for tests/protocol/pool/pool-configurator/PoolConfigurator.eMode.sol:PoolConfiguratorEModeConfigTests
[PASS] test_addAnotherAssetBorrowableInEMode() (gas: 283558)
[PASS] test_addAnotherAssetCollateralInEMode() (gas: 263699)
[PASS] test_configureEmodeCategory() (gas: 118732)
[PASS] test_removeBorrowableFromEmode() (gas: 195037)
[PASS] test_removeCollateralFromEmode() (gas: 241426)
[PASS] test_reverts_setEmodeCategory_lb_lte_percentageFactor() (gas: 59753)
[PASS] test_reverts_setEmodeCategory_liquidation_threshold_doesnt_match_bonus() (gas: 35848)
[PASS] test_reverts_setEmodeCategory_ltv_gt_liqThreshold() (gas: 34423)
[PASS] test_reverts_setEmodeCategory_zero_liqThreshold() (gas: 34296)
[PASS] test_reverts_setEmodeCategory_zero_ltv() (gas: 34209)
[PASS] test_setAssetBorrowableInEMode() (gas: 214946)
[PASS] test_setAssetCollateralInEMode() (gas: 195056)
[PASS] test_updateEModeCategory() (gas: 204737)
Suite result: ok. 13 passed; 0 failed; 0 skipped; finished in 36.11ms (6.43ms CPU time)
Ran 13 tests for tests/misc/rates/RateStrategy.calculateRates.t.sol:RateStrategyCalculateRatesTests
[PASS] test_calculate_rates_100_percent_usage() (gas: 45080)
[PASS] test_calculate_rates_80_bps_usage() (gas: 45204)
[PASS] test_calculate_rates_80_percent_usage() (gas: 87846)
[PASS] test_calculate_rates_80_percent_usage_and_50_percent_supply_usage_due_minted_tokens() (gas: 43400)
[PASS] test_calculate_rates_80_percent_usage_and_80_bps_supply_usage_due_minted_tokens() (gas: 43422)
[PASS] test_calculate_rates_above_op_usage((uint16,uint32,uint32,uint32),uint256,uint256,uint256) (runs: 1000, μ: 121747, ~: 121850)
[PASS] test_calculate_rates_below_op_usage((uint16,uint32,uint32,uint32),uint256,uint256,uint256) (runs: 1000, μ: 114342, ~: 114402)
[PASS] test_calculate_rates_below_op_usage_when_no_debt((uint16,uint32,uint32,uint32),uint256,uint256) (runs: 1000, μ: 71569, ~: 71868)
[PASS] test_calculate_rates_empty_reserve((uint16,uint32,uint32,uint32)) (runs: 1000, μ: 39906, ~: 39906)
[PASS] test_calculate_rates_when_not_using_virtual_valance((uint16,uint32,uint32,uint32),uint256,uint256) (runs: 1000, μ: 64172, ~: 64889)
[PASS] test_calculate_rates_when_total_debt_0((uint16,uint32,uint32,uint32),uint256,uint256) (runs: 1000, μ: 64399, ~: 65116)
[PASS] test_fuzz_calculate_rates_80_percent_usage_added_and_virtual_equal(uint256) (runs: 1000, μ: 30020, ~: 30020)
[PASS] test_zero_rates_strategy_calculate_rates() (gas: 19324)
Suite result: ok. 13 passed; 0 failed; 0 skipped; finished in 12.04s (12.01s CPU time)
Ran 7 tests for tests/misc/rates/RateStrategy.setters.t.sol:RateStrategySettersTests
[PASS] test_new_SetReserveInterestRateParams((uint16,uint32,uint32,uint32)) (runs: 1000, μ: 48277, ~: 48277)
[PASS] test_new_SetReserveInterestRateParams_when_not_configurator((uint16,uint32,uint32,uint32)) (runs: 1000, μ: 21968, ~: 21968)
[PASS] test_reverts_SetReserveInterestRateParams_when_gt_maxRate((uint16,uint32,uint32,uint32)) (runs: 1000, μ: 25591, ~: 25591)
[PASS] test_reverts_SetReserveInterestRateParams_when_gt_max_op((uint16,uint32,uint32,uint32)) (runs: 1000, μ: 22571, ~: 22571)
[PASS] test_reverts_SetReserveInterestRateParams_when_lt_min_op((uint16,uint32,uint32,uint32)) (runs: 1000, μ: 22620, ~: 22620)
[PASS] test_reverts_SetReserveInterestRateParams_when_reserve_0((uint16,uint32,uint32,uint32)) (runs: 1000, μ: 22898, ~: 22898)
[PASS] test_reverts_SetReserveInterestRateParams_when_slope1_gt_slope2((uint16,uint32,uint32,uint32)) (runs: 1000, μ: 23926, ~: 23926)
Suite result: ok. 7 passed; 0 failed; 0 skipped; finished in 3.05s (3.02s CPU time)
Ran 16 tests for tests/extensions/static-a-token/ERC20AaveLMUpgradable.t.sol:ERC20AaveLMUpgradableTest
[PASS] test_7201() (gas: 3362)
[PASS] test_claimRewards(uint256,uint32,uint88,uint32) (runs: 1000, μ: 854456, ~: 815279)
[PASS] test_claimRewardsOnBehalfOf_self(uint256,uint32,uint88,uint32) (runs: 1000, μ: 854781, ~: 815495)
[PASS] test_claimRewardsOnBehalfOf_shouldRevertForInvalidClaimer(uint256,uint32,uint88,uint32) (runs: 1000, μ: 789644, ~: 791345)
[PASS] test_claimRewardsOnBehalfOf_validClaimer(uint256,uint32,uint88,uint32) (runs: 1000, μ: 884224, ~: 847919)
[PASS] test_claimRewardsToSelf(uint256,uint32,uint88,uint32) (runs: 1000, μ: 852777, ~: 815192)
[PASS] test_claimableRewards(uint256,uint32,uint88,uint32) (runs: 1000, μ: 790793, ~: 792170)
[PASS] test_collectAndUpdateRewards(uint256,uint32,uint88,uint32) (runs: 1000, μ: 833206, ~: 811803)
[PASS] test_correctAccountingForDelayedRegistration() (gas: 840941)
[PASS] test_getReferenceAsset() (gas: 12915)
[PASS] test_isRegisteredRewardToken() (gas: 651565)
[PASS] test_noRewardsInitialized() (gas: 39278)
[PASS] test_noopWhenNotInitialized() (gas: 53277)
[PASS] test_rewardTokens() (gas: 649669)
[PASS] test_transfer(uint256,uint32,uint88,uint32,address,uint256) (runs: 1000, μ: 865249, ~: 882321)
[PASS] test_transfer_toSelf(uint256,uint32,uint88,uint32) (runs: 1000, μ: 822646, ~: 816131)
Suite result: ok. 16 passed; 0 failed; 0 skipped; finished in 16.76s (16.73s CPU time)
Ran 7 tests for tests/misc/rates/RateStrategy.setters.t.sol:RateStrategySettersTestsOverride
[PASS] test_new_SetReserveInterestRateParams((uint16,uint32,uint32,uint32)) (runs: 1000, μ: 47670, ~: 47670)
[PASS] test_new_SetReserveInterestRateParams_when_not_configurator((uint16,uint32,uint32,uint32)) (runs: 1000, μ: 21346, ~: 21346)
[PASS] test_reverts_SetReserveInterestRateParams_when_gt_maxRate((uint16,uint32,uint32,uint32)) (runs: 1000, μ: 24977, ~: 24977)
[PASS] test_reverts_SetReserveInterestRateParams_when_gt_max_op((uint16,uint32,uint32,uint32)) (runs: 1000, μ: 21957, ~: 21957)
[PASS] test_reverts_SetReserveInterestRateParams_when_lt_min_op((uint16,uint32,uint32,uint32)) (runs: 1000, μ: 22006, ~: 22006)
[PASS] test_reverts_SetReserveInterestRateParams_when_reserve_0((uint16,uint32,uint32,uint32)) (runs: 1000, μ: 22284, ~: 22284)
[PASS] test_reverts_SetReserveInterestRateParams_when_slope1_gt_slope2((uint16,uint32,uint32,uint32)) (runs: 1000, μ: 23312, ~: 23312)
Suite result: ok. 7 passed; 0 failed; 0 skipped; finished in 3.15s (3.12s CPU time)
Ran 15 tests for tests/misc/rates/RateStrategy.t.sol:RateStrategyBaseTests
[PASS] test_getInterestRateDataBps((uint16,uint32,uint32,uint32)) (runs: 1000, μ: 36122, ~: 36122)
[PASS] test_getInterestRateDataRay((uint16,uint32,uint32,uint32)) (runs: 1000, μ: 37058, ~: 37058)
[PASS] test_getMaxVariableBorrowRate((uint16,uint32,uint32,uint32)) (runs: 1000, μ: 34549, ~: 34549)
[PASS] test_initialization() (gas: 27135)
[PASS] test_new_DefaultReserveInterestRateStrategy_wrong_provider() (gas: 42161)
[PASS] test_new_SetReserveInterestRateParams((uint16,uint32,uint32,uint32)) (runs: 1000, μ: 48249, ~: 48249)
[PASS] test_new_SetReserveInterestRateParams_override_method((uint16,uint32,uint32,uint32)) (runs: 1000, μ: 45449, ~: 45449)
[PASS] test_new_SetReserveInterestRateParams_when_not_configurator((uint16,uint32,uint32,uint32)) (runs: 1000, μ: 21994, ~: 21994)
[PASS] test_overflow_liquidity_rates() (gas: 59622)
[PASS] test_overflow_variable_rates() (gas: 546427)
[PASS] test_reverts_SetReserveInterestRateParams_when_gt_maxRate((uint16,uint32,uint32,uint32)) (runs: 1000, μ: 35046, ~: 35046)
[PASS] test_reverts_SetReserveInterestRateParams_when_gt_max_op((uint16,uint32,uint32,uint32)) (runs: 1000, μ: 31579, ~: 31579)
[PASS] test_reverts_SetReserveInterestRateParams_when_lt_min_op((uint16,uint32,uint32,uint32)) (runs: 1000, μ: 31657, ~: 31657)
[PASS] test_reverts_SetReserveInterestRateParams_when_reserve_0((uint16,uint32,uint32,uint32)) (runs: 1000, μ: 28012, ~: 28012)
[PASS] test_reverts_SetReserveInterestRateParams_when_slope1_gt_slope2(uint16,uint32,uint32,uint32) (runs: 1000, μ: 33780, ~: 33780)
Suite result: ok. 15 passed; 0 failed; 0 skipped; finished in 6.30s (6.27s CPU time)
Ran 15 tests for tests/extensions/RevenueSplitter.t.sol:RevenueSplitterTest
[PASS] test_constructor() (gas: 15325)
[PASS] test_constructor_fuzzing(uint16) (runs: 1000, μ: 465959, ~: 465959)
[PASS] test_constructor_revert_invalid_split_percentage() (gas: 174125)
[PASS] test_splitFund_oneToken() (gas: 425638)
[PASS] test_splitFund_reverts_randomAddress() (gas: 53913)
[PASS] test_splitFund_zeroAmount_noOp() (gas: 386483)
[PASS] test_splitFund_zeroFunds_noOp() (gas: 50987)
[PASS] test_splitFund_zeroTokens_noOp() (gas: 385400)
[PASS] test_splitFunds_fixed() (gas: 462602)
[PASS] test_splitFunds_fuzz_max(uint256,uint256) (runs: 1000, μ: 463220, ~: 464794)
[PASS] test_splitFunds_fuzz_realistic(uint256,uint256) (runs: 1000, μ: 462133, ~: 463248)
[PASS] test_splitNativeFund_fixedAmount() (gas: 100550)
[PASS] test_splitNativeFund_walletNotAcceptingFunds() (gas: 546103)
[PASS] test_splitNativeFund_zeroAmount_noOp() (gas: 29788)
[PASS] test_splitNativeFunds_fuzz_max(uint256) (runs: 1000, μ: 100698, ~: 101976)
Suite result: ok. 15 passed; 0 failed; 0 skipped; finished in 3.29s (3.29s CPU time)
Ran 19 tests for tests/rewards/RewardsController.t.sol:RewardsControllerTest
[PASS] test_accrueRewards() (gas: 936113)
[PASS] test_claimAllRewards() (gas: 891597)
[PASS] test_claimAllRewardsOnBehalf() (gas: 925323)
[PASS] test_claimAllRewardsToSelf() (gas: 891223)
[PASS] test_claimRewards() (gas: 888360)
[PASS] test_claimRewardsOnBehalf() (gas: 926916)
[PASS] test_claimRewardsToSelf() (gas: 888041)
[PASS] test_claimRewards_partial() (gas: 888633)
[PASS] test_claimRewards_zero() (gas: 640635)
[PASS] test_claimRewards_zero_with_rewards() (gas: 647487)
[PASS] test_configureAssets() (gas: 621605)
[PASS] test_initialize_no_op() (gas: 3736168)
[PASS] test_new_RewardsController() (gas: 3712512)
[PASS] test_reverts_initialize_twice() (gas: 3737756)
[PASS] test_setClaimer() (gas: 58290)
[PASS] test_setDistributionEnd() (gas: 637521)
[PASS] test_setEmissionPerSecond() (gas: 641682)
[PASS] test_setRewardOracle() (gas: 716252)
[PASS] test_setTransferStrategy_PullRewardsTransferStrategy() (gas: 921447)
Suite result: ok. 19 passed; 0 failed; 0 skipped; finished in 48.79ms (13.64ms CPU time)
Ran 1 test for tests/protocol/tokenization/ScaledBalanceTokenBase.t.sol:ScaledBalanceTokenBaseEdgeTests
[PASS] test_scaled_balance_token_base_alice_transfer_to_bob_accrues_interests() (gas: 98875)
Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 28.47ms (226.15µs CPU time)
Ran 5 tests for tests/rewards/StakedTokenTransferStrategy.t.sol:StakedTokenTransferStrategyTest
[PASS] test_dropApproval() (gas: 19000)
[PASS] test_emergencyTransfer() (gas: 219104)
[PASS] test_getters() (gas: 18748)
[PASS] test_performTransfer() (gas: 22047)
[PASS] test_renewApproval() (gas: 23130)
Suite result: ok. 5 passed; 0 failed; 0 skipped; finished in 27.02ms (1.00ms CPU time)
Ran 3 tests for tests/extensions/static-a-token/StataTokenV2Getters.sol:StataTokenV2GettersTest
[PASS] testAdmin() (gas: 22534)
[PASS] test_getters() (gas: 59504)
[PASS] test_initializeShouldRevert() (gas: 24038)
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 28.14ms (304.16µs CPU time)
Ran 11 tests for tests/extensions/static-a-token/StataTokenV2Pausable.t.sol:StataTokenV2PausableTest
[PASS] testAdmin() (gas: 22578)
[PASS] test_canPause() (gas: 29271)
[PASS] test_canPause_shouldReturnFalse(address) (runs: 1000, μ: 29771, ~: 29771)
[PASS] test_claimingRewards_shouldRevert() (gas: 554713)
[PASS] test_deposit_shouldRevert() (gas: 482935)
[PASS] test_mint_shouldRevert() (gas: 487305)
[PASS] test_redeem_shouldRevert() (gas: 583478)
[PASS] test_setPaused_shouldRevertForInvalidCaller(address) (runs: 1000, μ: 32840, ~: 32840)
[PASS] test_setPaused_shouldSucceedForOwner() (gas: 57072)
[PASS] test_transfer_shouldRevert() (gas: 552621)
[PASS] test_withdraw_shouldRevert() (gas: 576435)
Suite result: ok. 11 passed; 0 failed; 0 skipped; finished in 173.09ms (145.30ms CPU time)
Ran 4 tests for tests/extensions/static-a-token/StataTokenV2Permit.sol:StataTokenV2PermitTest
[PASS] testAdmin() (gas: 22523)
[PASS] test_permit() (gas: 92929)
[PASS] test_permit_expired() (gas: 40677)
[PASS] test_permit_invalidSigner() (gas: 69194)
Suite result: ok. 4 passed; 0 failed; 0 skipped; finished in 29.87ms (1.29ms CPU time)
Ran 17 tests for tests/extensions/v3-config-engine/AaveV3ConfigEngineTest.t.sol:AaveV3ConfigEngineTest
[PASS] testAssetEModeUpdates() (gas: 3676875)
[PASS] testBorrowUpdatesNoChange() (gas: 2686619)
[PASS] testBorrowsUpdates() (gas: 2749527)
[PASS] testCapsUpdate() (gas: 2690122)
[PASS] testCollateralUpdateCorrectBonus() (gas: 2706353)
[PASS] testCollateralUpdateWrongBonus() (gas: 764786)
[PASS] testCollateralsUpdates() (gas: 2705877)
[PASS] testCollateralsUpdatesNoChange() (gas: 2684748)
[PASS] testEModeCategoryUpdates() (gas: 2768353)
[PASS] testEModeCategoryUpdatesNoChange() (gas: 2677116)
[PASS] testEModeCategoryUpdatesWrongBonus() (gas: 751575)
[PASS] testFailCollateralsUpdatesNoChange() (gas: 1707670)
[PASS] testFailEModeCategoryUpdatesNoChange() (gas: 769525)
[PASS] testListings() (gas: 5901568)
[PASS] testListingsCustom() (gas: 9687958)
[PASS] testPriceFeedsUpdates() (gas: 2765753)
[PASS] testRateStrategiesUpdates() (gas: 2753412)
Suite result: ok. 17 passed; 0 failed; 0 skipped; finished in 29.66s (29.63s CPU time)
Ran 2 tests for tests/deployments/AaveV3PermissionsTest.t.sol:AaveV3PermissionsTest
[PASS] testCheckPermissions() (gas: 55952373)
[PASS] testCheckPermissionsTreasuryPartner() (gas: 56452247)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 38.42ms (33.44ms CPU time)
Ran 5 tests for tests/extensions/static-a-token/StataTokenV2Rescuable.sol:StataTokenV2RescuableTest
[PASS] testAdmin() (gas: 22523)
[PASS] test_rescuable_shouldNotCauseInsolvency(uint256,uint256) (runs: 1000, μ: 783383, ~: 783388)
[PASS] test_rescuable_shouldRevertForInvalidCaller() (gas: 199120)
[PASS] test_rescuable_shouldTransferAssetsToCollector() (gas: 227100)
[PASS] test_rescuable_shouldWorkForAToken() (gas: 454249)
Suite result: ok. 5 passed; 0 failed; 0 skipped; finished in 2.51s (2.48s CPU time)
Ran 7 tests for tests/protocol/configuration/AddressesProviderRegistry.t.sol:PoolAddressesProviderRegistryTest
[PASS] testAddAddressesProvider() (gas: 120634)
[PASS] testRemoveAddressesProvider() (gas: 97184)
[PASS] testRemoveMultipleAddressesProvider() (gas: 243012)
[PASS] test_addressesProviderAddedToRegistry() (gas: 16371)
[PASS] test_removesLastProvider() (gas: 32662)
[PASS] test_revert_registry_0() (gas: 15592)
[PASS] test_revert_removeNonExistingAddressesProvider() (gas: 27620)
Suite result: ok. 7 passed; 0 failed; 0 skipped; finished in 30.35ms (1.73ms CPU time)
Ran 1 test for tests/template/BaseTest.t.sol:BaseTest
[PASS] test_default() (gas: 251763)
Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 29.31ms (410.75µs CPU time)
Ran 5 tests for tests/protocol/libraries/math/MathUtils.t.sol:MathUtilsTests
[PASS] test_calculateCompoundInterest_1() (gas: 10358)
[PASS] test_calculateCompoundInterest_2() (gas: 10355)
[PASS] test_calculateCompoundInterest_edge() (gas: 9177)
[PASS] test_calculateLinearInterest() (gas: 9220)
[PASS] test_constants() (gas: 8338)
Suite result: ok. 5 passed; 0 failed; 0 skipped; finished in 1.21ms (175.67µs CPU time)
Ran 22 tests for tests/extensions/paraswap-adapters/ParaswapAdapters.t.sol:ParaswapAdaptersTest
[PASS] test_batchClaimToCollector() (gas: 90089)
[PASS] test_batchGetClaimable() (gas: 49436)
[PASS] test_claimToCollector() (gas: 90743)
[PASS] test_getClaimable() (gas: 46540)
[PASS] test_getters() (gas: 13875)
[PASS] test_rescueTokens() (gas: 203738)
[PASS] test_reverts_offset_out_of_range_swap_liquidity_permit_flashloan() (gas: 753519)
[PASS] test_reverts_swapAndDeposit_offset() (gas: 824937)
[PASS] test_reverts_swapAndRepay_offset_out_of_range() (gas: 927714)
[PASS] test_reverts_withdrawAndSwap_offset_out_of_range() (gas: 804806)
[PASS] test_swapAndDeposit() (gas: 906973)
[PASS] test_swapAndDeposit_permit() (gas: 954079)
[PASS] test_swapAndRepay() (gas: 1008326)
[PASS] test_swapAndRepay_flashloan() (gas: 1099831)
[PASS] test_swapAndRepay_flashloan_permit() (gas: 1142502)
[PASS] test_swapAndRepay_no_collateral_leftovers() (gas: 1058065)
[PASS] test_swapAndRepay_permit() (gas: 1055275)
[PASS] test_swap_liquidity_flashloan() (gas: 1018136)
[PASS] test_swap_liquidity_permit_flashloan() (gas: 1060764)
[PASS] test_withdrawAndSwap() (gas: 823796)
[PASS] test_withdrawAndSwap_permit() (gas: 867005)
[PASS] test_withdrawSwapAdapter_reverts_flashloan() (gas: 533596)
Suite result: ok. 22 passed; 0 failed; 0 skipped; finished in 65.64ms (35.31ms CPU time)
Ran 5 tests for tests/protocol/libraries/math/PercentageMath.t.sol:PercentageMathTests
[PASS] test_constants() (gas: 10180)
[PASS] test_percentDiv() (gas: 11166)
[PASS] test_percentDiv_fuzz(uint256,uint256) (runs: 1000, μ: 10563, ~: 10695)
[PASS] test_percentMul() (gas: 11173)
[PASS] test_percentMul_fuzz(uint256,uint256) (runs: 1000, μ: 10660, ~: 11227)
Suite result: ok. 5 passed; 0 failed; 0 skipped; finished in 87.59ms (86.57ms CPU time)
Ran 18 tests for tests/protocol/pool/Pool.Borrow.t.sol:PoolBorrowTests
[PASS] test_borrow_variable_in_isolation() (gas: 566448)
[PASS] test_reverts_borrow_cap() (gas: 304003)
[PASS] test_reverts_borrow_collateral_balance_zero() (gas: 81714)
[PASS] test_reverts_borrow_collateral_can_not_cover() (gas: 315425)
[PASS] test_reverts_borrow_debt_ceiling() (gas: 655558)
[PASS] test_reverts_borrow_debt_ceiling_exceeded() (gas: 398189)
[PASS] test_reverts_borrow_hf_lt_1() (gas: 564463)
[PASS] test_reverts_borrow_inconsistent_emode_category() (gas: 429546)
[PASS] test_reverts_borrow_invalidAmount() (gas: 65144)
[PASS] test_reverts_borrow_not_borrowable_isolation() (gas: 380225)
[PASS] test_reverts_borrow_reserveFrozen() (gas: 133125)
[PASS] test_reverts_borrow_reserveInactive() (gas: 146318)
[PASS] test_reverts_borrow_reservePaused() (gas: 103820)
[PASS] test_reverts_borrow_sentinel_oracle_down() (gas: 316143)
[PASS] test_reverts_borrow_sioled_borrowing_violation() (gas: 716167)
[PASS] test_reverts_deprecated_stable_borrow() (gas: 407344)
[PASS] test_reverts_variable_borrow_transferred_funds() (gas: 381807)
[PASS] test_variable_borrow() (gas: 347007)
Suite result: ok. 18 passed; 0 failed; 0 skipped; finished in 42.88ms (13.35ms CPU time)
Ran 18 tests for tests/protocol/tokenization/VariableDebtToken.t.sol:VariableDebtTokenEventsTests
[PASS] test_balanceOf() (gas: 242250)
[PASS] test_cancel_delegationWithSig() (gas: 102000)
[PASS] test_delegationWithSig() (gas: 95358)
[PASS] test_initialize_VariableDebtToken((uint8,string,string,string,string,address,address,address,bool)) (runs: 1000, μ: 2778239, ~: 2779705)
[PASS] test_mint_variableDebt_caller_alice((uint8,string,string,string,string,address,address,address,bool)) (runs: 1000, μ: 2851909, ~: 2852075)
[PASS] test_mint_variableDebt_caller_bob_onBehalf_alice((uint8,string,string,string,string,address,address,address,bool)) (runs: 1000, μ: 2867460, ~: 2866300)
[PASS] test_new_VariableDebtToken_implementation() (gas: 1600014)
[PASS] test_partial_burn_variableDebt((uint8,string,string,string,string,address,address,address,bool)) (runs: 1000, μ: 2866446, ~: 2866447)
[PASS] test_reverts_bad_expiration_delegationWithSig() (gas: 34298)
[PASS] test_reverts_bad_nonce_delegationWithSig() (gas: 111223)
[PASS] test_reverts_initialize_pool_do_not_match((uint8,string,string,string,string,address,address,address,bool)) (runs: 1000, μ: 2667005, ~: 2667144)
[PASS] test_reverts_initialize_twice((uint8,string,string,string,string,address,address,address,bool)) (runs: 1000, μ: 3730450, ~: 3729292)
[PASS] test_reverts_operation_not_supported() (gas: 1618700)
[PASS] test_reverts_zero_address_delegationWithSig() (gas: 33605)
[PASS] test_scaledBalanceOf() (gas: 321977)
[PASS] test_totalScaledSupply() (gas: 360681)
[PASS] test_totalSupply() (gas: 360610)
[PASS] test_total_burn_variableDebt((uint8,string,string,string,string,address,address,address,bool)) (runs: 1000, μ: 2869267, ~: 2866367)
Suite result: ok. 18 passed; 0 failed; 0 skipped; finished in 5.52s (5.49s CPU time)
Ran 12 tests for tests/protocol/libraries/math/WadRayMath.t.sol:WadRayMathTests
[PASS] test_constants() (gas: 13308)
[PASS] test_rayDiv() (gas: 12777)
[PASS] test_rayMul() (gas: 11394)
[PASS] test_rayToWad() (gas: 11075)
[PASS] test_rayToWad_fuzz(uint256) (runs: 1000, μ: 13350, ~: 13301)
[PASS] test_wadDiv() (gas: 12898)
[PASS] test_wadDiv_fuzzing(uint256,uint256) (runs: 1000, μ: 10509, ~: 10740)
[PASS] test_wadMul() (gas: 11164)
[PASS] test_wadMul_edge() (gas: 11212)
[PASS] test_wadMul_fuzzing(uint256,uint256) (runs: 1000, μ: 10813, ~: 11359)
[PASS] test_wadToRay() (gas: 10885)
[PASS] test_wadToRay_fuzz(uint256) (runs: 1000, μ: 12140, ~: 12368)
Suite result: ok. 12 passed; 0 failed; 0 skipped; finished in 207.00ms (205.89ms CPU time)
Ran 14 tests for tests/helpers/WrappedTokenGateway.t.sol:WrappedTokenGatewayTests
[PASS] test_borrowDelegateApprove_repay() (gas: 475984)
[PASS] test_borrowVariableDebtWeth_repayWithEth() (gas: 811823)
[PASS] test_borrowVariableDebtWeth_repayWithEth_mismatchedValues() (gas: 808177)
[PASS] test_depositNativeEthInPool() (gas: 255803)
[PASS] test_fallback_revert() (gas: 10049)
[PASS] test_getWETHAddress() (gas: 10552)
[PASS] test_ownerCanRescueEth() (gas: 25281)
[PASS] test_ownerCanRescueTokens() (gas: 96983)
[PASS] test_sendEthFallback_revert() (gas: 16714)
[PASS] test_sendEth_revert() (gas: 16590)
[PASS] test_withdrawEth_full() (gas: 389356)
[PASS] test_withdrawEth_partial() (gas: 410448)
[PASS] test_withdrawEth_permit() (gas: 444815)
[PASS] test_withdrawEth_permit_full() (gas: 420023)
Suite result: ok. 14 passed; 0 failed; 0 skipped; finished in 36.53ms (9.35ms CPU time)
Ran 6 tests for tests/misc/aave-upgradeability/InitializableImmutableAdminUpgradeabilityProxy.t.sol:InitializableImmutableAdminUpgradeabilityProxyTests
[PASS] test_proxy_fallback() (gas: 609072)
[PASS] test_proxy_upgradeTo() (gas: 631037)
[PASS] test_proxy_upgradeToAndCall() (gas: 636947)
[PASS] test_proxy_upgradeToAndCall_initialize() (gas: 606146)
[PASS] test_reverts_upgradeToAndCall_notAdmin() (gas: 612062)
[PASS] test_reverts_upgradeTo_notAdmin() (gas: 609855)
Suite result: ok. 6 passed; 0 failed; 0 skipped; finished in 2.93ms (1.65ms CPU time)
Ran 11 tests for tests/protocol/pool/Pool.EMode.sol:PoolEModeTests
[PASS] test_borrowing_shouldRevert_ifNonBorrowableOutsideEmode(uint256) (runs: 1000, μ: 521055, ~: 521138)
[PASS] test_getUserAccountData_shouldReflectEmodeParams() (gas: 460818)
[PASS] test_getUserAccountData_shouldReflectMixedCollateral() (gas: 653579)
[PASS] test_getUserEMode_shouldReflectEMode() (gas: 197991)
[PASS] test_liquidations_shouldApplyEModeLBForEmodeAssets(uint256) (runs: 1000, μ: 1099160, ~: 1099238)
[PASS] test_reenterSameEmode_shouldSucceed() (gas: 207316)
[PASS] test_setUserEMode_shouldAllowSwitchingIfNoBorrows(uint8) (runs: 1000, μ: 292763, ~: 296304)
[PASS] test_setUserEMode_shouldRevertForNonExistingEmode() (gas: 35053)
[PASS] test_setUserEmode_shouldAllowSwitchingWhenAssetIsBorrowableInEmode(uint104) (runs: 1000, μ: 1012250, ~: 1012467)
[PASS] test_setUserEmode_shouldRevertIfAssetNoLongerBorrowable(uint104) (runs: 1000, μ: 915832, ~: 916051)
[PASS] test_setUserEmode_shouldRevertIfHfWouldFallBelow1(uint104) (runs: 1000, μ: 971251, ~: 971457)
Suite result: ok. 11 passed; 0 failed; 0 skipped; finished in 10.19s (10.16s CPU time)
Ran 17 tests for tests/protocol/pool/Pool.FlashLoans.t.sol:PoolFlashLoansTests
[PASS] test_flashloan() (gas: 216415)
[PASS] test_flashloan_borrow() (gas: 529905)
[PASS] test_flashloan_multiple() (gas: 329836)
[PASS] test_flashloan_simple() (gas: 180346)
[PASS] test_flashloan_simple_2() (gas: 180346)
[PASS] test_revert_flashloan_borrow_stable() (gas: 213115)
[PASS] test_reverts_flashLoan_invalid_return() (gas: 183836)
[PASS] test_reverts_flashLoan_reserve_inactive() (gas: 153047)
[PASS] test_reverts_flashLoan_reserve_not_flash_loan_enabled() (gas: 105719)
[PASS] test_reverts_flashLoan_reserve_paused() (gas: 102464)
[PASS] test_reverts_flashLoan_same_asset_more_then_once(uint8) (runs: 1000, μ: 166281, ~: 128763)
[PASS] test_reverts_flashLoan_simple_invalid_return() (gas: 144763)
[PASS] test_reverts_flashloan_simple_transferred_funds() (gas: 175254)
[PASS] test_reverts_flashloan_transferred_funds() (gas: 205667)
[PASS] test_reverts_flashloans_eoa() (gas: 113381)
[PASS] test_reverts_supply_flashloan_simple_transfer_withdraw() (gas: 866121)
[PASS] test_reverts_supply_flashloan_transfer_withdraw() (gas: 898769)
Suite result: ok. 17 passed; 0 failed; 0 skipped; finished in 1.04s (1.01s CPU time)
Ran 47 tests for tests/protocol/pool/L2Pool.t.sol:L2PoolTests
[PASS] test_dropReserve() (gas: 104892)
[PASS] test_getBorrowLogic() (gas: 13633)
[PASS] test_getBridgeLogic() (gas: 13697)
[PASS] test_getEModeLogic() (gas: 13699)
[PASS] test_getFlashLoanLogic() (gas: 13698)
[PASS] test_getLiquidationLogic() (gas: 13720)
[PASS] test_getPoolLogic() (gas: 13697)
[PASS] test_getSupplyLogic() (gas: 13718)
[PASS] test_getVirtualUnderlyingBalance() (gas: 250689)
[PASS] test_getters_getUserAccountData() (gas: 598917)
[PASS] test_l2_borrow() (gas: 431909)
[PASS] test_l2_liquidationCall() (gas: 1118796)
[PASS] test_l2_partial_withdraw() (gas: 307185)
[PASS] test_l2_repay() (gas: 460459)
[PASS] test_l2_repay_atokens() (gas: 467644)
[PASS] test_l2_repay_permit(uint128,uint128,uint128,uint128,uint128) (runs: 1000, μ: 640063, ~: 650908)
[PASS] test_l2_set_user_collateral() (gas: 264749)
[PASS] test_l2_supply() (gas: 248201)
[PASS] test_l2_supply_permit(uint128,uint128) (runs: 1000, μ: 424650, ~: 424652)
[PASS] test_l2_withdraw() (gas: 243143)
[PASS] test_mintToTreasury() (gas: 697677)
[PASS] test_mintToTreasury_skip_invalid_addresses() (gas: 702321)
[PASS] test_noop_setUserUseReserveAsCollateral_true_when_already_is_activated() (gas: 291321)
[PASS] test_pool_defaultValues() (gas: 4531512)
[PASS] test_rescueTokens(uint256) (runs: 1000, μ: 81970, ~: 82261)
[PASS] test_resetIsolationModeTotalDebt() (gas: 729628)
[PASS] test_reverts_initReserve_not_poolConfigurator(address) (runs: 1000, μ: 25572, ~: 25572)
[PASS] test_reverts_modifiers_not_poolConfigurator(address) (runs: 1000, μ: 128037, ~: 128037)
[PASS] test_reverts_new_Pool_invalidAddressesProvider() (gas: 4543695)
[PASS] test_reverts_setReserveInterestRateStrategyAddress_AssetNotListed(address,address) (runs: 1000, μ: 40800, ~: 40800)
[PASS] test_reverts_setReserveInterestRateStrategyAddress_ZeroAssetAddress(address) (runs: 1000, μ: 22765, ~: 22765)
[PASS] test_reverts_setUserEmode_0_bad_hf() (gas: 979653)
[PASS] test_reverts_setUserUseReserveAsCollateral_false_hf_lower_lqt() (gas: 600962)
[PASS] test_reverts_setUserUseReserveAsCollateral_true_ltv_zero() (gas: 299422)
[PASS] test_reverts_setUserUseReserveAsCollateral_true_reserve_inactive() (gas: 223218)
[PASS] test_reverts_setUserUseReserveAsCollateral_true_reserve_paused() (gas: 294256)
[PASS] test_reverts_setUserUseReserveAsCollateral_true_user_balance_zero() (gas: 71947)
[PASS] test_reverts_setUserUseReserveAsCollateral_true_user_isolation_mode() (gas: 787145)
[PASS] test_setLiquidationGracePeriod(uint40) (runs: 1000, μ: 36865, ~: 36944)
[PASS] test_setLiquidationGracePeriod_assetNotListed(uint40) (runs: 1000, μ: 27148, ~: 27148)
[PASS] test_setReserveInterestRateStrategyAddress() (gas: 916959)
[PASS] test_setUserEmode() (gas: 228754)
[PASS] test_setUserEmode_twice() (gas: 371529)
[PASS] test_setUserEmode_twice_inconsistent_category() (gas: 980098)
[PASS] test_setUserUseReserveAsCollateral_false() (gas: 240652)
[PASS] test_setUserUseReserveAsCollateral_true() (gas: 278311)
[PASS] test_updateBridgeProtocolFee() (gas: 188)
Suite result: ok. 47 passed; 0 failed; 0 skipped; finished in 5.75s (5.72s CPU time)
Ran 11 tests for tests/protocol/pool/pool-configurator/PoolConfigurator.supplyCaps.t.sol:PoolConfiguratorSupplyCapTests
[PASS] test_default_supplyCap_zero() (gas: 27554)
[PASS] test_multiple_setSupplyCap() (gas: 372397)
[PASS] test_reverts_interests_gt_cap_and_supply() (gas: 478417)
[PASS] test_reverts_setSupplyCap_gt_max_cap() (gas: 48723)
[PASS] test_reverts_supply_gt_cap() (gas: 125044)
[PASS] test_reverts_unauthorized_setSupplyCap() (gas: 35497)
[PASS] test_setSupplyCap() (gas: 79009)
[PASS] test_setSupplyCap_them_setBorrowCap_zero() (gas: 319518)
[PASS] test_supply_eq_cap() (gas: 300599)
[PASS] test_supply_interests_reach_cap() (gas: 439634)
[PASS] test_supply_lt_cap() (gas: 300600)
Suite result: ok. 11 passed; 0 failed; 0 skipped; finished in 34.97ms (5.65ms CPU time)
Ran 6 tests for tests/protocol/pool/pool-configurator/PoolConfigurator.upgradeabilty.t.sol:PoolConfiguratorUpgradeabilityTests
[PASS] test_getConfiguratorLogic() (gas: 13623)
[PASS] test_interestRateStrategy_update() (gas: 1851120)
[PASS] test_setReserveInterestRateData() (gas: 151921)
[PASS] test_setReserveInterestRateStrategyAddress() (gas: 1026035)
[PASS] test_updateAToken() (gas: 2346449)
[PASS] test_updateVariableDebtToken() (gas: 1732391)
Suite result: ok. 6 passed; 0 failed; 0 skipped; finished in 33.08ms (4.05ms CPU time)
Ran 3 tests for tests/protocol/libraries/logic/PoolLogic.initReserves.edge.t.sol:PoolLogicInitReservesTests
[PASS] test_initReserves_return_false_after_dropped_reserve() (gas: 683401)
[PASS] test_reverts_initReserves_max() (gas: 198193)
[PASS] test_reverts_initReserves_reserveAlreadyAdded() (gas: 221608)
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 29.28ms (649.78µs CPU time)
Ran 11 tests for tests/misc/PriceOracleSentinel.t.sol:PriceOracleSentinelTest
[PASS] test_isBorrowAllowed_network_down() (gas: 27254)
[PASS] test_isBorrowAllowed_network_up_not_grace_period() (gas: 46960)
[PASS] test_isBorrowAllowed_true_network_up_grace_period_pass() (gas: 47013)
[PASS] test_isLiquidationAllowed_network_down() (gas: 27165)
[PASS] test_isLiquidationAllowed_network_up_not_grace_period() (gas: 46937)
[PASS] test_isLiquidationAllowed_true_network_up_grace_period_pass() (gas: 47034)
[PASS] test_new_PriceOracleSentinel() (gas: 432463)
[PASS] test_reverts_setGracePeriod_not_poolAdmin() (gas: 25864)
[PASS] test_reverts_setSequencerOracle_not_poolAdmin() (gas: 22767)
[PASS] test_setGracePeriod() (gas: 32524)
[PASS] test_setSequencerOracle() (gas: 24656)
Suite result: ok. 11 passed; 0 failed; 0 skipped; finished in 30.89ms (983.65µs CPU time)
Ran 28 tests for tests/extensions/static-a-token/ERC4626StataTokenUpgradeable.t.sol:ERC4626StataTokenUpgradeableTest
[PASS] test_7201() (gas: 3429)
[PASS] test_convertersAndPreviews(uint128) (runs: 1000, μ: 43382, ~: 43382)
[PASS] test_depositATokens(uint128,address) (runs: 1000, μ: 528261, ~: 528192)
[PASS] test_depositATokens_self() (gas: 528196)
Logs:
Bound result 1000000000000000000
[PASS] test_depositWithPermit_aToken(uint128,address) (runs: 1000, μ: 557153, ~: 557085)
[PASS] test_depositWithPermit_emptyPermit_aToken_preApproval(uint128,address) (runs: 1000, μ: 534503, ~: 534434)
[PASS] test_depositWithPermit_emptyPermit_underlying_preApproval(uint128,address) (runs: 1000, μ: 469949, ~: 469883)
[PASS] test_depositWithPermit_shouldRevert_emptyPermit_noPreApproval(uint128) (runs: 1000, μ: 398717, ~: 398614)
[PASS] test_depositWithPermit_underlying(uint128,address) (runs: 1000, μ: 488268, ~: 488196)
[PASS] test_deposit_shouldRevert_insufficientAllowance(uint128) (runs: 1000, μ: 389461, ~: 389360)
[PASS] test_latestAnswer_priceShouldBeEqualOnDefaultIndex() (gas: 37252)
[PASS] test_latestAnswer_priceShouldReflectIndexAccrual(uint256) (runs: 1000, μ: 42193, ~: 42218)
[PASS] test_maxDeposit_cap(uint256) (runs: 1000, μ: 112069, ~: 112294)
[PASS] test_maxDeposit_freeze() (gas: 118754)
[PASS] test_maxDeposit_noCap() (gas: 100074)
[PASS] test_maxDeposit_paused() (gas: 91966)
[PASS] test_maxRedeem_inSufficientAvailableLiquidity(uint256) (runs: 1000, μ: 992309, ~: 992438)
[PASS] test_maxRedeem_paused(uint128) (runs: 1000, μ: 558529, ~: 558438)
[PASS] test_maxRedeem_sufficientAvailableLiquidity(uint128) (runs: 1000, μ: 527001, ~: 526905)
[PASS] test_mint(uint256,address) (runs: 1000, μ: 462300, ~: 462133)
[PASS] test_mint_shouldRevert_mintMoreThenBalance(uint256,address) (runs: 1000, μ: 253052, ~: 252883)
[PASS] test_redeem(uint256,address) (runs: 1000, μ: 586918, ~: 586755)
[PASS] test_redeemATokens(uint256,address) (runs: 1000, μ: 590124, ~: 589948)
[PASS] test_redeemATokens_onBehalf(uint256) (runs: 1000, μ: 610668, ~: 610482)
[PASS] test_redeemATokens_onBehalf_shouldRevert_insufficientAllowance(uint256,uint256) (runs: 1000, μ: 542104, ~: 542716)
[PASS] test_totalAssets_shouldbeZeroOnZeroSupply() (gas: 26097)
[PASS] test_withdraw(uint256,address) (runs: 1000, μ: 590670, ~: 590508)
[PASS] test_withdraw_shouldRevert_moreThenAvailable(uint256,address) (runs: 1000, μ: 531214, ~: 531049)
Suite result: ok. 28 passed; 0 failed; 0 skipped; finished in 26.36s (26.33s CPU time)
Ran 9 tests for tests/rewards/EmissionsManager.t.sol:EmissionManagerTest
[PASS] test_configureAssets() (gas: 602198)
[PASS] test_new_EmissionManager() (gas: 776194)
[PASS] test_setClaimer() (gas: 51492)
[PASS] test_setDistributionEnd() (gas: 609495)
[PASS] test_setEmissionAdmin() (gas: 43028)
[PASS] test_setEmissionPerSecond() (gas: 616148)
[PASS] test_setRewardOracle() (gas: 692227)
[PASS] test_setRewardsController() (gas: 19100)
[PASS] test_setTransferStrategy() (gas: 896512)
Suite result: ok. 9 passed; 0 failed; 0 skipped; finished in 31.85ms (1.96ms CPU time)
Ran 3 tests for tests/protocol/pool/pool-configurator/PoolConfigurator.pendingLTV.t.sol:PoolConfiguratorPendingLtvTests
[PASS] test_freezeReserve_ltvSetTo0() (gas: 108003)
[PASS] test_setLtv_ltvSetPendingLtvSet(uint256,uint256) (runs: 1000, μ: 144360, ~: 144360)
[PASS] test_unfreezeReserve_pendingSetToLtv() (gas: 109513)
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 905.64ms (876.45ms CPU time)
Ran 44 tests for tests/protocol/pool/pool-configurator/PoolConfigurator.reserveRiskConfig.t.sol:PoolConfiguratorReserveRiskConfigs
[PASS] test_EmergencyAdminSetReserveFreeze_true() (gas: 137200)
[PASS] test_PoolAdminSetReserveFreeze_true() (gas: 101447)
[PASS] test_RiskAdminSetReserveFreeze_true() (gas: 130877)
[PASS] test_bridgeProtocolFee() (gas: 73060)
[PASS] test_disableLiquidationGracePeriod() (gas: 80614)
[PASS] test_dropReserve() (gas: 145129)
[PASS] test_enableBorrowing((uint8,string,string,string,string,address,address,address,bool)) (runs: 1000, μ: 2663910, ~: 2662651)
[PASS] test_enableFlashBorrow((uint8,string,string,string,string,address,address,address,bool)) (runs: 1000, μ: 2655246, ~: 2653293)
[PASS] test_reverts_bridgeProtocolFee() (gas: 30188)
[PASS] test_reverts_dropReserve_notListed() (gas: 53479)
[PASS] test_reverts_dropReserve_supplyNotZero() (gas: 300578)
[PASS] test_reverts_dropReserve_variableDebtNotZero() (gas: 459918)
[PASS] test_reverts_dropReserve_zeroAddress() (gas: 47369)
[PASS] test_reverts_setCollateralConfig_invalidParams((uint8,string,string,string,string,address,address,address,bool)) (runs: 1000, μ: 2899705, ~: 2900595)
[PASS] test_reverts_setDebtCeiling_suppliers() (gas: 292819)
[PASS] test_reverts_setLiquidationProtocolFee_amount_gt_percentageFactor() (gas: 35675)
[PASS] test_reverts_setReserveActive_false_if_suppliers() (gas: 287670)
[PASS] test_reverts_setReserveFactor_gt_percentageFactor() (gas: 35694)
[PASS] test_reverts_setSiloedBorrowing_borrowers() (gas: 414872)
[PASS] test_reverts_updateFlashloanPremiumToProtocol() (gas: 30304)
[PASS] test_reverts_updateFlashloanPremiumTotal() (gas: 30324)
[PASS] test_setBorrowableInIsolation_false() (gas: 65119)
[PASS] test_setBorrowableInIsolation_true() (gas: 67932)
[PASS] test_setCollateralConfig((uint8,string,string,string,string,address,address,address,bool)) (runs: 1000, μ: 2641267, ~: 2640069)
[PASS] test_setDebtCeiling() (gas: 120999)
[PASS] test_setDebtCeiling_suppliers_ltZero() (gas: 296159)
[PASS] test_setDebtCeiling_to_zero() (gas: 145972)
[PASS] test_setFrozenReserveFreeze_true_revert() (gas: 108327)
[PASS] test_setLiquidationGracePeriodAboveCap(uint40) (runs: 1000, μ: 34860, ~: 34860)
[PASS] test_setLiquidationGracePeriodPool(uint40) (runs: 1000, μ: 138085, ~: 140119)
[PASS] test_setLiquidationGracePeriodReserve(uint40) (runs: 1000, μ: 138651, ~: 138974)
[PASS] test_setLiquidationProtocolFee_amount_gt_percentageFactor() (gas: 74947)
[PASS] test_setPoolPause() (gas: 139475)
[PASS] test_setPoolPause_unpause() (gas: 197986)
[PASS] test_setReserveActive_false() (gas: 118255)
[PASS] test_setReserveActive_true() (gas: 69376)
[PASS] test_setReserveFactor() (gas: 977599)
[PASS] test_setReserveFreeze_false() (gas: 101071)
[PASS] test_setReservePause_false() (gas: 68744)
[PASS] test_setReservePause_true() (gas: 71496)
[PASS] test_setSiloedBorrowing() (gas: 117508)
[PASS] test_setUnfrozenReserveFreeze_false_revert() (gas: 48883)
[PASS] test_updateFlashloanPremiumToProtocol() (gas: 58337)
[PASS] test_updateFlashloanPremiumTotal() (gas: 58251)
Suite result: ok. 44 passed; 0 failed; 0 skipped; finished in 6.54s (6.51s CPU time)
Ran 15 tests for tests/protocol/pool/Pool.Repay.t.sol:PoolRepayTests
[PASS] test_full_repay_borrow_variable_in_isolation() (gas: 585852)
[PASS] test_partial_repay_borrow_variable_in_isolation() (gas: 637853)
[PASS] test_repayWithATokens_full_collateral_variable_borrow() (gas: 616780)
[PASS] test_repayWithATokens_full_variable_borrow() (gas: 415253)
[PASS] test_repayWithATokens_fuzz_collateral_variable_borrow(uint256,uint32) (runs: 1000, μ: 603501, ~: 604826)
[PASS] test_repayWithPermit(uint128,uint120,uint120,uint120,uint120) (runs: 1000, μ: 582213, ~: 574537)
[PASS] test_repayWithPermit_not_failing_if_permit_was_used(uint128,uint120,uint120,uint120,uint120) (runs: 1000, μ: 588518, ~: 580056)
[PASS] test_repayWithPermit_should_revert_if_permit_is_less_then_repay_amount(uint128,uint120,uint120,uint120,uint120) (runs: 1000, μ: 535999, ~: 527943)
[PASS] test_repay_full_variable_borrow() (gas: 402295)
[PASS] test_revert_repay_full_stable_borrow() (gas: 353927)
[PASS] test_reverts_borrow_invalidAmount() (gas: 51771)
[PASS] test_reverts_borrow_reserveInactive() (gas: 135052)
[PASS] test_reverts_borrow_reservePaused() (gas: 92657)
[PASS] test_reverts_no_explicit_repay_on_behalf() (gas: 327994)
[PASS] test_reverts_repay_no_debt() (gas: 52344)
Suite result: ok. 15 passed; 0 failed; 0 skipped; finished in 11.66s (11.63s CPU time)
Ran 20 tests for tests/protocol/pool/Pool.Liquidations.t.sol:PoolLiquidationTests
[PASS] test_full_liquidate_atokens_multiple_variable_borrows() (gas: 1339557)
[PASS] test_full_liquidate_multiple_supplies_and_variable_borrows() (gas: 1542733)
[PASS] test_full_liquidate_multiple_variable_borrows() (gas: 1399890)
[PASS] test_liquidate_emode_position_without_emode_oracle() (gas: 1421444)
[PASS] test_liquidate_isolated_position() (gas: 1325744)
[PASS] test_liquidate_variable_borrow() (gas: 1436967)
[PASS] test_liquidate_variable_borrow_no_fee() (gas: 1161222)
[PASS] test_liquidate_variable_borrow_same_collateral_and_borrow() (gas: 1099340)
[PASS] test_liquidation_when_grace_period_disabled(uint40) (runs: 1000, μ: 1268564, ~: 1268564)
[PASS] test_liquidation_with_liquidation_grace_period_collateral_active(uint40) (runs: 1000, μ: 1458520, ~: 1467801)
[PASS] test_liquidation_with_liquidation_grace_period_debt_active(uint40) (runs: 1000, μ: 1458231, ~: 1465698)
[PASS] test_liquidation_with_liquidation_grace_period_debt_collateral_active(uint40) (runs: 1000, μ: 1474308, ~: 1482764)
[PASS] test_partial_liquidate_atokens_variable_borrow() (gas: 1273594)
[PASS] test_partial_liquidate_variable_borrow() (gas: 1222442)
[PASS] test_reverts_liquidation_collateral_not_active() (gas: 625196)
[PASS] test_reverts_liquidation_hf_gt_liquidation_threshold() (gas: 459652)
[PASS] test_reverts_liquidation_invalid_borrow() (gas: 599631)
[PASS] test_reverts_liquidation_oracle_sentinel_on() (gas: 319663)
[PASS] test_reverts_liquidation_reserveInactive() (gas: 156220)
[PASS] test_reverts_liquidation_reservePaused() (gas: 113979)
Suite result: ok. 20 passed; 0 failed; 0 skipped; finished in 15.53s (15.51s CPU time)
Ran 4 tests for tests/protocol/pool/pool-configurator/PoolConfigurator.initReserves.t.sol:PoolConfiguratorInitReservesTest
[PASS] test_initReserves_notEnoughDecimal((uint8,string,string,string,string,address,address,address,bool)) (runs: 1000, μ: 1066172, ~: 1066173)
[PASS] test_initReserves_validNumberOfAssets((uint8,string,string,string,string,address,address,address,bool)[128],uint8) (runs: 1000, μ: 92470330, ~: 51475227)
[PASS] test_initReserves_zeroAssets() (gas: 62581)
[PASS] test_reverts_initReserves_maxAssets((uint8,string,string,string,string,address,address,address,bool),uint8) (runs: 1000, μ: 387983897, ~: 348777047)
Suite result: ok. 4 passed; 0 failed; 0 skipped; finished in 112.37s (131.34s CPU time)
Ran 4 tests for tests/protocol/pool/pool-configurator/PoolConfigurator.liquidationFee.t.sol:PoolConfiguratorLiquidationFeeTests
[PASS] test_revert_setLiquidationFee_gt_100() (gas: 59324)
[PASS] test_revert_setLiquidationFee_unauthorized() (gas: 59192)
[PASS] test_setLiquidationFee() (gas: 78817)
[PASS] test_setLiquidationFee_100() (gas: 78773)
Suite result: ok. 4 passed; 0 failed; 0 skipped; finished in 21.45ms (1.25ms CPU time)
Ran 60 test suites in 121.52s (284.25s CPU time): 741 tests passed, 0 failed, 0 skipped (741 total tests) |
kyzia551
approved these changes
Sep 19, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.