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
chore: bump rev fix typos #41
Merged
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
🔮 Coverage report
|
⛽ Gas reportTransparentUpgradeableProxy
WETH9
ParaSwapLiquiditySwapAdapter
ParaSwapRepayAdapter
ParaSwapWithdrawSwapAdapter
StataTokenFactory
StataTokenV2
AaveV3ConfigEngine
AaveProtocolDataProvider
L2Encoder
WrappedTokenGatewayV3
ATokenInstance
L2PoolInstance
PoolConfiguratorInstance
PoolInstance
VariableDebtTokenInstance
AaveOracle
DefaultReserveInterestRateStrategyV2
InitializableImmutableAdminUpgradeabilityProxy
MockPoolInherited
MockAggregator
SequencerOracle
TestnetERC20
WadRayMathWrapper
MockATokenRepayment
MockVariableDebtToken
MockScaledToken
ACLManager
PoolAddressesProvider
PoolAddressesProviderRegistry
EmissionManager
RewardsController
Collector
AaveV3GettersBatchOne
AaveV3GettersBatchTwo
AaveV3HelpersBatchOne
AaveV3HelpersBatchTwo
AaveV3L2PoolBatch
AaveV3MiscBatch
AaveV3ParaswapBatch
AaveV3PeripheryBatch
AaveV3PoolBatch
AaveV3SetupBatch
AaveV3TokensBatch
MockERC20AaveLMUpgradeable
MockScaledTestnetERC20
MockERC4626StataTokenUpgradeable
AaveV3MockAssetEModeUpdate
AaveV3MockBorrowUpdate
AaveV3MockCapUpdate
AaveV3MockCollateralUpdate
AaveV3MockCollateralUpdateCorrectBonus
AaveV3MockEModeCategoryUpdate
AaveV3MockEModeCategoryUpdateEdgeBonus
AaveV3MockListing
AaveV3MockListingCustom
AaveV3MockRatesUpdate
| Method | mi...[Comment body truncated] |
🔧 Build logsCompiling 398 files with Solc 0.8.20
Solc 0.8.20 finished in 108.83s
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 (5667): Unused function parameter. Remove or comment out the variable name to silence this warning.
--> tests/protocol/pool/Pool.Liquidations.t.sol:1309:5:
|
1309 | uint256 userBalanceBefore
| ^^^^^^^^^^^^^^^^^^^^^^^^^
Warning (2018): Function state mutability can be restricted to view
--> tests/protocol/pool/Pool.Deficit.sol:225:3:
|
225 | function _checkIrInvariant(address asset) internal {
| ^ (Relevant source part starts here and spans across multiple lines).
| Contract | Runtime Size (B) | Initcode Size (B) | Runtime Margin (B) | Initcode Margin (B) |
|------------------------------------------------|------------------|-------------------|--------------------|---------------------|
| ACLManager | 3,493 | 4,107 | 21,083 | 45,045 |
| ATokenInstance | 10,163 | 11,058 | 14,413 | 38,094 |
| ATokenMock | 803 | 967 | 23,773 | 48,185 |
| AaveOracle | 2,662 | 3,867 | 21,914 | 45,285 |
| AaveProtocolDataProvider | 9,683 | 9,964 | 14,893 | 39,188 |
| AaveV3BatchOrchestration | 44 | 94 | 24,532 | 49,058 |
| AaveV3ConfigEngine | 7,573 | 9,165 | 17,003 | 39,987 |
| AaveV3DefaultRateStrategyProcedure | 21 | 47 | 24,555 | 49,105 |
| AaveV3GettersBatchOne | 229 | 32,929 | 24,347 | 16,223 |
| AaveV3GettersBatchTwo | 137 | 10,839 | 24,439 | 38,313 |
| AaveV3GettersProcedureOne | 21 | 47 | 24,555 | 49,105 |
| AaveV3GettersProcedureTwo | 21 | 47 | 24,555 | 49,105 |
| AaveV3HelpersBatchOne | 353 | 34,075 | 24,223 | 15,077 |
| AaveV3HelpersBatchTwo | 229 | 30,694 | 24,347 | 18,458 |
| AaveV3HelpersProcedureOne | 21 | 47 | 24,555 | 49,105 |
| AaveV3HelpersProcedureTwo | 21 | 47 | 24,555 | 49,105 |
| AaveV3IncentiveProcedure | 21 | 47 | 24,555 | 49,105 |
| AaveV3L2PoolBatch | 137 | 43,367 | 24,439 | 5,785 |
| AaveV3L2PoolProcedure | 21 | 47 | 24,555 | 49,105 |
| AaveV3LibrariesBatch1 | 353 | 30,904 | 24,223 | 18,248 |
| AaveV3LibrariesBatch2 | 353 | 44,684 | 24,223 | 4,468 |
| AaveV3MiscBatch | 137 | 6,830 | 24,439 | 42,322 |
| AaveV3MiscProcedure | 21 | 47 | 24,555 | 49,105 |
| AaveV3MockAssetEModeUpdate | 3,420 | 3,649 | 21,156 | 45,503 |
| AaveV3MockBorrowUpdate | 3,300 | 3,491 | 21,276 | 45,661 |
| AaveV3MockBorrowUpdateNoChange | 3,330 | 3,521 | 21,246 | 45,631 |
| AaveV3MockCapUpdate | 3,244 | 3,435 | 21,332 | 45,717 |
| AaveV3MockCollateralUpdate | 3,304 | 3,495 | 21,272 | 45,657 |
| AaveV3MockCollateralUpdateCorrectBonus | 3,304 | 3,495 | 21,272 | 45,657 |
| AaveV3MockCollateralUpdateNoChange | 3,331 | 3,522 | 21,245 | 45,630 |
| AaveV3MockCollateralUpdateWrongBonus | 3,308 | 3,499 | 21,268 | 45,653 |
| AaveV3MockEModeCategoryUpdate | 3,159 | 3,297 | 21,417 | 45,855 |
| AaveV3MockEModeCategoryUpdateEdgeBonus | 3,162 | 3,300 | 21,414 | 45,852 |
| AaveV3MockEModeCategoryUpdateNoChange | 3,221 | 3,359 | 21,355 | 45,793 |
| AaveV3MockListing | 3,598 | 3,827 | 20,978 | 45,325 |
| AaveV3MockListingCustom | 3,891 | 4,203 | 20,685 | 44,949 |
| AaveV3MockPriceFeedUpdate | 3,269 | 3,498 | 21,307 | 45,654 |
| AaveV3MockRatesUpdate | 3,262 | 3,453 | 21,314 | 45,699 |
| AaveV3OracleProcedure | 21 | 47 | 24,555 | 49,105 |
| AaveV3ParaswapBatch | 189 | 28,809 | 24,387 | 20,343 |
| AaveV3ParaswapProcedure | 21 | 47 | 24,555 | 49,105 |
| AaveV3PeripheryBatch | 321 | 38,414 | 24,255 | 10,738 |
| AaveV3PoolBatch | 137 | 42,120 | 24,439 | 7,032 |
| AaveV3PoolConfigProcedure | 21 | 47 | 24,555 | 49,105 |
| AaveV3PoolProcedure | 21 | 47 | 24,555 | 49,105 |
| AaveV3SetupBatch | 11,678 | 25,007 | 12,898 | 24,145 |
| AaveV3SetupProcedure | 21 | 47 | 24,555 | 49,105 |
| AaveV3TestListing | 7,124 | 14,868 | 17,452 | 34,284 |
| AaveV3TokensBatch | 137 | 20,321 | 24,439 | 28,831 |
| AaveV3TokensProcedure | 21 | 47 | 24,555 | 49,105 |
| AaveV3TreasuryProcedure | 21 | 47 | 24,555 | 49,105 |
| Address | 44 | 94 | 24,532 | 49,058 |
| AdminUpgradeabilityProxy | 1,544 | 2,502 | 23,032 | 46,650 |
| AugustusRegistryMock | 162 | 190 | 24,414 | 48,962 |
| BaseAdminUpgradeabilityProxy | 1,536 | 1,565 | 23,040 | 47,587 |
| BaseImmutableAdminUpgradeabilityProxy | 1,302 | 1,469 | 23,274 | 47,683 |
| BaseUpgradeabilityProxy | 108 | 135 | 24,468 | 49,017 |
| BorrowEngine | 2,526 | 2,579 | 22,050 | 46,573 |
| BorrowLogic | 12,500 | 12,553 | 12,076 | 36,599 |
| BridgeLogic | 6,746 | 6,799 | 17,830 | 42,353 |
| CalldataLogic | 44 | 94 | 24,532 | 49,058 |
| CapsEngine | 1,179 | 1,232 | 23,397 | 47,920 |
| CollateralEngine | 2,723 | 2,776 | 21,853 | 46,376 |
| Collector | 6,815 | 6,852 | 17,761 | 42,300 |
| ConfiguratorInputTypes | 44 | 94 | 24,532 | 49,058 |
| ConfiguratorLogic | 6,040 | 6,093 | 18,536 | 43,059 |
| Create2Utils | 121 | 172 | 24,455 | 48,980 |
| DataTypes | 44 | 94 | 24,532 | 49,058 |
| DefaultMarketInput | 21 | 47 | 24,555 | 49,105 |
| DefaultReserveInterestRateStrategyV2 | 3,997 | 4,291 | 20,579 | 44,861 |
| DeployUtils | 913 | 942 | 23,663 | 48,210 |
| ECDSA | 44 | 94 | 24,532 | 49,058 |
| EIP712SigUtils | 1,563 | 1,616 | 23,013 | 47,536 |
| EModeConfiguration | 44 | 94 | 24,532 | 49,058 |
| EModeEngine | 4,485 | 4,538 | 20,091 | 44,614 |
| EModeLogic | 3,756 | 3,809 | 20,820 | 45,343 |
| ERC1967Proxy | 122 | 967 | 24,454 | 48,185 |
| ERC1967Utils | 44 | 94 | 24,532 | 49,058 |
| ERC20 | 2,085 | 2,833 | 22,491 | 46,319 |
| EmissionManager | 3,455 | 3,916 | 21,121 | 45,236 |
| EngineFlags | 44 | 94 | 24,532 | 49,058 |
| Errors | 4,659 | 4,712 | 19,917 | 44,440 |
| Faucet | 2,064 | 2,596 | 22,512 | 46,556 |
| FlashLoanLogic | 9,555 | 9,608 | 15,021 | 39,544 |
| FlashloanAttacker | 1,602 | 2,026 | 22,974 | 47,126 |
| GPv2SafeERC20 | 44 | 94 | 24,532 | 49,058 |
| GenericLogic | 44 | 94 | 24,532 | 49,058 |
| Initializable | 21 | 47 | 24,555 | 49,105 |
| InitializableAdminUpgradeabilityProxy | 2,388 | 2,417 | 22,188 | 46,735 |
| InitializableImmutableAdminUpgradeabilityProxy | 1,853 | 2,020 | 22,723 | 47,132 |
| InitializableUpgradeabilityProxy | 871 | 900 | 23,705 | 48,252 |
| IsolationModeLogic | 44 | 94 | 24,532 | 49,058 |
| L2Encoder | 3,731 | 3,926 | 20,845 | 45,226 |
| L2PoolInstance | 22,673 | 22,929 | 1,903 | 26,223 |
| LiquidationHelper | 44 | 94 | 24,532 | 49,058 |
| LiquidationLogic | 14,733 | 14,786 | 9,843 | 34,366 |
| ListingEngine | 7,156 | 7,209 | 17,420 | 41,943 |
| MarketReportUtils | 44 | 94 | 24,532 | 49,058 |
| Math | 44 | 94 | 24,532 | 49,058 |
| MathUtils | 44 | 94 | 24,532 | 49,058 |
| MathUtilsWrapper | 917 | 946 | 23,659 | 48,206 |
| MessageHashUtils | 44 | 94 | 24,532 | 49,058 |
| MetadataReporter | 12,286 | 12,315 | 12,290 | 36,837 |
| MintableDelegationERC20 | 2,533 | 3,313 | 22,043 | 45,839 |
| MintableERC20 | 3,351 | 4,295 | 21,225 | 44,857 |
| Mock | 182 | 210 | 24,394 | 48,942 |
| MockAToken | 10,165 | 11,062 | 14,411 | 38,090 |
| MockATokenRepayment | 10,246 | 11,143 | 14,330 | 38,009 |
| MockAggregator | 134 | 278 | 24,442 | 48,874 |
| MockBadTransferStrategy | 998 | 1,187 | 23,578 | 47,965 |
| MockERC20AaveLMUpgradeable | 8,401 | 8,626 | 16,175 | 40,526 |
| MockERC4626StataTokenUpgradeable | 9,890 | 10,246 | 14,686 | 38,906 |
| MockFlashLoanATokenReceiver | 2,438 | 2,816 | 22,138 | 46,336 |
| MockFlashLoanReceiver | 2,253 | 2,538 | 22,323 | 46,614 |
| MockFlashLoanSimpleReceiver | 1,476 | 1,761 | 23,100 | 47,391 |
| MockIncentivesController | 132 | 159 | 24,444 | 48,993 |
| MockInitializableFromConstructorImple | 349 | 639 | 24,227 | 48,513 |
| MockInitializableImple | 1,544 | 1,576 | 23,032 | 47,576 |
| MockInitializableImpleV2 | 1,546 | 1,578 | 23,030 | 47,574 |
| MockInitializableV1 | 307 | 339 | 24,269 | 48,813 |
| MockInitializableV2 | 309 | 341 | 24,267 | 48,811 |
| MockL2Pool | 22,700 | 22,956 | 1,876 | 26,196 |
| MockParaSwapAugustus | 2,133 | 3,253 | 22,443 | 45,899 |
| MockParaSwapAugustusRegistry | 179 | 308 | 24,397 | 48,844 |
| MockParaSwapTokenTransferProxy | 905 | 998 | 23,671 | 48,154 |
| MockPeripheryContractV1 | 309 | 338 | 24,267 | 48,814 |
| MockPeripheryContractV2 | 290 | 319 | 24,286 | 48,833 |
| MockPoolInherited | 21,615 | 21,898 | 2,961 | 27,254 |
| MockReentrantInitializableImple | 413 | 445 | 24,163 | 48,707 |
| MockReserveConfiguration | 2,651 | 2,680 | 21,925 | 46,472 |
| MockReserveInterestRateStrategy | 3,314 | 3,612 | 21,262 | 45,540 |
| MockScaledTestnetERC20 | 4,101 | 5,524 | 20,475 | 43,628 |
| MockScaledToken | 3,998 | 4,758 | 20,578 | 44,394 |
| MockVariableDebtToken | 7,281 | 8,162 | 17,295 | 40,990 |
| Ownable | 629 | 722 | 23,947 | 48,430 |
| ParaSwapLiquiditySwapAdapter | 8,245 | 9,369 | 16,331 | 39,783 |
| ParaSwapRepayAdapter | 8,825 | 10,039 | 15,751 | 39,113 |
| ParaSwapWithdrawSwapAdapter | 6,755 | 7,809 | 17,821 | 41,343 |
| PercentageMath | 44 | 94 | 24,532 | 49,058 |
| PercentageMathWrapper | 297 | 326 | 24,279 | 48,826 |
| PoolAddressesProvider | 6,697 | 8,049 | 17,879 | 41,103 |
| PoolAddressesProviderRegistry | 2,148 | 2,609 | 22,428 | 46,543 |
| PoolConfiguratorInstance | 19,780 | 19,812 | 4,796 | 29,340 |
| PoolInstance | 21,426 | 21,682 | 3,150 | 27,470 |
| PoolLogic | 6,823 | 6,876 | 17,753 | 42,276 |
| PoolStorage | 21 | 47 | 24,555 | 49,105 |
| PriceFeedEngine | 1,577 | 1,630 | 22,999 | 47,522 |
| PriceOracle | 469 | 498 | 24,107 | 48,654 |
| PriceOracleSentinel | 1,668 | 1,884 | 22,908 | 47,268 |
| ProxyAdmin | 990 | 1,235 | 23,586 | 47,917 |
| ProxyHelpers | 44 | 94 | 24,532 | 49,058 |
| PullRewardsTransferStrategy | 1,255 | 1,481 | 23,321 | 47,671 |
| RateEngine | 2,348 | 2,401 | 22,228 | 46,751 |
| ReserveConfiguration | 128 | 179 | 24,448 | 48,973 |
| ReserveLogic | 44 | 94 | 24,532 | 49,058 |
| RevenueSplitter | 1,942 | 2,259 | 22,634 | 46,893 |
| RewardsController | 14,226 | 14,420 | 10,350 | 34,732 |
| RewardsDataTypes | 44 | 94 | 24,532 | 49,058 |
| SafeCast | 44 | 94 | 24,532 | 49,058 |
| SafeERC20 | 44 | 94 | 24,532 | 49,058 |
| SafeMath | 44 | 94 | 24,532 | 49,058 |
| SequencerOracle | 865 | 1,326 | 23,711 | 47,826 |
| SigUtils | 492 | 545 | 24,084 | 48,607 |
| SignedMath | 44 | 94 | 24,532 | 49,058 |
| SlotParser | 330 | 383 | 24,246 | 48,769 |
| StakeMock | 355 | 384 | 24,221 | 48,768 |
| StakedTokenTransferStrategy | 2,060 | 2,770 | 22,516 | 46,382 |
| StataTokenFactory | 3,027 | 3,497 | 21,549 | 45,655 |
| StataTokenV2 | 19,991 | 20,693 | 4,585 | 28,459 |
| StorageSlot | 44 | 94 | 24,532 | 49,058 |
| Strings | 44 | 94 | 24,532 | 49,058 |
| SupplyLogic | 11,714 | 11,767 | 12,862 | 37,385 |
| TestnetERC20 | 3,981 | 5,396 | 20,595 | 43,756 |
| TransparentProxyFactory | 5,341 | 5,370 | 19,235 | 43,782 |
| TransparentUpgradeableProxy | 1,088 | 2,274 | 23,488 | 46,878 |
| UiIncentiveDataProviderV3 | 9,125 | 9,154 | 15,451 | 39,998 |
| UiPoolDataProviderV3 | 10,060 | 10,271 | 14,516 | 38,881 |
| UpgradeabilityProxy | 108 | 855 | 24,468 | 48,297 |
| UserConfiguration | 44 | 94 | 24,532 | 49,058 |
| ValidationLogic | 189 | 241 | 24,387 | 48,911 |
| VariableDebtTokenHarness | 7,297 | 8,178 | 17,279 | 40,974 |
| VariableDebtTokenInstance | 7,279 | 8,158 | 17,297 | 40,994 |
| WETH9 | 1,885 | 2,354 | 22,691 | 46,798 |
| WETH9Mock | 2,640 | 3,869 | 21,936 | 45,283 |
| WETH9Mocked | 2,191 | 2,660 | 22,385 | 46,492 |
| WadRayMath | 44 | 94 | 24,532 | 49,058 |
| WadRayMathWrapper | 816 | 845 | 23,760 | 48,307 |
| WalletBalanceProvider | 2,619 | 2,648 | 21,957 | 46,504 |
| WalletMock | 21 | 47 | 24,555 | 49,105 |
| WrappedTokenGatewayV3 | 5,391 | 6,283 | 19,185 | 42,869 | |
🌈 Test ResultsNo files changed, compilation skipped
Ran 20 tests for tests/protocol/configuration/ACLManager.t.sol:ACLManagerTest
[PASS] testDefaultAdminRoleAfterDeploy() (gas: 20689)
[PASS] test_defaultAdmin_grantAdminRole_FlashBorrowAdmin() (gas: 65510)
[PASS] test_defaultAdmin_grants_AssetsListingRole() (gas: 37593)
[PASS] test_defaultAdmin_grants_BridgeRole() (gas: 37659)
[PASS] test_defaultAdmin_grants_EmergencyAdminRole() (gas: 37606)
[PASS] test_defaultAdmin_grants_PoolAdminRole() (gas: 37726)
[PASS] test_defaultAdmin_grants_RiskRole() (gas: 37723)
[PASS] test_defaultAdmin_remove_AssetsListingRole() (gas: 29442)
[PASS] test_defaultAdmin_remove_BridgeRole() (gas: 29531)
[PASS] test_defaultAdmin_remove_EmergencyAdminRole() (gas: 29426)
[PASS] test_defaultAdmin_remove_PoolAdminRole() (gas: 29548)
[PASS] test_defaultAdmin_remove_RiskRole() (gas: 29432)
[PASS] test_flashBorrowAdmin_grantRole_FlashBorrowRole() (gas: 91916)
[PASS] test_flashBorrowAdmin_removeRole_FlashBorrowRole() (gas: 76438)
[PASS] test_remove_riskAdmin() (gas: 29442)
[PASS] test_revert_anyUser_grantAdminRole_FlashBorrowAdmin() (gas: 72851)
[PASS] test_revert_deploy_ACLADMIN_zeroAddress() (gas: 1470125)
[PASS] test_reverts_defaultAdmin_notRoleAdmin_addRole_FlashBorrowRole() (gas: 98836)
[PASS] test_reverts_defaultAdmin_notRoleAdmin_revokeRole_FlashBorrowRole() (gas: 125219)
[PASS] test_reverts_notAdmin_grantRole_FlashBorrow() (gas: 115150)
Suite result: ok. 20 passed; 0 failed; 0 skipped; finished in 15.04ms (3.00ms CPU time)
Ran 12 tests for tests/protocol/libraries/logic/BridgeLogic.t.sol:BridgeLogicTests
[PASS] test_backUnbacked_but_unbacked_is_zero_with_fee() (gas: 190752)
[PASS] test_backUnbacked_but_unbacked_is_zero_with_only_fee() (gas: 190810)
[PASS] test_backUnbacked_but_unbacked_is_zero_without_fee() (gas: 156156)
[PASS] test_backUnbacked_onlyFee() (gas: 356414)
[PASS] test_backUnbacked_withFee() (gas: 356594)
[PASS] test_backUnbacked_withoutFee() (gas: 333892)
[PASS] test_multiple_backUnbacked() (gas: 631087)
[PASS] test_multiple_unbackedMint_with_cap() (gas: 478054)
[PASS] test_revert_multiple_unbackedMint_with_cap() (gas: 419371)
[PASS] test_revert_unathorized_unbackedMint() (gas: 30598)
[PASS] test_revert_unbackedMint_zero_cap() (gas: 86100)
[PASS] test_unbackedMint_with_cap() (gas: 265578)
Suite result: ok. 12 passed; 0 failed; 0 skipped; finished in 60.23ms (14.33ms CPU time)
Ran 11 tests for tests/misc/PriceOracleSentinel.t.sol:PriceOracleSentinelTest
[PASS] test_isBorrowAllowed_network_down() (gas: 27223)
[PASS] test_isBorrowAllowed_network_up_not_grace_period() (gas: 46925)
[PASS] test_isBorrowAllowed_true_network_up_grace_period_pass() (gas: 46979)
[PASS] test_isLiquidationAllowed_network_down() (gas: 27134)
[PASS] test_isLiquidationAllowed_network_up_not_grace_period() (gas: 46902)
[PASS] test_isLiquidationAllowed_true_network_up_grace_period_pass() (gas: 47000)
[PASS] test_new_PriceOracleSentinel() (gas: 423531)
[PASS] test_reverts_setGracePeriod_not_poolAdmin() (gas: 25829)
[PASS] test_reverts_setSequencerOracle_not_poolAdmin() (gas: 22737)
[PASS] test_setGracePeriod() (gas: 32496)
[PASS] test_setSequencerOracle() (gas: 24631)
Suite result: ok. 11 passed; 0 failed; 0 skipped; finished in 74.36ms (1.04ms CPU time)
Ran 17 tests for tests/protocol/tokenization/ATokenEdgeCases.t.sol:ATokenEdgeCasesTests
[PASS] testApprove() (gas: 45105)
[PASS] testApproveMax() (gas: 45208)
[PASS] testApproveWithZeroAddressSpender() (gas: 42159)
[PASS] testCheckGetters() (gas: 259765)
[PASS] testDecreaseAllowance() (gas: 53034)
[PASS] testIncreaseAllowance() (gas: 53078)
[PASS] testIncreaseAllowanceFromZero() (gas: 48398)
[PASS] testMintToTreasury_amount_zero() (gas: 15793)
[PASS] testTransferFromZeroAmount() (gas: 129523)
[PASS] test_burn_zeroAddress() (gas: 266274)
[PASS] test_mintToZeroAddress() (gas: 82271)
[PASS] test_poolAdmin_setIncentivesController() (gas: 35820)
[PASS] test_revert_notAdmin_setIncentivesController() (gas: 40389)
[PASS] test_reverts_burnAmountScaledZero() (gas: 19433)
[PASS] test_reverts_mintAmountScaledZero() (gas: 19577)
[PASS] test_transferFrom_zeroAddress_origin() (gas: 129334)
[PASS] test_transfer_amount_MAX_UINT_128() (gas: 16460)
Suite result: ok. 17 passed; 0 failed; 0 skipped; finished in 65.33ms (3.57ms CPU time)
Ran 14 tests for tests/deployments/DeploymentsGasLimits.t.sol:DeploymentsGasLimits
[PASS] test0AaveV3SetupDeployment() (gas: 4574068)
[PASS] test10ConfigEngineDeployment() (gas: 6715374)
[PASS] test11StaticATokenDeployment() (gas: 6349701)
[PASS] test12PeripheralsTreasuryPartner() (gas: 7078209)
[PASS] test1AaveV3GettersBatch1Deployment() (gas: 6624217)
[PASS] test2AaveV3GettersBatch2Deployment() (gas: 2063821)
[PASS] test3AaveV3PoolDeployment() (gas: 8527427)
[PASS] test4AaveV3L2PoolDeployment() (gas: 8778083)
[PASS] test5PeripheralsRelease() (gas: 6591583)
[PASS] test6MiscDeployment() (gas: 1360185)
[PASS] test7ParaswapDeployment() (gas: 5218702)
[PASS] test8SetupMarket() (gas: 2717444)
[PASS] test9TokensMarket() (gas: 3901228)
[PASS] testCheckInitCodeSizeBatchs() (gas: 1008566)
Logs:
AaveV3SetupBatch 25007
AaveV3L2PoolBatch 43367
AaveV3PoolBatch 42120
AaveV3PeripheryBatch 38414
AaveV3MiscBatch 6830
AaveV3ParaswapBatch 28809
AaveV3GettersBatchOne 32929
AaveV3GettersBatchTwo 10839
AaveV3TokensBatch 20321
AaveV3HelpersBatchOne 34075
AaveV3HelpersBatchTwo 30694
AaveV3PeripheryBatchTreasuryPartner 38414
Suite result: ok. 14 passed; 0 failed; 0 skipped; finished in 29.55ms (18.06ms CPU time)
Ran 8 tests for tests/protocol/tokenization/ATokenEvents.t.sol:ATokenEventsTests
[PASS] test_atoken_burnEvents_fullBalance() (gas: 562246)
[PASS] test_atoken_burnEvents_multipleWithdrawals_withInterests() (gas: 649865)
[PASS] test_atoken_burnEvents_singleWithdraw_WithInterests() (gas: 572848)
[PASS] test_atoken_burnEvents_singleWithdraw_noInterests() (gas: 254908)
[PASS] test_atoken_burnEvents_withdrawAmountLessThanInterests() (gas: 575696)
[PASS] test_atoken_mintEvents_firstSupply() (gas: 252188)
[PASS] test_atoken_mintEvents_supplyAfterBorrow() (gas: 628468)
[PASS] test_mintToTreasury_events() (gas: 90162)
Suite result: ok. 8 passed; 0 failed; 0 skipped; finished in 97.90ms (23.11ms CPU time)
Ran 4 tests for tests/protocol/tokenization/ATokenModifiers.t.sol:ATokenModifiersTests
[PASS] test_revert_notAdmin_burn() (gas: 17084)
[PASS] test_revert_notAdmin_mint() (gas: 17178)
[PASS] test_revert_notAdmin_transferOnLiquidation() (gas: 17210)
[PASS] test_revert_notAdmin_transferUnderlyingTo() (gas: 17015)
Suite result: ok. 4 passed; 0 failed; 0 skipped; finished in 70.28ms (289.80µs CPU time)
Ran 9 tests for tests/protocol/tokenization/ATokenPermit.t.sol:ATokenPermitTests
[PASS] testCheckDomainSeparator() (gas: 26163)
[PASS] test_cancelPermit() (gas: 100693)
[PASS] test_chain_fork_calculateDomainSeparator() (gas: 32906)
[PASS] test_revert_submitPermit_0_expiration() (gas: 46698)
[PASS] test_revert_submitPermit_invalid_expiration_previosCurrentBlock() (gas: 47177)
[PASS] test_revert_submitPermit_invalid_nonce() (gas: 55087)
[PASS] test_revert_submitPermit_invalid_owner() (gas: 46525)
[PASS] test_revert_submitPermit_invalid_signature() (gas: 54947)
[PASS] test_submitPermit() (gas: 94296)
Suite result: ok. 9 passed; 0 failed; 0 skipped; finished in 93.15ms (17.86ms CPU time)
Ran 3 tests for tests/protocol/tokenization/ATokenRepay.t.sol:ATokenRepayTests
[PASS] test_repay_allDebt() (gas: 275412)
[PASS] test_repay_partialDebt() (gas: 274535)
[PASS] test_revert_repay_withoutFunds() (gas: 180152)
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 78.62ms (1.95ms CPU time)
Ran 3 tests for tests/protocol/tokenization/ATokenRescueTokens.sol:ATokenRescueTokensTests
[PASS] test_rescueTokens() (gas: 77965)
[PASS] test_reverts_rescueTokens_CALLER_NOT_POOL_ADMIN() (gas: 70878)
[PASS] test_reverts_rescueTokens_UNDERLYING_CANNOT_BE_RESCUED() (gas: 71617)
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 95.38ms (660.35µs CPU time)
Ran 11 tests for tests/protocol/tokenization/ATokenTransfers.t.sol:ATokenTransferTests
[PASS] test_atoken_alice_transfer_all_to_bob() (gas: 162086)
[PASS] test_atoken_alice_transfer_to_bob() (gas: 232071)
[PASS] test_atoken_alice_transfer_to_bob_zero() (gas: 160039)
[PASS] test_atoken_alice_transfer_to_carol_accrues_interests() (gas: 224488)
[PASS] test_atoken_alice_transfer_to_herself() (gas: 81567)
[PASS] test_atoken_alice_transfer_to_herself_zero() (gas: 81608)
[PASS] test_atoken_multiple_transfers() (gas: 201287)
[PASS] test_atoken_transfer_sets_enabled_as_collateral(uint64,uint256) (runs: 1000, μ: 386532, ~: 390609)
[PASS] test_atoken_transfer_some_collateral_from_bob_borrower_to_alice() (gas: 524668)
[PASS] test_atoken_transfer_to_bob_them_bob_borrows() (gas: 395919)
[PASS] test_reverts_atoken_transfer_all_collateral_from_bob_borrower_to_alice() (gas: 405284)
Suite result: ok. 11 passed; 0 failed; 0 skipped; finished in 1.44s (1.37s CPU time)
Ran 12 tests for tests/misc/AaveOracle.t.sol:AaveOracleTest
[PASS] testAddSingleSource() (gas: 936997)
[PASS] testAssetZeroPriceAndZeroFallbackPrice() (gas: 1076187)
[PASS] testAssetZeroPriceNonZeroFallback() (gas: 1096138)
[PASS] testAssetZeroPriceWithoutFallback() (gas: 918632)
[PASS] testEmptySource() (gas: 821590)
[PASS] testGetBaseCurrencyPrice() (gas: 12315)
[PASS] testGetPriceViaFallbackOracle() (gas: 1000288)
[PASS] testUpdateFallbackOracle() (gas: 178617)
[PASS] testUpdateSingleSource() (gas: 127097)
[PASS] testUpdateSourceBaseCurrency() (gas: 138611)
[PASS] test_revert_setAssetSources_inconsistentParams() (gas: 822968)
[PASS] test_revert_setAssetSources_wrongCaller() (gas: 24620)
Suite result: ok. 12 passed; 0 failed; 0 skipped; finished in 59.56ms (2.66ms CPU time)
Ran 5 tests for tests/deployments/AaveV3BatchDeployment.t.sol:AaveV3BatchDeployment
[PASS] testAaveV3BatchDeploy() (gas: 53866177)
[PASS] testAaveV3BatchDeploymentCheck() (gas: 64997283)
[PASS] testAaveV3Batch_reuseIncentivesProxy() (gas: 53342988)
[PASS] testAaveV3L2BatchDeploymentCheck() (gas: 66827159)
[PASS] testAaveV3TreasuryPartnerBatchDeploymentCheck() (gas: 65504352)
Suite result: ok. 5 passed; 0 failed; 0 skipped; finished in 365.17ms (359.60ms CPU time)
Ran 12 tests for tests/deployments/AaveV3BatchTests.t.sol:AaveV3BatchTests
[PASS] test0AaveV3SetupDeployment() (gas: 4574089)
[PASS] test10StaticATokenDeployment() (gas: 6349751)
[PASS] test1AaveV3GettersDeployment() (gas: 7886600)
[PASS] test2AaveV3PoolDeployment() (gas: 8527461)
[PASS] test3AaveV3L2PoolDeployment() (gas: 8778137)
[PASS] test4PeripheralsRelease() (gas: 6591560)
[PASS] test5MiscDeployment() (gas: 929135)
[PASS] test6ParaswapRelease() (gas: 5218679)
[PASS] test7SetupMarket() (gas: 2692768)
[PASS] test8TokensMarket() (gas: 3901214)
[PASS] test9ConfigEngineDeployment() (gas: 6715437)
[PASS] testAaveV3FullBatchOrchestration() (gas: 53862499)
Suite result: ok. 12 passed; 0 failed; 0 skipped; finished in 66.52ms (25.22ms CPU time)
Ran 13 tests for tests/misc/rates/RateStrategy.calculateRates.t.sol:RateStrategyCalculateRatesTests
[PASS] test_calculate_rates_100_percent_usage() (gas: 48587)
Logs:
Bound result 8000
Bound result 400
[PASS] test_calculate_rates_80_bps_usage() (gas: 48706)
Logs:
Bound result 8000
Bound result 400
[PASS] test_calculate_rates_80_percent_usage() (gas: 91357)
Logs:
Bound result 8000
Bound result 400
[PASS] test_calculate_rates_80_percent_usage_and_50_percent_supply_usage_due_minted_tokens() (gas: 46912)
Logs:
Bound result 8000
Bound result 400
[PASS] test_calculate_rates_80_percent_usage_and_80_bps_supply_usage_due_minted_tokens() (gas: 46934)
Logs:
Bound result 8000
Bound result 400
[PASS] test_calculate_rates_above_op_usage((uint16,uint32,uint32,uint32),uint256,uint256,uint256) (runs: 1000, μ: 124346, ~: 124369)
[PASS] test_calculate_rates_below_op_usage((uint16,uint32,uint32,uint32),uint256,uint256,uint256) (runs: 1000, μ: 118568, ~: 121027)
[PASS] test_calculate_rates_below_op_usage_when_no_debt((uint16,uint32,uint32,uint32),uint256,uint256) (runs: 1000, μ: 75674, ~: 76058)
[PASS] test_calculate_rates_empty_reserve((uint16,uint32,uint32,uint32)) (runs: 1000, μ: 44205, ~: 44123)
[PASS] test_calculate_rates_when_not_using_virtual_valance((uint16,uint32,uint32,uint32),uint256,uint256) (runs: 1000, μ: 68063, ~: 69107)
[PASS] test_calculate_rates_when_total_debt_0((uint16,uint32,uint32,uint32),uint256,uint256) (runs: 1000, μ: 68428, ~: 69327)
[PASS] test_fuzz_calculate_rates_80_percent_usage_added_and_virtual_equal(uint256) (runs: 1000, μ: 33339, ~: 33565)
[PASS] test_zero_rates_strategy_calculate_rates() (gas: 19289)
Suite result: ok. 13 passed; 0 failed; 0 skipped; finished in 5.11s (5.06s CPU time)
Ran 7 tests for tests/misc/rates/RateStrategy.setters.t.sol:RateStrategySettersTests
[PASS] test_new_SetReserveInterestRateParams((uint16,uint32,uint32,uint32)) (runs: 1000, μ: 52549, ~: 52483)
[PASS] test_new_SetReserveInterestRateParams_when_not_configurator((uint16,uint32,uint32,uint32)) (runs: 1000, μ: 26288, ~: 26215)
[PASS] test_reverts_SetReserveInterestRateParams_when_gt_maxRate((uint16,uint32,uint32,uint32)) (runs: 1000, μ: 29718, ~: 29827)
[PASS] test_reverts_SetReserveInterestRateParams_when_gt_max_op((uint16,uint32,uint32,uint32)) (runs: 1000, μ: 22536, ~: 22536)
[PASS] test_reverts_SetReserveInterestRateParams_when_lt_min_op((uint16,uint32,uint32,uint32)) (runs: 1000, μ: 22584, ~: 22584)
[PASS] test_reverts_SetReserveInterestRateParams_when_reserve_0((uint16,uint32,uint32,uint32)) (runs: 1000, μ: 27212, ~: 27140)
[PASS] test_reverts_SetReserveInterestRateParams_when_slope1_gt_slope2((uint16,uint32,uint32,uint32)) (runs: 1000, μ: 23886, ~: 23886)
Suite result: ok. 7 passed; 0 failed; 0 skipped; finished in 1.86s (1.82s CPU time)
Ran 7 tests for tests/misc/rates/RateStrategy.setters.t.sol:RateStrategySettersTestsOverride
[PASS] test_new_SetReserveInterestRateParams((uint16,uint32,uint32,uint32)) (runs: 1000, μ: 51951, ~: 51882)
[PASS] test_new_SetReserveInterestRateParams_when_not_configurator((uint16,uint32,uint32,uint32)) (runs: 1000, μ: 25664, ~: 25598)
[PASS] test_reverts_SetReserveInterestRateParams_when_gt_maxRate((uint16,uint32,uint32,uint32)) (runs: 1000, μ: 29130, ~: 29220)
[PASS] test_reverts_SetReserveInterestRateParams_when_gt_max_op((uint16,uint32,uint32,uint32)) (runs: 1000, μ: 21927, ~: 21927)
[PASS] test_reverts_SetReserveInterestRateParams_when_lt_min_op((uint16,uint32,uint32,uint32)) (runs: 1000, μ: 21975, ~: 21975)
[PASS] test_reverts_SetReserveInterestRateParams_when_reserve_0((uint16,uint32,uint32,uint32)) (runs: 1000, μ: 26588, ~: 26531)
[PASS] test_reverts_SetReserveInterestRateParams_when_slope1_gt_slope2((uint16,uint32,uint32,uint32)) (runs: 1000, μ: 23277, ~: 23277)
Suite result: ok. 7 passed; 0 failed; 0 skipped; finished in 1.94s (1.90s CPU time)
Ran 15 tests for tests/protocol/pool/Pool.Repay.t.sol:PoolRepayTests
[PASS] test_full_repay_borrow_variable_in_isolation() (gas: 575908)
[PASS] test_partial_repay_borrow_variable_in_isolation() (gas: 628347)
[PASS] test_repayWithATokens_full_collateral_variable_borrow() (gas: 616691)
[PASS] test_repayWithATokens_full_variable_borrow() (gas: 415229)
[PASS] test_repayWithATokens_fuzz_collateral_variable_borrow(uint256,uint32) (runs: 1000, μ: 603417, ~: 604727)
[PASS] test_repayWithPermit(uint128,uint128,uint128,uint128,uint128) (runs: 1000, μ: 581605, ~: 579905)
[PASS] test_repayWithPermit_not_failing_if_permit_was_used(uint128,uint128,uint128,uint128,uint128) (runs: 1000, μ: 587063, ~: 585397)
[PASS] test_repayWithPermit_should_revert_if_permit_is_less_then_repay_amount(uint128,uint128,uint128,uint128,uint128) (runs: 1000, μ: 537274, ~: 533357)
[PASS] test_repay_full_variable_borrow() (gas: 401859)
[PASS] test_revert_repay_full_stable_borrow() (gas: 353430)
[PASS] test_reverts_borrow_invalidAmount() (gas: 51504)
[PASS] test_reverts_borrow_reserveInactive() (gas: 129619)
[PASS] test_reverts_borrow_reservePaused() (gas: 92442)
[PASS] test_reverts_no_explicit_repay_on_behalf() (gas: 327417)
[PASS] test_reverts_repay_no_debt() (gas: 52075)
Suite result: ok. 15 passed; 0 failed; 0 skipped; finished in 12.23s (12.18s CPU time)
Ran 15 tests for tests/misc/rates/RateStrategy.t.sol:RateStrategyBaseTests
[PASS] test_getInterestRateDataBps((uint16,uint32,uint32,uint32)) (runs: 1000, μ: 40386, ~: 40356)
[PASS] test_getInterestRateDataRay((uint16,uint32,uint32,uint32)) (runs: 1000, μ: 41380, ~: 41282)
[PASS] test_getMaxVariableBorrowRate((uint16,uint32,uint32,uint32)) (runs: 1000, μ: 38879, ~: 38790)
[PASS] test_initialization() (gas: 27078)
[PASS] test_new_DefaultReserveInterestRateStrategy_wrong_provider() (gas: 42406)
[PASS] test_new_SetReserveInterestRateParams((uint16,uint32,uint32,uint32)) (runs: 1000, μ: 52544, ~: 52454)
[PASS] test_new_SetReserveInterestRateParams_override_method((uint16,uint32,uint32,uint32)) (runs: 1000, μ: 49730, ~: 49659)
[PASS] test_new_SetReserveInterestRateParams_when_not_configurator((uint16,uint32,uint32,uint32)) (runs: 1000, μ: 26287, ~: 26241)
[PASS] test_overflow_liquidity_rates() (gas: 59548)
[PASS] test_overflow_variable_rates() (gas: 546010)
[PASS] test_reverts_SetReserveInterestRateParams_when_gt_maxRate((uint16,uint32,uint32,uint32)) (runs: 1000, μ: 34978, ~: 34978)
[PASS] test_reverts_SetReserveInterestRateParams_when_gt_max_op((uint16,uint32,uint32,uint32)) (runs: 1000, μ: 31521, ~: 31521)
[PASS] test_reverts_SetReserveInterestRateParams_when_lt_min_op((uint16,uint32,uint32,uint32)) (runs: 1000, μ: 31597, ~: 31597)
[PASS] test_reverts_SetReserveInterestRateParams_when_reserve_0((uint16,uint32,uint32,uint32)) (runs: 1000, μ: 27959, ~: 27959)
[PASS] test_reverts_SetReserveInterestRateParams_when_slope1_gt_slope2(uint16,uint32,uint32,uint32) (runs: 1000, μ: 33710, ~: 33710)
Suite result: ok. 15 passed; 0 failed; 0 skipped; finished in 3.44s (3.40s CPU time)
Ran 15 tests for tests/extensions/RevenueSplitter.t.sol:RevenueSplitterTest
[PASS] test_constructor() (gas: 15312)
[PASS] test_constructor_fuzzing(uint16) (runs: 1000, μ: 455456, ~: 455456)
[PASS] test_constructor_revert_invalid_split_percentage() (gas: 174521)
[PASS] test_splitFund_oneToken() (gas: 425061)
[PASS] test_splitFund_reverts_randomAddress() (gas: 51331)
[PASS] test_splitFund_zeroAmount_noOp() (gas: 385934)
[PASS] test_splitFund_zeroFunds_noOp() (gas: 50896)
[PASS] test_splitFund_zeroTokens_noOp() (gas: 384852)
[PASS] test_splitFunds_fixed() (gas: 462014)
[PASS] test_splitFunds_fuzz_max(uint256,uint256) (runs: 1000, μ: 463250, ~: 464196)
[PASS] test_splitFunds_fuzz_realistic(uint256,uint256) (runs: 1000, μ: 461482, ~: 462656)
[PASS] test_splitNativeFund_fixedAmount() (gas: 100469)
[PASS] test_splitNativeFund_walletNotAcceptingFunds() (gas: 535352)
[PASS] test_splitNativeFund_zeroAmount_noOp() (gas: 29713)
[PASS] test_splitNativeFunds_fuzz_max(uint256) (runs: 1000, μ: 100767, ~: 101887)
Suite result: ok. 15 passed; 0 failed; 0 skipped; finished in 4.20s (4.20s CPU time)
Ran 19 tests for tests/rewards/RewardsController.t.sol:RewardsControllerTest
[PASS] test_accrueRewards() (gas: 931424)
[PASS] test_claimAllRewards() (gas: 887237)
[PASS] test_claimAllRewardsOnBehalf() (gas: 920942)
[PASS] test_claimAllRewardsToSelf() (gas: 886864)
[PASS] test_claimRewards() (gas: 884013)
[PASS] test_claimRewardsOnBehalf() (gas: 922532)
[PASS] test_claimRewardsToSelf() (gas: 883695)
[PASS] test_claimRewards_partial() (gas: 884283)
[PASS] test_claimRewards_zero() (gas: 636639)
[PASS] test_claimRewards_zero_with_rewards() (gas: 643452)
[PASS] test_configureAssets() (gas: 617691)
[PASS] test_initialize_no_op() (gas: 3668534)
[PASS] test_new_RewardsController() (gas: 3644884)
[PASS] test_reverts_initialize_twice() (gas: 3670113)
[PASS] test_setClaimer() (gas: 58252)
[PASS] test_setDistributionEnd() (gas: 633550)
[PASS] test_setEmissionPerSecond() (gas: 637684)
[PASS] test_setRewardOracle() (gas: 711308)
[PASS] test_setTransferStrategy_PullRewardsTransferStrategy() (gas: 913786)
Suite result: ok. 19 passed; 0 failed; 0 skipped; finished in 52.71ms (15.16ms 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: 98768)
Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 36.55ms (245.48µs CPU time)
Ran 5 tests for tests/rewards/StakedTokenTransferStrategy.t.sol:StakedTokenTransferStrategyTest
[PASS] test_dropApproval() (gas: 18982)
[PASS] test_emergencyTransfer() (gas: 218832)
[PASS] test_getters() (gas: 18731)
[PASS] test_performTransfer() (gas: 22031)
[PASS] test_renewApproval() (gas: 23102)
Suite result: ok. 5 passed; 0 failed; 0 skipped; finished in 38.73ms (1.33ms CPU time)
Ran 2 tests for tests/extensions/stata-token/StataTokenV2Getters.sol:StataTokenV2GettersTest
[PASS] test_getters() (gas: 72123)
[PASS] test_initializeShouldRevert() (gas: 21665)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 42.07ms (309.93µs CPU time)
Ran 10 tests for tests/extensions/stata-token/StataTokenV2Pausable.t.sol:StataTokenV2PausableTest
[PASS] test_canPause() (gas: 26898)
[PASS] test_canPause_shouldReturnFalse(address) (runs: 1000, μ: 27394, ~: 27394)
[PASS] test_claimingRewards_shouldRevert() (gas: 554901)
[PASS] test_deposit_shouldRevert() (gas: 479828)
[PASS] test_mint_shouldRevert() (gas: 483833)
[PASS] test_redeem_shouldRevert() (gas: 574408)
[PASS] test_setPaused_shouldRevertForInvalidCaller(address) (runs: 1000, μ: 30455, ~: 30455)
[PASS] test_setPaused_shouldSucceedForOwner() (gas: 53972)
[PASS] test_transfer_shouldRevert() (gas: 552811)
[PASS] test_withdraw_shouldRevert() (gas: 570204)
Suite result: ok. 10 passed; 0 failed; 0 skipped; finished in 196.82ms (160.53ms CPU time)
Ran 3 tests for tests/extensions/stata-token/StataTokenV2Permit.sol:StataTokenV2PermitTest
[PASS] test_permit() (gas: 89457)
[PASS] test_permit_expired() (gas: 37491)
[PASS] test_permit_invalidSigner() (gas: 66080)
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 40.62ms (1.81ms CPU time)
Ran 13 tests for tests/protocol/pool/Pool.Supply.t.sol:PoolSupplyTests
[PASS] test_deprecated_deposit() (gas: 240892)
[PASS] test_first_supply() (gas: 240871)
[PASS] test_first_supply_on_behalf() (gas: 242918)
[PASS] test_reverts_supply_cap() (gas: 105305)
[PASS] test_reverts_supply_invalidAmount() (gas: 47720)
[PASS] test_reverts_supply_reserveFrozen() (gas: 117591)
[PASS] test_reverts_supply_reserveInactive() (gas: 125551)
[PASS] test_reverts_supply_reservePaused() (gas: 88395)
[PASS] test_reverts_supply_to_aToken() (gas: 50239)
[PASS] test_supplyWithPermit(uint128,uint128,uint128) (runs: 1000, μ: 422603, ~: 422622)
[PASS] test_supplyWithPermit_not_failing_if_permit_was_used(uint128,uint128,uint128) (runs: 1000, μ: 422811, ~: 422830)
[PASS] test_supplyWithPermit_should_revert_if_permit_is_less_then_supply_amount(uint128,uint128) (runs: 1000, μ: 288093, ~: 288099)
[PASS] test_supply_after_collateral_enabled() (gas: 287552)
Suite result: ok. 13 passed; 0 failed; 0 skipped; finished in 6.34s (6.30s CPU time)
Ran 11 tests for tests/protocol/pool/Pool.Withdraw.t.sol:PoolWithdrawTests
[PASS] test_Reverts_withdraw_transferred_funds() (gas: 549402)
[PASS] test_full_withdraw() (gas: 234777)
[PASS] test_full_withdraw_to() (gas: 240305)
[PASS] test_partial_withdraw() (gas: 231268)
[PASS] test_reverts_withdraw_hf_lt_lqt() (gas: 678915)
[PASS] test_reverts_withdraw_invalidAmount() (gas: 247145)
[PASS] test_reverts_withdraw_invalidBalance() (gas: 249215)
[PASS] test_reverts_withdraw_reserveInactive() (gas: 203217)
[PASS] test_reverts_withdraw_reservePaused() (gas: 284676)
[PASS] test_reverts_withdraw_to_atoken() (gas: 247118)
[PASS] test_withdraw_not_enabled_as_collateral() (gas: 248144)
Suite result: ok. 11 passed; 0 failed; 0 skipped; finished in 45.63ms (8.17ms CPU time)
Ran 37 tests for tests/protocol/pool/Pool.t.sol:PoolTests
[PASS] test_dropReserve() (gas: 99058)
[PASS] test_getBorrowLogic() (gas: 13619)
[PASS] test_getBridgeLogic() (gas: 13617)
[PASS] test_getEModeLogic() (gas: 13618)
[PASS] test_getFlashLoanLogic() (gas: 13598)
[PASS] test_getLiquidationLogic() (gas: 13687)
[PASS] test_getPoolLogic() (gas: 13683)
[PASS] test_getSupplyLogic() (gas: 13682)
[PASS] test_getVirtualUnderlyingBalance() (gas: 244743)
[PASS] test_getters_getUserAccountData() (gas: 598632)
[PASS] test_mintToTreasury() (gas: 693389)
[PASS] test_mintToTreasury_skip_invalid_addresses() (gas: 698081)
[PASS] test_noop_setUserUseReserveAsCollateral_true_when_already_is_activated() (gas: 290768)
[PASS] test_pool_defaultValues() (gas: 4370459)
[PASS] test_rescueTokens(uint256) (runs: 1000, μ: 81889, ~: 82155)
[PASS] test_resetIsolationModeTotalDebt() (gas: 721635)
[PASS] test_reverts_initReserve_not_poolConfigurator(address) (runs: 1000, μ: 25430, ~: 25430)
[PASS] test_reverts_modifiers_not_poolConfigurator(address) (runs: 1000, μ: 127079, ~: 127079)
[PASS] test_reverts_new_Pool_invalidAddressesProvider() (gas: 4382474)
[PASS] test_reverts_setReserveInterestRateStrategyAddress_AssetNotListed(address,address) (runs: 1000, μ: 44326, ~: 44326)
[PASS] test_reverts_setReserveInterestRateStrategyAddress_ZeroAssetAddress(address) (runs: 1000, μ: 22732, ~: 22732)
[PASS] test_reverts_setUserEmode_0_bad_hf() (gas: 977775)
[PASS] test_reverts_setUserUseReserveAsCollateral_false_hf_lower_lqt() (gas: 600582)
[PASS] test_reverts_setUserUseReserveAsCollateral_true_ltv_zero() (gas: 296779)
[PASS] test_reverts_setUserUseReserveAsCollateral_true_reserve_inactive() (gas: 212145)
[PASS] test_reverts_setUserUseReserveAsCollateral_true_reserve_paused() (gas: 291639)
[PASS] test_reverts_setUserUseReserveAsCollateral_true_user_balance_zero() (gas: 71802)
[PASS] test_reverts_setUserUseReserveAsCollateral_true_user_isolation_mode() (gas: 778938)
[PASS] test_setLiquidationGracePeriod(uint40) (runs: 1000, μ: 34724, ~: 34834)
[PASS] test_setLiquidationGracePeriod_assetNotListed(uint40) (runs: 1000, μ: 27115, ~: 27115)
[PASS] test_setReserveInterestRateStrategyAddress() (gas: 899426)
[PASS] test_setUserEmode() (gas: 227533)
[PASS] test_setUserEmode_twice() (gas: 358044)
[PASS] test_setUserEmode_twice_inconsistent_category() (gas: 968281)
[PASS] test_setUserUseReserveAsCollateral_false() (gas: 240328)
[PASS] test_setUserUseReserveAsCollateral_true() (gas: 277847)
[PASS] test_updateBridgeProtocolFee() (gas: 253)
Suite result: ok. 37 passed; 0 failed; 0 skipped; finished in 1.08s (1.04s CPU time)
Ran 22 tests for tests/protocol/configuration/PoolAddressesProvider.t.sol:PoolAddressesProviderTests
[PASS] test_PoolDataProvider_changeContract() (gas: 1472801)
[PASS] test_getter_getMarketId() (gas: 1435230)
[PASS] test_new_PoolAddressesProvider() (gas: 1444460)
[PASS] test_reverts_setAddressAsProxy_notAuth() (gas: 1448636)
[PASS] test_reverts_setAddress_noAuth() (gas: 1453813)
[PASS] test_reverts_setters_notOwner() (gas: 1451422)
[PASS] test_setACLManager_changeContract() (gas: 3014312)
[PASS] test_setACLManager_setACLAdmin() (gas: 2248265)
[PASS] test_setAddress() (gas: 1462728)
[PASS] test_setAddressAsProxy_new_proxy() (gas: 2020462)
[PASS] test_setAddressAsProxy_upgrade_proxy() (gas: 2132834)
[PASS] test_setAddress_updateAddress() (gas: 1471854)
[PASS] test_setPoolConfiguratorImpl() (gas: 5950177)
[PASS] test_setPoolConfiguratorImpl_upgrade() (gas: 10353154)
[PASS] test_setPoolDataProvider() (gas: 1463246)
[PASS] test_setPoolImpl() (gas: 6253736)
[PASS] test_setPoolImpl_upgrade() (gas: 10656384)
[PASS] test_setPriceOracle() (gas: 1463403)
[PASS] test_setPriceOracleSentinel() (gas: 1463274)
[PASS] test_setPriceOracleSentinel_changeContract() (gas: 1472878)
[PASS] test_setPriceOracle_changeContract() (gas: 1473139)
[PASS] test_setter_setMarketId() (gas: 1446381)
Suite result: ok. 22 passed; 0 failed; 0 skipped; finished in 45.23ms (8.99ms CPU time)
Ran 4 tests for tests/extensions/stata-token/StataTokenV2Rescuable.sol:StataTokenV2RescuableTest
[PASS] test_rescuable_shouldNotCauseInsolvency(uint256,uint256) (runs: 1000, μ: 780471, ~: 780476)
[PASS] test_rescuable_shouldRevertForInvalidCaller() (gas: 197242)
[PASS] test_rescuable_shouldTransferAssetsToCollector() (gas: 224934)
[PASS] test_rescuable_shouldWorkForAToken() (gas: 451830)
Suite result: ok. 4 passed; 0 failed; 0 skipped; finished in 3.06s (3.02s CPU time)
Ran 17 tests for tests/extensions/stata-token/ERC20AaveLMUpgradable.t.sol:ERC20AaveLMUpgradableTest
[PASS] test_7201() (gas: 3358)
[PASS] test_claimRewards(uint256,uint32,uint88,uint32) (runs: 1000, μ: 853766, ~: 814596)
[PASS] test_claimRewardsOnBehalfOf_self(uint256,uint32,uint88,uint32) (runs: 1000, μ: 852075, ~: 814811)
[PASS] test_claimRewardsOnBehalfOf_shouldRevertForInvalidClaimer(uint256,uint32,uint88,uint32) (runs: 1000, μ: 789024, ~: 790754)
[PASS] test_claimRewardsOnBehalfOf_validClaimer(uint256,uint32,uint88,uint32) (runs: 1000, μ: 882652, ~: 847208)
[PASS] test_claimRewardsToSelf(uint256,uint32,uint88,uint32) (runs: 1000, μ: 849578, ~: 814508)
[PASS] test_claimableRewards(uint256,uint32,uint88,uint32) (runs: 1000, μ: 789895, ~: 791679)
[PASS] test_collectAndUpdateRewards(uint256,uint32,uint88,uint32) (runs: 1000, μ: 832522, ~: 811133)
[PASS] test_correctAccountingForDelayedRegistration() (gas: 840249)
[PASS] test_getReferenceAsset() (gas: 12908)
[PASS] test_isRegisteredRewardToken() (gas: 651081)
[PASS] test_noRewardsInitialized() (gas: 39241)
[PASS] test_noopWhenNotInitialized() (gas: 53159)
[PASS] test_rewardTokens() (gas: 649222)
[PASS] test_transfer(uint256,uint32,uint88,uint32,address,uint256) (runs: 1000, μ: 864332, ~: 881462)
[PASS] test_transfer_toSelf(uint256,uint32,uint88,uint32) (runs: 1000, μ: 821933, ~: 815444)
[PASS] test_zeroIncentivesController() (gas: 37827)
Suite result: ok. 17 passed; 0 failed; 0 skipped; finished in 22.59s (22.54s 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, μ: 38594, ~: 38594)
[PASS] test_reverts_notAdmin_dropReserve(address) (runs: 1000, μ: 36181, ~: 36181)
[PASS] test_reverts_notAdmin_initReserves((uint8,string,string,string,string,address,address,address,bool),address) (runs: 1000, μ: 1049388, ~: 1049462)
[PASS] test_reverts_notAdmin_setReserveActive(address) (runs: 1000, μ: 36287, ~: 36287)
[PASS] test_reverts_notAdmin_updateAToken(address) (runs: 1000, μ: 35272, ~: 35272)
[PASS] test_reverts_notAdmin_updateFlashLoanPremiumProtocol(address) (runs: 1000, μ: 34033, ~: 34033)
[PASS] test_reverts_notAdmin_updateFlashLoanPremiumTotal(address) (runs: 1000, μ: 34030, ~: 34030)
[PASS] test_reverts_notAdmin_updateVariableDebtToken(address) (runs: 1000, μ: 35015, ~: 35015)
[PASS] test_reverts_notRiskAdmin_configureReserveAsCollateral(address) (runs: 1000, μ: 38679, ~: 38679)
[PASS] test_reverts_notRiskAdmin_setAssetCollateralInEMode(address) (runs: 1000, μ: 38813, ~: 38813)
[PASS] test_reverts_notRiskAdmin_setBorrowCap(address) (runs: 1000, μ: 38605, ~: 38605)
[PASS] test_reverts_notRiskAdmin_setEModeCategory(address) (runs: 1000, μ: 39132, ~: 39132)
[PASS] test_reverts_notRiskAdmin_setReserveBorrowing(address) (runs: 1000, μ: 38645, ~: 38645)
[PASS] test_reverts_notRiskAdmin_setReserveFactor(address) (runs: 1000, μ: 38606, ~: 38606)
[PASS] test_reverts_notRiskAdmin_setReserveInterestRateData(address,address) (runs: 1000, μ: 39368, ~: 39368)
[PASS] test_reverts_notRiskAdmin_setReserveInterestRateStrategyAddress(address) (runs: 1000, μ: 39276, ~: 39276)
[PASS] test_reverts_notRiskAdmin_setSupplyCap(address) (runs: 1000, μ: 38517, ~: 38517)
[PASS] test_reverts_notRiskOrPoolOrEmergencyAdmin_setReserveFreeze(address) (runs: 1000, μ: 43151, ~: 43151)
[PASS] test_reverts_setDebtCeiling(address) (runs: 1000, μ: 38629, ~: 38629)
[PASS] test_reverts_setPoolPause_noGracePeriod_unauth(address,bool) (runs: 1000, μ: 38557, ~: 38557)
[PASS] test_reverts_setPoolPause_unauth(address,bool,uint40) (runs: 1000, μ: 56180, ~: 56180)
[PASS] test_reverts_setReservePause_noGracePeriod_off_unauth(address,address,bool) (runs: 1000, μ: 38851, ~: 38851)
[PASS] test_reverts_setReservePause_off_unauth(address,address,bool,uint40) (runs: 1000, μ: 39016, ~: 39016)
[PASS] test_reverts_setReservePause_on_unauth(address,address,bool,uint40) (runs: 1000, μ: 38993, ~: 38993)
Suite result: ok. 24 passed; 0 failed; 0 skipped; finished in 3.54s (3.51s CPU time)
Ran 10 tests for tests/protocol/pool/pool-configurator/PoolConfigurator.borrowCaps.t.sol:PoolConfiguratorBorrowCapTests
[PASS] test_borrow_eq_cap() (gas: 311493)
[PASS] test_borrow_interests_reach_cap() (gas: 313541)
[PASS] test_borrow_lt_cap() (gas: 299263)
[PASS] test_default_borrowCap_zero() (gas: 27547)
[PASS] test_reverts_borrow_after_borrow_interests_reach_cap() (gas: 359964)
[PASS] test_reverts_borrow_gt_cap() (gas: 142508)
[PASS] test_reverts_setBorrowCap_gt_max_cap() (gas: 48711)
[PASS] test_reverts_unauthorized_setBorrowCap() (gas: 35517)
[PASS] test_setBorrowCap() (gas: 76727)
[PASS] test_setBorrowCap_them_setBorrowCap_zero() (gas: 319830)
Suite result: ok. 10 passed; 0 failed; 0 skipped; finished in 48.97ms (5.89ms CPU time)
Ran 13 tests for tests/protocol/pool/pool-configurator/PoolConfigurator.eMode.sol:PoolConfiguratorEModeConfigTests
[PASS] test_addAnotherAssetBorrowableInEMode() (gas: 269494)
[PASS] test_addAnotherAssetCollateralInEMode() (gas: 249745)
[PASS] test_configureEmodeCategory() (gas: 119120)
[PASS] test_removeBorrowableFromEmode() (gas: 182460)
[PASS] test_removeCollateralFromEmode() (gas: 223997)
[PASS] test_reverts_setEmodeCategory_lb_lte_percentageFactor() (gas: 59662)
[PASS] test_reverts_setEmodeCategory_liquidation_threshold_doesnt_match_bonus() (gas: 35793)
[PASS] test_reverts_setEmodeCategory_ltv_gt_liqThreshold() (gas: 34377)
[PASS] test_reverts_setEmodeCategory_zero_liqThreshold() (gas: 34249)
[PASS] test_reverts_setEmodeCategory_zero_ltv() (gas: 34162)
[PASS] test_setAssetBorrowableInEMode() (gas: 202372)
[PASS] test_setAssetCollateralInEMode() (gas: 182537)
[PASS] test_updateEModeCategory() (gas: 205647)
Suite result: ok. 13 passed; 0 failed; 0 skipped; finished in 53.13ms (8.30ms CPU time)
Ran 17 tests for tests/extensions/v3-config-engine/AaveV3ConfigEngineTest.t.sol:AaveV3ConfigEngineTest
[PASS] testAssetEModeUpdates() (gas: 4424308)
[PASS] testBorrowUpdatesNoChange() (gas: 3437288)
[PASS] testBorrowsUpdates() (gas: 3499804)
[PASS] testCapsUpdate() (gas: 3442353)
[PASS] testCollateralUpdateCorrectBonus() (gas: 3457346)
[PASS] testCollateralUpdateWrongBonus() (gas: 755115)
[PASS] testCollateralsUpdates() (gas: 3456944)
[PASS] testCollateralsUpdatesNoChange() (gas: 3435373)
[PASS] testEModeCategoryUpdates() (gas: 3529011)
[PASS] testEModeCategoryUpdatesNoChange() (gas: 3429087)
[PASS] testEModeCategoryUpdatesWrongBonus() (gas: 743213)
[PASS] testFailCollateralsUpdatesNoChange() (gas: 2021085)
[PASS] testFailEModeCategoryUpdatesNoChange() (gas: 757815)
[PASS] testListings() (gas: 6669085)
[PASS] testListingsCustom() (gas: 10391063)
[PASS] testPriceFeedsUpdates() (gas: 3518129)
[PASS] testRateStrategiesUpdates() (gas: 3506252)
Suite result: ok. 17 passed; 0 failed; 0 skipped; finished in 23.06s (22.96s CPU time)
Ran 2 tests for tests/deployments/AaveV3PermissionsTest.t.sol:AaveV3PermissionsTest
[PASS] testCheckPermissions() (gas: 52220452)
[PASS] testCheckPermissionsTreasuryPartner() (gas: 52709813)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 45.27ms (40.27ms CPU time)
Ran 7 tests for tests/protocol/configuration/AddressesProviderRegistry.t.sol:PoolAddressesProviderRegistryTest
[PASS] testAddAddressesProvider() (gas: 120613)
[PASS] testRemoveAddressesProvider() (gas: 97154)
[PASS] testRemoveMultipleAddressesProvider() (gas: 242924)
[PASS] test_addressesProviderAddedToRegistry() (gas: 16393)
[PASS] test_removesLastProvider() (gas: 32653)
[PASS] test_revert_registry_0() (gas: 15558)
[PASS] test_revert_removeNonExistingAddressesProvider() (gas: 27603)
Suite result: ok. 7 passed; 0 failed; 0 skipped; finished in 39.55ms (1.97ms CPU time)
Ran 1 test for tests/template/BaseTest.t.sol:BaseTest
[PASS] test_default() (gas: 245785)
Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 37.00ms (421.03µs CPU time)
Ran 18 tests for tests/protocol/tokenization/VariableDebtToken.t.sol:VariableDebtTokenEventsTests
[PASS] test_balanceOf() (gas: 242104)
[PASS] test_cancel_delegationWithSig() (gas: 101800)
[PASS] test_delegationWithSig() (gas: 95276)
[PASS] test_initialize_VariableDebtToken((uint8,string,string,string,string,address,address,address,bool)) (runs: 1000, μ: 2738708, ~: 2738918)
[PASS] test_mint_variableDebt_caller_alice((uint8,string,string,string,string,address,address,address,bool)) (runs: 1000, μ: 2811601, ~: 2811085)
[PASS] test_mint_variableDebt_caller_bob_onBehalf_alice((uint8,string,string,string,string,address,address,address,bool)) (runs: 1000, μ: 2825335, ~: 2825297)
[PASS] test_new_VariableDebtToken_implementation() (gas: 1573043)
[PASS] test_partial_burn_variableDebt((uint8,string,string,string,string,address,address,address,bool)) (runs: 1000, μ: 2825523, ~: 2825406)
[PASS] test_reverts_bad_expiration_delegationWithSig() (gas: 34223)
[PASS] test_reverts_bad_nonce_delegationWithSig() (gas: 111067)
[PASS] test_reverts_initialize_pool_do_not_match((uint8,string,string,string,string,address,address,address,bool)) (runs: 1000, μ: 2626145, ~: 2626276)
[PASS] test_reverts_initialize_twice((uint8,string,string,string,string,address,address,address,bool)) (runs: 1000, μ: 3677002, ~: 3676481)
[PASS] test_reverts_operation_not_supported() (gas: 1591646)
[PASS] test_reverts_zero_address_delegationWithSig() (gas: 33532)
[PASS] test_scaledBalanceOf() (gas: 321886)
[PASS] test_totalScaledSupply() (gas: 360543)
[PASS] test_totalSupply() (gas: 360472)
[PASS] test_total_burn_variableDebt((uint8,string,string,string,string,address,address,address,bool)) (runs: 1000, μ: 2828831, ~: 2825321)
Suite result: ok. 18 passed; 0 failed; 0 skipped; finished in 6.30s (6.27s CPU time)
Ran 12 tests for tests/protocol/libraries/math/WadRayMath.t.sol:WadRayMathTests
[PASS] test_constants() (gas: 13279)
[PASS] test_rayDiv() (gas: 12752)
[PASS] test_rayMul() (gas: 11375)
[PASS] test_rayToWad() (gas: 11057)
[PASS] test_rayToWad_fuzz(uint256) (runs: 1000, μ: 13329, ~: 13278)
[PASS] test_wadDiv() (gas: 12873)
[PASS] test_wadDiv_fuzzing(uint256,uint256) (runs: 1000, μ: 10503, ~: 10723)
[PASS] test_wadMul() (gas: 11145)
[PASS] test_wadMul_edge() (gas: 11187)
[PASS] test_wadMul_fuzzing(uint256,uint256) (runs: 1000, μ: 10720, ~: 11341)
[PASS] test_wadToRay() (gas: 10867)
[PASS] test_wadToRay_fuzz(uint256) (runs: 1000, μ: 12119, ~: 12349)
Suite result: ok. 12 passed; 0 failed; 0 skipped; finished in 239.24ms (231.72ms CPU time)
Ran 14 tests for tests/helpers/WrappedTokenGateway.t.sol:WrappedTokenGatewayTests
[PASS] test_borrowDelegateApprove_repay() (gas: 467977)
[PASS] test_borrowVariableDebtWeth_repayWithEth() (gas: 797656)
[PASS] test_borrowVariableDebtWeth_repayWithEth_mismatchedValues() (gas: 794324)
[PASS] test_depositNativeEthInPool() (gas: 255540)
[PASS] test_fallback_revert() (gas: 10061)
[PASS] test_getWETHAddress() (gas: 10592)
[PASS] test_ownerCanRescueEth() (gas: 25228)
[PASS] test_ownerCanRescueTokens() (gas: 96943)
[PASS] test_sendEthFallback_revert() (gas: 16727)
[PASS] test_sendEth_revert() (gas: 16582)
[PASS] test_withdrawEth_full() (gas: 382931)
[PASS] test_withdrawEth_partial() (gas: 402419)
[PASS] test_withdrawEth_permit() (gas: 436725)
[PASS] test_withdrawEth_permit_full() (gas: 413544)
Suite result: ok. 14 passed; 0 failed; 0 skipped; finished in 44.95ms (11.17ms CPU time)
Ran 4 tests for tests/protocol/pool/pool-configurator/PoolConfigurator.liquidationFee.t.sol:PoolConfiguratorLiquidationFeeTests
[PASS] test_revert_setLiquidationFee_gt_100() (gas: 59237)
[PASS] test_revert_setLiquidationFee_unauthorized() (gas: 59105)
[PASS] test_setLiquidationFee() (gas: 76574)
[PASS] test_setLiquidationFee_100() (gas: 76530)
Suite result: ok. 4 passed; 0 failed; 0 skipped; finished in 36.61ms (886.44µs CPU time)
Ran 3 tests for tests/protocol/pool/pool-configurator/PoolConfigurator.pendingLTV.t.sol:PoolConfiguratorPendingLtvTests
[PASS] test_freezeReserve_ltvSetTo0() (gas: 105716)
[PASS] test_setLtv_ltvSetPendingLtvSet(uint256,uint256) (runs: 1000, μ: 141427, ~: 141430)
[PASS] test_unfreezeReserve_pendingSetToLtv() (gas: 106979)
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 1.03s (993.18ms CPU time)
Ran 6 tests for tests/protocol/pool/pool-configurator/PoolConfigurator.upgradeabilty.t.sol:PoolConfiguratorUpgradeabilityTests
[PASS] test_getConfiguratorLogic() (gas: 13610)
[PASS] test_interestRateStrategy_update() (gas: 1851642)
[PASS] test_setReserveInterestRateData() (gas: 152244)
[PASS] test_setReserveInterestRateStrategyAddress() (gas: 1008600)
[PASS] test_updateAToken() (gas: 2284870)
[PASS] test_updateVariableDebtToken() (gas: 1682058)
Suite result: ok. 6 passed; 0 failed; 0 skipped; finished in 41.65ms (4.92ms 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: 680432)
[PASS] test_reverts_initReserves_max() (gas: 196981)
[PASS] test_reverts_initReserves_reserveAlreadyAdded() (gas: 220386)
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 38.51ms (787.23µs CPU time)
Ran 11 tests for tests/protocol/pool/pool-configurator/PoolConfigurator.supplyCaps.t.sol:PoolConfiguratorSupplyCapTests
[PASS] test_default_supplyCap_zero() (gas: 27525)
[PASS] test_multiple_setSupplyCap() (gas: 369124)
[PASS] test_reverts_interests_gt_cap_and_supply() (gas: 477618)
[PASS] test_reverts_setSupplyCap_gt_max_cap() (gas: 48667)
[PASS] test_reverts_supply_gt_cap() (gas: 122598)
[PASS] test_reverts_unauthorized_setSupplyCap() (gas: 35454)
[PASS] test_setSupplyCap() (gas: 76762)
[PASS] test_setSupplyCap_them_setBorrowCap_zero() (gas: 316749)
[PASS] test_supply_eq_cap() (gas: 298070)
[PASS] test_supply_interests_reach_cap() (gas: 439022)
[PASS] test_supply_lt_cap() (gas: 298071)
Suite result: ok. 11 passed; 0 failed; 0 skipped; finished in 43.04ms (6.49ms CPU time)
Ran 17 tests for tests/extensions/paraswap-adapters/ParaswapAdapters.t.sol:ParaswapAdaptersTest
[PASS] test_rescueTokens() (gas: 203341)
[PASS] test_reverts_offset_out_of_range_swap_liquidity_permit_flashloan() (gas: 744799)
[PASS] test_reverts_swapAndDeposit_offset() (gas: 815906)
[PASS] test_reverts_swapAndRepay_offset_out_of_range() (gas: 913137)
[PASS] test_reverts_withdrawAndSwap_offset_out_of_range() (gas: 795909)
[PASS] test_swapAndDeposit() (gas: 897759)
[PASS] test_swapAndDeposit_permit() (gas: 944788)
[PASS] test_swapAndRepay() (gas: 993324)
[PASS] test_swapAndRepay_flashloan() (gas: 1082357)
[PASS] test_swapAndRepay_flashloan_permit() (gas: 1124988)
[PASS] test_swapAndRepay_no_collateral_leftovers() (gas: 1042810)
[PASS] test_swapAndRepay_permit() (gas: 1040201)
[PASS] test_swap_liquidity_flashloan() (gas: 1008621)
[PASS] test_swap_liquidity_permit_flashloan() (gas: 1051145)
[PASS] test_withdrawAndSwap() (gas: 814811)
[PASS] test_withdrawAndSwap_permit() (gas: 857912)
[PASS] test_withdrawSwapAdapter_reverts_flashloan() (gas: 532838)
Suite result: ok. 17 passed; 0 failed; 0 skipped; finished in 76.66ms (39.40ms CPU time)
Ran 5 tests for tests/protocol/libraries/math/PercentageMath.t.sol:PercentageMathTests
[PASS] test_constants() (gas: 10165)
[PASS] test_percentDiv() (gas: 11147)
[PASS] test_percentDiv_fuzz(uint256,uint256) (runs: 1000, μ: 10578, ~: 10678)
[PASS] test_percentMul() (gas: 11154)
[PASS] test_percentMul_fuzz(uint256,uint256) (runs: 1000, μ: 10637, ~: 11209)
Suite result: ok. 5 passed; 0 failed; 0 skipped; finished in 99.37ms (98.23ms CPU time)
Ran 18 tests for tests/protocol/pool/Pool.Borrow.t.sol:PoolBorrowTests
[PASS] test_borrow_variable_in_isolation() (gas: 556781)
[PASS] test_reverts_borrow_cap() (gas: 303525)
[PASS] test_reverts_borrow_collateral_balance_zero() (gas: 81484)
[PASS] test_reverts_borrow_collateral_can_not_cover() (gas: 315212)
[PASS] test_reverts_borrow_debt_ceiling() (gas: 649154)
[PASS] test_reverts_borrow_debt_ceiling_exceeded() (gas: 390265)
[PASS] test_reverts_borrow_hf_lt_1() (gas: 563166)
[PASS] test_reverts_borrow_inconsistent_emode_category() (gas: 429768)
[PASS] test_reverts_borrow_invalidAmount() (gas: 64941)
[PASS] test_reverts_borrow_not_borrowable_isolation() (gas: 374498)
[PASS] test_reverts_borrow_reserveFrozen() (gas: 132863)
[PASS] test_reverts_borrow_reserveInactive() (gas: 140844)
[PASS] test_reverts_borrow_reservePaused() (gas: 103564)
[PASS] test_reverts_borrow_sentinel_oracle_down() (gas: 315651)
[PASS] test_reverts_borrow_sioled_borrowing_violation() (gas: 707966)
[PASS] test_reverts_deprecated_stable_borrow() (gas: 406653)
[PASS] test_reverts_variable_borrow_transferred_funds() (gas: 381059)
[PASS] test_variable_borrow() (gas: 346821)
Suite result: ok. 18 passed; 0 failed; 0 skipped; finished in 51.44ms (14.83ms CPU time)
Ran 28 tests for tests/extensions/stata-token/ERC4626StataTokenUpgradeable.t.sol:ERC4626StataTokenUpgradeableTest
[PASS] test_7201() (gas: 3469)
[PASS] test_convertersAndPreviews(uint128) (runs: 1000, μ: 43329, ~: 43329)
[PASS] test_depositATokens(uint128,uint256,address) (runs: 1000, μ: 531218, ~: 531604)
[PASS] test_depositATokens_self() (gas: 531707)
Logs:
Bound result 1000000000000000000
Bound result 1000000000000000000
[PASS] test_depositWithPermit_aToken(uint128,uint256,address) (runs: 1000, μ: 566044, ~: 566576)
[PASS] test_depositWithPermit_emptyPermit_aToken_preApproval(uint128,uint256,address) (runs: 1000, μ: 537827, ~: 538379)
[PASS] test_depositWithPermit_emptyPermit_underlying_preApproval(uint128,uint256,address) (runs: 1000, μ: 476678, ~: 476544)
[PASS] test_depositWithPermit_shouldRevert_emptyPermit_noPreApproval(uint128) (runs: 1000, μ: 403840, ~: 403733)
[PASS] test_depositWithPermit_underlying(uint128,uint256,address) (runs: 1000, μ: 497898, ~: 497784)
[PASS] test_deposit_shouldRevert_insufficientAllowance(uint128) (runs: 1000, μ: 394687, ~: 394602)
[PASS] test_latestAnswer_priceShouldBeEqualOnDefaultIndex() (gas: 37222)
[PASS] test_latestAnswer_priceShouldReflectIndexAccrual(uint256) (runs: 1000, μ: 42171, ~: 42197)
[PASS] test_maxDeposit_cap(uint256) (runs: 1000, μ: 110086, ~: 110289)
[PASS] test_maxDeposit_freeze() (gas: 116746)
[PASS] test_maxDeposit_noCap() (gas: 98267)
[PASS] test_maxDeposit_paused() (gas: 90020)
[PASS] test_maxRedeem_inSufficientAvailableLiquidity(uint256) (runs: 1000, μ: 990428, ~: 990561)
[PASS] test_maxRedeem_paused(uint128) (runs: 1000, μ: 554970, ~: 554871)
[PASS] test_maxRedeem_sufficientAvailableLiquidity(uint128) (runs: 1000, μ: 526728, ~: 526627)
[PASS] test_mint(uint256,address) (runs: 1000, μ: 464858, ~: 464704)
[PASS] test_mint_shouldRevert_mintMoreThenBalance(uint256,address) (runs: 1000, μ: 255905, ~: 255740)
[PASS] test_redeem(uint256,address) (runs: 1000, μ: 586370, ~: 586213)
[PASS] test_redeemATokens(uint256,address) (runs: 1000, μ: 593594, ~: 593430)
[PASS] test_redeemATokens_onBehalf(uint256) (runs: 1000, μ: 614111, ~: 613920)
[PASS] test_redeemATokens_onBehalf_shouldRevert_insufficientAllowance(uint256,uint256) (runs: 1000, μ: 545573, ~: 546240)
[PASS] test_totalAssets_shouldbeZeroOnZeroSupply() (gas: 26046)
[PASS] test_withdraw(uint256,address) (runs: 1000, μ: 590176, ~: 590011)
[PASS] test_withdraw_shouldRevert_moreThenAvailable(uint256,address) (runs: 1000, μ: 530920, ~: 530756)
Suite result: ok. 28 passed; 0 failed; 0 skipped; finished in 32.02s (31.99s CPU time)
Ran 9 tests for tests/rewards/EmissionsManager.t.sol:EmissionManagerTest
[PASS] test_configureAssets() (gas: 598376)
[PASS] test_new_EmissionManager() (gas: 758986)
[PASS] test_setClaimer() (gas: 51471)
[PASS] test_setDistributionEnd() (gas: 605645)
[PASS] test_setEmissionAdmin() (gas: 43012)
[PASS] test_setEmissionPerSecond() (gas: 612259)
[PASS] test_setRewardOracle() (gas: 687392)
[PASS] test_setRewardsController() (gas: 19086)
[PASS] test_setTransferStrategy() (gas: 888963)
Suite result: ok. 9 passed; 0 failed; 0 skipped; finished in 39.73ms (2.08ms CPU time)
Ran 6 tests for tests/misc/aave-upgradeability/InitializableImmutableAdminUpgradeabilityProxy.t.sol:InitializableImmutableAdminUpgradeabilityProxyTests
[PASS] test_proxy_fallback() (gas: 597827)
[PASS] test_proxy_upgradeTo() (gas: 619698)
[PASS] test_proxy_upgradeToAndCall() (gas: 625582)
[PASS] test_proxy_upgradeToAndCall_initialize() (gas: 594923)
[PASS] test_reverts_upgradeToAndCall_notAdmin() (gas: 600810)
[PASS] test_reverts_upgradeTo_notAdmin() (gas: 598616)
Suite result: ok. 6 passed; 0 failed; 0 skipped; finished in 3.30ms (1.85ms CPU time)
Ran 47 tests for tests/protocol/pool/L2Pool.t.sol:L2PoolTests
[PASS] test_dropReserve() (gas: 98864)
[PASS] test_getBorrowLogic() (gas: 13620)
[PASS] test_getBridgeLogic() (gas: 13706)
[PASS] test_getEModeLogic() (gas: 13708)
[PASS] test_getFlashLoanLogic() (gas: 13685)
[PASS] test_getLiquidationLogic() (gas: 13685)
[PASS] test_getPoolLogic() (gas: 13706)
[PASS] test_getSupplyLogic() (gas: 13683)
[PASS] test_getVirtualUnderlyingBalance() (gas: 244672)
[PASS] test_getters_getUserAccountData() (gas: 598456)
[PASS] test_l2_borrow() (gas: 432414)
[PASS] test_l2_liquidationCall() (gas: 1091952)
[PASS] test_l2_partial_withdraw() (gas: 307375)
[PASS] test_l2_repay() (gas: 461025)
[PASS] test_l2_repay_atokens() (gas: 468685)
[PASS] test_l2_repay_permit(uint128,uint128,uint128,uint128,uint128) (runs: 1000, μ: 638300, ~: 636347)
[PASS] test_l2_set_user_collateral() (gas: 267056)
[PASS] test_l2_supply() (gas: 250760)
[PASS] test_l2_supply_permit(uint128,uint128) (runs: 1000, μ: 426390, ~: 426392)
[PASS] test_l2_withdraw() (gas: 243292)
[PASS] test_mintToTreasury() (gas: 693679)
[PASS] test_mintToTreasury_skip_invalid_addresses() (gas: 698305)
[PASS] test_noop_setUserUseReserveAsCollateral_true_when_already_is_activated() (gas: 290835)
[PASS] test_pool_defaultValues() (gas: 4370448)
[PASS] test_rescueTokens(uint256) (runs: 1000, μ: 81915, ~: 82198)
[PASS] test_resetIsolationModeTotalDebt() (gas: 721884)
[PASS] test_reverts_initReserve_not_poolConfigurator(address) (runs: 1000, μ: 25515, ~: 25515)
[PASS] test_reverts_modifiers_not_poolConfigurator(address) (runs: 1000, μ: 127035, ~: 127035)
[PASS] test_reverts_new_Pool_invalidAddressesProvider() (gas: 4382496)
[PASS] test_reverts_setReserveInterestRateStrategyAddress_AssetNotListed(address,address) (runs: 1000, μ: 44327, ~: 44327)
[PASS] test_reverts_setReserveInterestRateStrategyAddress_ZeroAssetAddress(address) (runs: 1000, μ: 22733, ~: 22733)
[PASS] test_reverts_setUserEmode_0_bad_hf() (gas: 977910)
[PASS] test_reverts_setUserUseReserveAsCollateral_false_hf_lower_lqt() (gas: 600539)
[PASS] test_reverts_setUserUseReserveAsCollateral_true_ltv_zero() (gas: 296738)
[PASS] test_reverts_setUserUseReserveAsCollateral_true_reserve_inactive() (gas: 212016)
[PASS] test_reverts_setUserUseReserveAsCollateral_true_reserve_paused() (gas: 291598)
[PASS] test_reverts_setUserUseReserveAsCollateral_true_user_balance_zero() (gas: 71869)
[PASS] test_reverts_setUserUseReserveAsCollateral_true_user_isolation_mode() (gas: 778678)
[PASS] test_setLiquidationGracePeriod(uint40) (runs: 1000, μ: 34636, ~: 34746)
[PASS] test_setLiquidationGracePeriod_assetNotListed(uint40) (runs: 1000, μ: 27115, ~: 27115)
[PASS] test_setReserveInterestRateStrategyAddress() (gas: 899536)
[PASS] test_setUserEmode() (gas: 227668)
[PASS] test_setUserEmode_twice() (gas: 358158)
[PASS] test_setUserEmode_twice_inconsistent_category() (gas: 968439)
[PASS] test_setUserUseReserveAsCollateral_false() (gas: 240307)
[PASS] test_setUserUseReserveAsCollateral_true() (gas: 277892)
[PASS] test_updateBridgeProtocolFee() (gas: 187)
Suite result: ok. 47 passed; 0 failed; 0 skipped; finished in 6.09s (6.05s CPU time)
Ran 5 tests for tests/protocol/libraries/math/MathUtils.t.sol:MathUtilsTests
[PASS] test_calculateCompoundInterest_1() (gas: 10340)
[PASS] test_calculateCompoundInterest_2() (gas: 10337)
[PASS] test_calculateCompoundInterest_edge() (gas: 9166)
[PASS] test_calculateLinearInterest() (gas: 9211)
[PASS] test_constants() (gas: 8334)
Suite result: ok. 5 passed; 0 failed; 0 skipped; finished in 1.35ms (199.81µs CPU time)
Ran 9 tests for tests/protocol/pool/Pool.Deficit.sol:PoolDeficitTests
[PASS] test_eliminateReserveDeficit_exactDeficit(address,uint120) (runs: 1000, μ: 1542395, ~: 1542575)
[PASS] test_eliminateReserveDeficit_fullUserBalance(address,uint120) (runs: 1000, μ: 1545425, ~: 1545609)
[PASS] test_eliminateReserveDeficit_parcial(address,uint120,uint120) (runs: 1000, μ: 1531613, ~: 1531732)
[PASS] test_eliminateReserveDeficit_surplus(address,uint120) (runs: 1000, μ: 1540683, ~: 1540865)
[PASS] test_interestRate() (gas: 1518572)
Logs:
Bound result 500000000000000000000000
[PASS] test_reverts_eliminateReserveDeficit_has_borrows(address,uint120,uint120) (runs: 1000, μ: 1608994, ~: 1608904)
[PASS] test_reverts_eliminateReserveDeficit_invalid_amount(address,uint120) (runs: 1000, μ: 1231088, ~: 1231275)
[PASS] test_reverts_eliminateReserveDeficit_invalid_caller(address,uint120) (runs: 1000, μ: 1206398, ~: 1206571)
[PASS] test_reverts_eliminateReserveDeficit_reserve_not_in_deficit(address) (runs: 1000, μ: 90425, ~: 90425)
Suite result: ok. 9 passed; 0 failed; 0 skipped; finished in 39.29s (39.25s CPU time)
Ran 11 tests for tests/protocol/pool/Pool.EMode.sol:PoolEModeTests
[PASS] test_borrowing_shouldRevert_ifNonBorrowableOutsideEmode(uint256) (runs: 1000, μ: 510129, ~: 510214)
[PASS] test_getUserAccountData_shouldReflectEmodeParams() (gas: 452451)
[PASS] test_getUserAccountData_shouldReflectMixedCollateral() (gas: 646622)
[PASS] test_getUserEMode_shouldReflectEMode() (gas: 187403)
[PASS] test_liquidations_shouldApplyEModeLBForEmodeAssets(uint256) (runs: 1000, μ: 1045286, ~: 1045359)
[PASS] test_reenterSameEmode_shouldSucceed() (gas: 196698)
[PASS] test_setUserEMode_shouldAllowSwitchingIfNoBorrows(uint8) (runs: 1000, μ: 292381, ~: 295637)
[PASS] test_setUserEMode_shouldRevertForNonExistingEmode() (gas: 34991)
[PASS] test_setUserEmode_shouldAllowSwitchingWhenAssetIsBorrowableInEmode(uint104) (runs: 1000, μ: 999691, ~: 999913)
[PASS] test_setUserEmode_shouldRevertIfAssetNoLongerBorrowable(uint104) (runs: 1000, μ: 900624, ~: 900830)
[PASS] test_setUserEmode_shouldRevertIfHfWouldFallBelow1(uint104) (runs: 1000, μ: 958357, ~: 958577)
Suite result: ok. 11 passed; 0 failed; 0 skipped; finished in 11.66s (11.63s CPU time)
Ran 17 tests for tests/protocol/pool/Pool.FlashLoans.t.sol:PoolFlashLoansTests
[PASS] test_flashloan() (gas: 215962)
[PASS] test_flashloan_borrow() (gas: 529549)
[PASS] test_flashloan_multiple() (gas: 329079)
[PASS] test_flashloan_simple() (gas: 180028)
[PASS] test_flashloan_simple_2() (gas: 180028)
[PASS] test_revert_flashloan_borrow_stable() (gas: 212742)
[PASS] test_reverts_flashLoan_invalid_return() (gas: 183648)
[PASS] test_reverts_flashLoan_reserve_inactive() (gas: 147683)
[PASS] test_reverts_flashLoan_reserve_not_flash_loan_enabled() (gas: 103412)
[PASS] test_reverts_flashLoan_reserve_paused() (gas: 100163)
[PASS] test_reverts_flashLoan_same_asset_more_then_once(uint8) (runs: 1000, μ: 167125, ~: 126644)
[PASS] test_reverts_flashLoan_simple_invalid_return() (gas: 144668)
[PASS] test_reverts_flashloan_simple_transferred_funds() (gas: 169198)
[PASS] test_reverts_flashloan_transferred_funds() (gas: 199548)
[PASS] test_reverts_flashloans_eoa() (gas: 113225)
[PASS] test_reverts_supply_flashloan_simple_transfer_withdraw() (gas: 848297)
[PASS] test_reverts_supply_flashloan_transfer_withdraw() (gas: 880858)
Suite result: ok. 17 passed; 0 failed; 0 skipped; finished in 1.28s (1.24s CPU time)
Ran 9 tests for tests/protocol/pool/Pool.Liquidations.CloseFactor.t.sol:PoolLiquidationCloseFactorTests
[PASS] test_fuzz_hf_gt_095_supply_gt_threshold_closeFactorShouldBe50(uint256,uint256) (runs: 1000, μ: 855396, ~: 855449)
[PASS] test_fuzz_hf_gt_095_supply_lt_threshold_closeFactorShouldBe100(uint256,uint256) (runs: 1000, μ: 821604, ~: 821655)
[PASS] test_fuzz_hf_lte_095_supply_gt_threshold_closeFactorShouldBe100(uint256,uint256) (runs: 1000, μ: 818879, ~: 821654)
[PASS] test_hf_gt_095_borrow_gt_threshold_collateral_lt_threshold_closeFactorShouldBe100() (gas: 1080793)
[PASS] test_hf_gt_095_supply_gt_threshold_closeFactorShouldBe50() (gas: 854081)
Logs:
Bound result 100000000000000000000
Bound result 970000000000000000
[PASS] test_hf_gt_095_supply_lt_threshold_closeFactorShouldBe100() (gas: 820199)
Logs:
Bound result 500000000000000000
Bound result 970000000000000000
[PASS] test_hf_helper(uint256) (runs: 1000, μ: 556518, ~: 556550)
[PASS] test_hf_lte_095_supply_gt_threshold_closeFactorShouldBe100() (gas: 820312)
Logs:
Bound result 100000000000000000000
Bound result 940000000000000000
[PASS] test_shouldRevertIfCloseFactorIs100ButCollateralIsBelowThreshold() (gas: 833576)
Suite result: ok. 9 passed; 0 failed; 0 skipped; finished in 14.23s (14.19s CPU time)
Ran 26 tests for tests/protocol/pool/Pool.Liquidations.t.sol:PoolLiquidationTests
[PASS] test_deficit_increased_after_liquidate_bad_debt() (gas: 886097)
[PASS] test_full_liquidate_atokens_multiple_variable_borrows() (gas: 1032830)
[PASS] test_full_liquidate_multiple_supplies_and_variable_borrows() (gas: 1231085)
[PASS] test_full_liquidate_multiple_variable_borrows() (gas: 1086008)
[PASS] test_liquidate_borrow_bad_debt() (gas: 899396)
[PASS] test_liquidate_borrow_burn_multiple_assets_bad_debt() (gas: 1286669)
[PASS] test_liquidate_emode_position_without_emode_oracle() (gas: 1109201)
[PASS] test_liquidate_isolated_position() (gas: 963356)
[PASS] test_liquidate_variable_borrow_no_fee() (gas: 900890)
[PASS] test_liquidate_variable_borrow_repro() (gas: 1133874)
[PASS] test_liquidate_variable_borrow_same_collateral_and_borrow() (gas: 764455)
[PASS] test_liquidation_when_grace_period_disabled(uint40) (runs: 1000, μ: 959682, ~: 960009)
[PASS] test_liquidation_with_liquidation_grace_period_collateral_active(uint40) (runs: 1000, μ: 1162234, ~: 1166013)
[PASS] test_liquidation_with_liquidation_grace_period_debt_active(uint40) (runs: 1000, μ: 1158995, ~: 1163509)
[PASS] test_liquidation_with_liquidation_grace_period_debt_collateral_active(uint40) (runs: 1000, μ: 1176772, ~: 1181172)
[PASS] test_partial_liquidate_atokens_variable_borrow() (gas: 951572)
[PASS] test_partial_liquidate_variable_borrow() (gas: 903889)
[PASS] test_reverts_liquidation_collateral_not_active() (gas: 640857)
[PASS] test_reverts_liquidation_hf_gt_liquidation_threshold() (gas: 465138)
[PASS] test_reverts_liquidation_invalid_borrow() (gas: 604967)
[PASS] test_reverts_liquidation_oracle_sentinel_on() (gas: 337410)
[PASS] test_reverts_liquidation_reserveInactive() (gas: 169134)
[PASS] test_reverts_liquidation_reservePaused() (gas: 134538)
[PASS] test_self_liquidate_isolated_position_shoulDisableCollateral() (gas: 915666)
[PASS] test_self_liquidate_isolated_position_shoulEnableCollateralIfIsolatedSupplier() (gas: 967899)
[PASS] test_self_liquidate_position_shoulKeepCollateralEnabled() (gas: 849811)
Suite result: ok. 26 passed; 0 failed; 0 skipped; finished in 21.11s (21.10s CPU time)
Ran 44 tests for tests/protocol/pool/pool-configurator/PoolConfigurator.reserveRiskConfig.t.sol:PoolConfiguratorReserveRiskConfigs
[PASS] test_EmergencyAdminSetReserveFreeze_true() (gas: 134948)
[PASS] test_PoolAdminSetReserveFreeze_true() (gas: 99213)
[PASS] test_RiskAdminSetReserveFreeze_true() (gas: 128637)
[PASS] test_bridgeProtocolFee() (gas: 73193)
[PASS] test_disableLiquidationGracePeriod() (gas: 78005)
[PASS] test_dropReserve() (gas: 148570)
[PASS] test_enableBorrowing((uint8,string,string,string,string,address,address,address,bool)) (runs: 1000, μ: 2628747, ~: 2628315)
[PASS] test_enableFlashBorrow((uint8,string,string,string,string,address,address,address,bool)) (runs: 1000, μ: 2619643, ~: 2619315)
[PASS] test_reverts_bridgeProtocolFee() (gas: 30151)
[PASS] test_reverts_dropReserve_notListed() (gas: 53404)
[PASS] test_reverts_dropReserve_supplyNotZero() (gas: 300232)
[PASS] test_reverts_dropReserve_variableDebtNotZero() (gas: 459538)
[PASS] test_reverts_dropReserve_zeroAddress() (gas: 47308)
[PASS] test_reverts_setCollateralConfig_invalidParams((uint8,string,string,string,string,address,address,address,bool)) (runs: 1000, μ: 2864043, ~: 2860920)
[PASS] test_reverts_setDebtCeiling_suppliers() (gas: 287295)
[PASS] test_reverts_setLiquidationProtocolFee_amount_gt_percentageFactor() (gas: 35632)
[PASS] test_reverts_setReserveActive_false_if_suppliers() (gas: 282164)
[PASS] test_reverts_setReserveFactor_gt_percentageFactor() (gas: 35651)
[PASS] test_reverts_setSiloedBorrowing_borrowers() (gas: 407073)
[PASS] test_reverts_updateFlashloanPremiumToProtocol() (gas: 30267)
[PASS] test_reverts_updateFlashloanPremiumTotal() (gas: 30287)
[PASS] test_setBorrowableInIsolation_false() (gas: 62901)
[PASS] test_setBorrowableInIsolation_true() (gas: 65718)
[PASS] test_setCollateralConfig((uint8,string,string,string,string,address,address,address,bool)) (runs: 1000, μ: 2606371, ~: 2605895)
[PASS] test_setDebtCeiling() (gas: 113540)
[PASS] test_setDebtCeiling_suppliers_ltZero() (gas: 288265)
[PASS] test_setDebtCeiling_to_zero() (gas: 138288)
[PASS] test_setFrozenReserveFreeze_true_revert() (gas: 106040)
[PASS] test_setLiquidationGracePeriodAboveCap(uint40) (runs: 1000, μ: 34809, ~: 34809)
[PASS] test_setLiquidationGracePeriodPool(uint40) (runs: 1000, μ: 164731, ~: 168408)
[PASS] test_setLiquidationGracePeriodReserve(uint40) (runs: 1000, μ: 135424, ~: 135748)
[PASS] test_setLiquidationProtocolFee_amount_gt_percentageFactor() (gas: 72726)
[PASS] test_setPoolPause() (gas: 166228)
[PASS] test_setPoolPause_unpause() (gas: 239908)
[PASS] test_setReserveActive_false() (gas: 110807)
[PASS] test_setReserveActive_true() (gas: 67150)
[PASS] test_setReserveFactor() (gas: 993558)
[PASS] test_setReserveFreeze_false() (gas: 98602)
[PASS] test_setReservePause_false() (gas: 66523)
[PASS] test_setReservePause_true() (gas: 69278)
[PASS] test_setSiloedBorrowing() (gas: 97847)
[PASS] test_setUnfrozenReserveFreeze_false_revert() (gas: 48826)
[PASS] test_updateFlashloanPremiumToProtocol() (gas: 58239)
[PASS] test_updateFlashloanPremiumTotal() (gas: 58131)
Suite result: ok. 44 passed; 0 failed; 0 skipped; finished in 98.09s (7.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, μ: 1053272, ~: 1053402)
[PASS] test_initReserves_validNumberOfAssets((uint8,string,string,string,string,address,address,address,bool)[128],uint8) (runs: 1000, μ: 89708358, ~: 57878867)
[PASS] test_initReserves_zeroAssets() (gas: 66262)
[PASS] test_reverts_initReserves_maxAssets((uint8,string,string,string,string,address,address,address,bool),uint8) (runs: 1000, μ: 381628175, ~: 344575301)
Suite result: ok. 4 passed; 0 failed; 0 skipped; finished in 100.34s (162.00s CPU time)
Ran 62 test suites in 123.74s (423.95s CPU time): 757 tests passed, 0 failed, 0 skipped (757 total tests) |
eboadom
approved these changes
Dec 11, 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.
contents: write
permission to the job. This is needed to comment on commits, like done e.g. here