-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: add receive #97
Merged
sakulstra
merged 8 commits into
aave-dao:kptk/new-collector
from
bgd-labs:fix/add-receive
Jan 30, 2025
Merged
fix: add receive #97
sakulstra
merged 8 commits into
aave-dao:kptk/new-collector
from
bgd-labs:fix/add-receive
Jan 30, 2025
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
* feat: upgrade factory * fix: cleanup * fix: use local copy * fix: tests * fix: remove deployment of proxyAdmin * fix: update tests * fix: update utils to latest --------- Co-authored-by: Harsh Pandey <[email protected]>
♻️ Gas report
🔕 Unchanged
|
🔮 Coverage report
|
forge 0.0.4 (VERGEN_IDEMPOTENT_OUTPUT 2025-01-24T00:26:16.901962070Z) |
🔧 Build logsCompiling 409 files with Solc 0.8.22
Solc 0.8.22 finished in 102.85s
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;
| ^^^^^^^^^^^^^^^^^^^^^^
╭------------------------------------------------+------------------+-------------------+--------------------+---------------------╮
| Contract | Runtime Size (B) | Initcode Size (B) | Runtime Margin (B) | Initcode Margin (B) |
+==================================================================================================================================+
| ACLManager | 3,493 | 4,108 | 21,083 | 45,044 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| ATokenInstance | 10,162 | 11,059 | 14,414 | 38,093 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| ATokenMock | 803 | 967 | 23,773 | 48,185 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveOracle | 2,607 | 3,767 | 21,969 | 45,385 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveProtocolDataProvider | 9,410 | 9,684 | 15,166 | 39,468 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3BatchOrchestration | 44 | 94 | 24,532 | 49,058 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3ConfigEngine | 7,396 | 8,988 | 17,180 | 40,164 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3DefaultRateStrategyProcedure | 21 | 47 | 24,555 | 49,105 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3GettersBatchOne | 229 | 32,307 | 24,347 | 16,845 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3GettersBatchTwo | 137 | 11,156 | 24,439 | 37,996 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3GettersProcedureOne | 21 | 47 | 24,555 | 49,105 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3GettersProcedureTwo | 21 | 47 | 24,555 | 49,105 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3HelpersBatchOne | 353 | 33,396 | 24,223 | 15,756 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3HelpersBatchTwo | 229 | 31,387 | 24,347 | 17,765 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3HelpersProcedureOne | 21 | 47 | 24,555 | 49,105 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3HelpersProcedureTwo | 21 | 47 | 24,555 | 49,105 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3IncentiveProcedure | 21 | 47 | 24,555 | 49,105 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3L2PoolBatch | 137 | 43,892 | 24,439 | 5,260 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3L2PoolProcedure | 21 | 47 | 24,555 | 49,105 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3LibrariesBatch1 | 353 | 31,276 | 24,223 | 17,876 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3LibrariesBatch2 | 353 | 41,544 | 24,223 | 7,608 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3MiscBatch | 137 | 6,833 | 24,439 | 42,319 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3MiscProcedure | 21 | 47 | 24,555 | 49,105 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3MockAssetEModeUpdate | 3,309 | 3,538 | 21,267 | 45,614 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3MockBorrowUpdate | 3,189 | 3,380 | 21,387 | 45,772 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3MockBorrowUpdateNoChange | 3,219 | 3,410 | 21,357 | 45,742 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3MockCapUpdate | 3,133 | 3,324 | 21,443 | 45,828 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3MockCollateralUpdate | 3,193 | 3,384 | 21,383 | 45,768 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3MockCollateralUpdateCorrectBonus | 3,193 | 3,384 | 21,383 | 45,768 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3MockCollateralUpdateNoChange | 3,220 | 3,411 | 21,356 | 45,741 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3MockCollateralUpdateWrongBonus | 3,197 | 3,388 | 21,379 | 45,764 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3MockEModeCategoryUpdate | 3,049 | 3,187 | 21,527 | 45,965 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3MockEModeCategoryUpdateEdgeBonus | 3,052 | 3,190 | 21,524 | 45,962 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3MockEModeCategoryUpdateNoChange | 3,120 | 3,258 | 21,456 | 45,894 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3MockListing | 3,488 | 3,717 | 21,088 | 45,435 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3MockListingCustom | 3,781 | 4,093 | 20,795 | 45,059 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3MockPriceFeedUpdate | 3,159 | 3,388 | 21,417 | 45,764 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3MockRatesUpdate | 3,152 | 3,343 | 21,424 | 45,809 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3OracleProcedure | 21 | 47 | 24,555 | 49,105 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3ParaswapBatch | 189 | 30,398 | 24,387 | 18,754 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3ParaswapProcedure | 21 | 47 | 24,555 | 49,105 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3PeripheryBatch | 292 | 37,710 | 24,284 | 11,442 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3PoolBatch | 137 | 42,645 | 24,439 | 6,507 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3PoolConfigProcedure | 21 | 47 | 24,555 | 49,105 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3PoolProcedure | 21 | 47 | 24,555 | 49,105 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3SetupBatch | 11,610 | 24,899 | 12,966 | 24,253 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3SetupProcedure | 21 | 47 | 24,555 | 49,105 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3TestListing | 4,867 | 12,284 | 19,709 | 36,868 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| AaveV3TokensBatch | 137 | 20,323 | 24,439 | 28,829 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| 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,486 | 2,539 | 22,090 | 46,613 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| BorrowLogic | 12,406 | 12,459 | 12,170 | 36,693 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| BridgeLogic | 6,712 | 6,765 | 17,864 | 42,387 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| CalldataLogic | 44 | 94 | 24,532 | 49,058 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| CapsEngine | 1,136 | 1,189 | 23,440 | 47,963 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| CollateralEngine | 2,691 | 2,744 | 21,885 | 46,408 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| Collector | 6,594 | 6,814 | 17,982 | 42,338 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| ConfiguratorInputTypes | 44 | 94 | 24,532 | 49,058 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| ConfiguratorLogic | 6,539 | 6,592 | 18,037 | 42,560 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| Create2Utils | 121 | 172 | 24,455 | 48,980 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| DataTypes | 44 | 94 | 24,532 | 49,058 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| DefaultMarketInput | 21 | 47 | 24,555 | 49,105 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| DefaultReserveInterestRateStrategyV2 | 3,998 | 4,293 | 20,578 | 44,859 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| 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,384 | 4,437 | 20,192 | 44,715 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| EModeLogic | 3,757 | 3,810 | 20,819 | 45,342 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| ERC1967Proxy | 122 | 967 | 24,454 | 48,185 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| ERC1967Utils | 44 | 94 | 24,532 | 49,058 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| ERC20 | 2,086 | 2,839 | 22,490 | 46,313 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| EmissionManager | 3,398 | 3,859 | 21,178 | 45,293 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| EngineFlags | 44 | 94 | 24,532 | 49,058 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| Errors | 4,465 | 4,518 | 20,111 | 44,634 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| Faucet | 2,033 | 2,565 | 22,543 | 46,587 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| FlashLoanLogic | 9,469 | 9,522 | 15,107 | 39,630 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| FlashloanAttacker | 2,123 | 2,547 | 22,453 | 46,605 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| 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 | 23,257 | 23,506 | 1,319 | 25,646 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| LiquidationLogic | 11,788 | 11,841 | 12,788 | 37,311 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| ListingEngine | 6,967 | 7,020 | 17,609 | 42,132 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| 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,072 | 12,101 | 12,504 | 37,051 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| MintableDelegationERC20 | 2,534 | 3,319 | 22,042 | 45,833 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| MintableERC20 | 3,351 | 4,300 | 21,225 | 44,852 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| Mock | 183 | 211 | 24,393 | 48,941 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| MockAToken | 10,164 | 11,063 | 14,412 | 38,089 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| MockATokenRepayment | 10,245 | 11,144 | 14,331 | 38,008 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| MockAggregator | 134 | 278 | 24,442 | 48,874 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| MockBadTransferStrategy | 998 | 1,187 | 23,578 | 47,965 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| MockERC20AaveLMUpgradeable | 7,932 | 8,150 | 16,644 | 41,002 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| MockERC4626StataTokenUpgradeable | 9,500 | 9,856 | 15,076 | 39,296 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| MockFlashLoanATokenReceiver | 2,396 | 2,774 | 22,180 | 46,378 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| MockFlashLoanReceiver | 2,216 | 2,501 | 22,360 | 46,651 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| 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 | 23,284 | 23,533 | 1,292 | 25,619 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| 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 | 22,199 | 22,475 | 2,377 | 26,677 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| MockReentrantInitializableImple | 413 | 445 | 24,163 | 48,707 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| MockReserveConfiguration | 2,652 | 2,681 | 21,924 | 46,471 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| MockReserveInterestRateStrategy | 3,315 | 3,614 | 21,261 | 45,538 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| MockScaledTestnetERC20 | 4,101 | 5,529 | 20,475 | 43,623 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| MockScaledToken | 3,999 | 4,761 | 20,577 | 44,391 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| MockVariableDebtToken | 7,280 | 8,163 | 17,296 | 40,989 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| Ownable | 629 | 722 | 23,947 | 48,430 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| Panic | 44 | 94 | 24,532 | 49,058 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| ParaSwapLiquiditySwapAdapter | 8,733 | 9,850 | 15,843 | 39,302 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| ParaSwapRepayAdapter | 9,320 | 10,527 | 15,256 | 38,625 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| ParaSwapWithdrawSwapAdapter | 7,397 | 8,451 | 17,179 | 40,701 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| PercentageMath | 44 | 94 | 24,532 | 49,058 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| PercentageMathWrapper | 297 | 326 | 24,279 | 48,826 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| PoolAddressesProvider | 6,696 | 8,050 | 17,880 | 41,102 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| PoolAddressesProviderRegistry | 2,149 | 2,610 | 22,427 | 46,542 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| PoolConfiguratorInstance | 19,728 | 19,760 | 4,848 | 29,392 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| PoolInstance | 22,010 | 22,259 | 2,566 | 26,893 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| PoolLogic | 6,748 | 6,801 | 17,828 | 42,351 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| PoolStorage | 21 | 47 | 24,555 | 49,105 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| PriceFeedEngine | 1,531 | 1,584 | 23,045 | 47,568 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| PriceOracle | 469 | 498 | 24,107 | 48,654 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| PriceOracleSentinel | 1,669 | 1,885 | 22,907 | 47,267 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| 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,297 | 2,350 | 22,279 | 46,802 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| 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,067 | 14,261 | 10,509 | 34,891 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| 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,489 | 3,762 | 21,087 | 45,390 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| StataTokenV2 | 18,929 | 19,631 | 5,647 | 29,521 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| StorageSlot | 44 | 94 | 24,532 | 49,058 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| Strings | 44 | 94 | 24,532 | 49,058 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| SupplyLogic | 11,680 | 11,733 | 12,896 | 37,419 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| TestnetERC20 | 3,981 | 5,401 | 20,595 | 43,751 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| TransparentProxyFactory | 6,830 | 6,859 | 17,746 | 42,293 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| TransparentUpgradeableProxy | 1,088 | 3,582 | 23,488 | 45,570 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| UiIncentiveDataProviderV3 | 9,046 | 9,075 | 15,530 | 40,077 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| UiPoolDataProviderV3 | 9,859 | 10,070 | 14,717 | 39,082 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| UpgradeabilityProxy | 108 | 855 | 24,468 | 48,297 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| UserConfiguration | 44 | 94 | 24,532 | 49,058 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| ValidationLogic | 189 | 241 | 24,387 | 48,911 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| VariableDebtTokenHarness | 7,296 | 8,179 | 17,280 | 40,973 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| VariableDebtTokenInstance | 7,278 | 8,159 | 17,298 | 40,993 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| WETH9 | 1,886 | 2,357 | 22,690 | 46,795 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| WETH9Mock | 2,641 | 3,875 | 21,935 | 45,277 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| WETH9Mocked | 2,192 | 2,663 | 22,384 | 46,489 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| WadRayMath | 44 | 94 | 24,532 | 49,058 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| WadRayMathWrapper | 816 | 845 | 23,760 | 48,307 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| WalletBalanceProvider | 2,557 | 2,586 | 22,019 | 46,566 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| WalletMock | 21 | 47 | 24,555 | 49,105 |
|------------------------------------------------+------------------+-------------------+--------------------+---------------------|
| WrappedTokenGatewayV3 | 5,722 | 6,600 | 18,854 | 42,552 |
╰------------------------------------------------+------------------+-------------------+--------------------+---------------------╯ |
🌈 Test ResultsNo files changed, compilation skipped
Ran 5 tests for tests/treasury/Collector.t.sol:CollectorTest
[PASS] testApprove() (gas: 49719)
[PASS] testApproveWhenNotFundsAdmin() (gas: 18193)
[PASS] testTransfer() (gas: 54873)
[PASS] testTransferWhenNotFundsAdmin() (gas: 18217)
[PASS] test_receiveEth() (gas: 20274)
Suite result: ok. 5 passed; 0 failed; 0 skipped; finished in 3.87ms (386.65µs CPU time)
Ran 6 tests for tests/treasury/Collector.t.sol:FundsAdminRoleBytesTest
[PASS] testApprove() (gas: 49675)
[PASS] testApproveWhenNotFundsAdmin() (gas: 18171)
[PASS] testTransfer() (gas: 54918)
[PASS] testTransferWhenNotFundsAdmin() (gas: 18195)
[PASS] test_receiveEth() (gas: 20297)
[PASS] test_successful() (gas: 13389)
Suite result: ok. 6 passed; 0 failed; 0 skipped; finished in 11.67ms (651.58µs CPU time)
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: 1469924)
[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: 113990)
Suite result: ok. 20 passed; 0 failed; 0 skipped; finished in 19.71ms (7.17ms CPU time)
Ran 7 tests for tests/treasury/Collector.t.sol:IsFundsAdminTest
[PASS] testApprove() (gas: 49675)
[PASS] testApproveWhenNotFundsAdmin() (gas: 18193)
[PASS] testTransfer() (gas: 54873)
[PASS] testTransferWhenNotFundsAdmin() (gas: 18217)
[PASS] test_isFundsAdmin() (gas: 24267)
[PASS] test_isNotFundsAdmin() (gas: 17595)
[PASS] test_receiveEth() (gas: 20297)
Suite result: ok. 7 passed; 0 failed; 0 skipped; finished in 9.77ms (751.44µs CPU time)
Ran 26 tests for tests/treasury/Collector.t.sol:StreamsTest
[PASS] testApprove() (gas: 49653)
[PASS] testApproveWhenNotFundsAdmin() (gas: 18345)
[PASS] testCancelStreamByFundsAdmin() (gas: 206193)
[PASS] testCancelStreamByRecipient() (gas: 231303)
[PASS] testCancelStreamWhenNotAdminOrRecipient() (gas: 242254)
[PASS] testCancelStreamWhenStreamNotExists() (gas: 22848)
[PASS] testCreateStream() (gas: 244333)
[PASS] testCreateStreamWhenDepositIsZero() (gas: 27266)
[PASS] testCreateStreamWhenNotFundsAdmin() (gas: 24611)
[PASS] testCreateStreamWhenRecipientIsCollector() (gas: 25055)
[PASS] testCreateStreamWhenRecipientIsTheCaller() (gas: 25310)
[PASS] testCreateStreamWhenRecipientIsZero() (gas: 25078)
[PASS] testCreateStreamWhenStartTimeInThePast() (gas: 25778)
[PASS] testCreateStreamWhenStopTimeBeforeStart() (gas: 23224)
[PASS] testGetNextStreamId() (gas: 17598)
[PASS] testGetNotExistingStream() (gas: 18426)
[PASS] testGetStream() (gas: 234368)
[PASS] testTransfer() (gas: 54962)
[PASS] testTransferWhenNotFundsAdmin() (gas: 18347)
[PASS] testWithdrawFromStream() (gas: 307230)
[PASS] testWithdrawFromStreamFinishesSuccessfully() (gas: 230235)
[PASS] testWithdrawFromStreamWhenAmountExceedsBalance() (gas: 243637)
[PASS] testWithdrawFromStreamWhenAmountIsZero() (gas: 238129)
[PASS] testWithdrawFromStreamWhenNotAdminOrRecipient() (gas: 240288)
[PASS] testWithdrawFromStreamWhenStreamNotExists() (gas: 23014)
[PASS] test_receiveEth() (gas: 20319)
Suite result: ok. 26 passed; 0 failed; 0 skipped; finished in 13.23ms (3.83ms CPU time)
Ran 8 tests for tests/gas/Pool.Operations.gas.t.sol:PoolOperations_gas_Tests
[PASS] test_borrow() (gas: 616743)
[PASS] test_liquidationCall_deficit() (gas: 868622)
[PASS] test_liquidationCall_deficitInAdditionalReserve() (gas: 1059529)
[PASS] test_liquidationCall_full() (gas: 868732)
[PASS] test_liquidationCall_partial() (gas: 848989)
[PASS] test_repay() (gas: 775206)
[PASS] test_supply() (gas: 1096946)
[PASS] test_withdraw() (gas: 432411)
Suite result: ok. 8 passed; 0 failed; 0 skipped; finished in 79.71ms (30.49ms CPU time)
Ran 14 tests for tests/deployments/DeploymentsGasLimits.t.sol:DeploymentsGasLimits
[PASS] test0AaveV3SetupDeployment() (gas: 4555922)
[PASS] test10ConfigEngineDeployment() (gas: 6574845)
[PASS] test11StaticATokenDeployment() (gas: 6781639)
[PASS] test12PeripheralsTreasuryPartner() (gas: 6944083)
[PASS] test1AaveV3GettersBatch1Deployment() (gas: 6500701)
[PASS] test2AaveV3GettersBatch2Deployment() (gas: 2130240)
[PASS] test3AaveV3PoolDeployment() (gas: 8634258)
[PASS] test4AaveV3L2PoolDeployment() (gas: 8885032)
[PASS] test5PeripheralsRelease() (gas: 6457457)
[PASS] test6MiscDeployment() (gas: 1360585)
[PASS] test7ParaswapDeployment() (gas: 5542665)
[PASS] test8SetupMarket() (gas: 2715015)
[PASS] test9TokensMarket() (gas: 3900822)
[PASS] testCheckInitCodeSizeBatchs() (gas: 1014811)
Logs:
AaveV3SetupBatch 24899
AaveV3L2PoolBatch 43892
AaveV3PoolBatch 42645
AaveV3PeripheryBatch 37710
AaveV3MiscBatch 6833
AaveV3ParaswapBatch 30398
AaveV3GettersBatchOne 32307
AaveV3GettersBatchTwo 11156
AaveV3TokensBatch 20323
AaveV3HelpersBatchOne 33396
AaveV3HelpersBatchTwo 31387
AaveV3PeripheryBatchTreasuryPartner 37710
Suite result: ok. 14 passed; 0 failed; 0 skipped; finished in 47.05ms (17.94ms CPU time)
Ran 9 tests for tests/gas/AToken.Transfer.gas.t.sol:ATokenTransfer_gas_Tests
[PASS] test_transfer_fullAmount() (gas: 408476)
[PASS] test_transfer_fullAmount_dirtyReceiver() (gas: 710400)
[PASS] test_transfer_fullAmount_senderCollateralDisabled() (gas: 421884)
[PASS] test_transfer_fullAmount_senderCollateralDisabled_receiverNonZeroFunds() (gas: 635690)
[PASS] test_transfer_fullAmount_senderCollateralDisabled_receiverNonZeroFunds2() (gas: 622301)
[PASS] test_transfer_partialAmount() (gas: 421960)
[PASS] test_transfer_partialAmount_receiverNonZeroFunds() (gas: 635750)
[PASS] test_transfer_partialAmount_senderCollateralEnabled() (gas: 406943)
[PASS] test_transfer_partialAmount_senderCollateralEnabled_receiverNonZeroFunds() (gas: 620716)
Suite result: ok. 9 passed; 0 failed; 0 skipped; finished in 73.06ms (24.48ms 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: 259854)
[PASS] testDecreaseAllowance() (gas: 53034)
[PASS] testIncreaseAllowance() (gas: 53078)
[PASS] testIncreaseAllowanceFromZero() (gas: 48398)
[PASS] testMintToTreasury_amount_zero() (gas: 15793)
[PASS] testTransferFromZeroAmount() (gas: 129479)
[PASS] test_burn_zeroAddress() (gas: 259125)
[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: 129290)
[PASS] test_transfer_amount_MAX_UINT_128() (gas: 16460)
Suite result: ok. 17 passed; 0 failed; 0 skipped; finished in 51.79ms (4.33ms CPU time)
Ran 8 tests for tests/protocol/tokenization/ATokenEvents.t.sol:ATokenEventsTests
[PASS] test_atoken_burnEvents_fullBalance() (gas: 565794)
[PASS] test_atoken_burnEvents_multipleWithdrawals_withInterests() (gas: 654244)
[PASS] test_atoken_burnEvents_singleWithdraw_WithInterests() (gas: 576417)
[PASS] test_atoken_burnEvents_singleWithdraw_noInterests() (gas: 257905)
[PASS] test_atoken_burnEvents_withdrawAmountLessThanInterests() (gas: 579265)
[PASS] test_atoken_mintEvents_firstSupply() (gas: 255080)
[PASS] test_atoken_mintEvents_supplyAfterBorrow() (gas: 632927)
[PASS] test_mintToTreasury_events() (gas: 90162)
Suite result: ok. 8 passed; 0 failed; 0 skipped; finished in 56.57ms (12.39ms 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 44.59ms (468.51µ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 49.65ms (6.15ms CPU time)
Ran 3 tests for tests/protocol/tokenization/ATokenRepay.t.sol:ATokenRepayTests
[PASS] test_repay_allDebt() (gas: 274861)
[PASS] test_repay_partialDebt() (gas: 274021)
[PASS] test_revert_repay_withoutFunds() (gas: 180200)
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 44.35ms (2.29ms 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 42.46ms (749.94µs CPU time)
Ran 11 tests for tests/protocol/tokenization/ATokenTransfers.t.sol:ATokenTransferTests
[PASS] test_atoken_alice_transfer_all_to_bob() (gas: 161976)
[PASS] test_atoken_alice_transfer_to_bob() (gas: 235451)
[PASS] test_atoken_alice_transfer_to_bob_zero() (gas: 162751)
[PASS] test_atoken_alice_transfer_to_carol_accrues_interests() (gas: 229402)
[PASS] test_atoken_alice_transfer_to_herself() (gas: 81523)
[PASS] test_atoken_alice_transfer_to_herself_zero() (gas: 81564)
[PASS] test_atoken_multiple_transfers() (gas: 201155)
[PASS] test_atoken_transfer_sets_enabled_as_collateral(uint64,uint256) (runs: 1000, μ: 389588, ~: 393082)
[PASS] test_atoken_transfer_some_collateral_from_bob_borrower_to_alice() (gas: 529057)
[PASS] test_atoken_transfer_to_bob_them_bob_borrows() (gas: 398380)
[PASS] test_reverts_atoken_transfer_all_collateral_from_bob_borrower_to_alice() (gas: 404648)
Suite result: ok. 11 passed; 0 failed; 0 skipped; finished in 1.35s (1.31s CPU time)
Ran 12 tests for tests/misc/AaveOracle.t.sol:AaveOracleTest
[PASS] testAddSingleSource() (gas: 936861)
[PASS] testAssetZeroPriceAndZeroFallbackPrice() (gas: 1076118)
[PASS] testAssetZeroPriceNonZeroFallback() (gas: 1096069)
[PASS] testAssetZeroPriceWithoutFallback() (gas: 918563)
[PASS] testEmptySource() (gas: 821588)
[PASS] testGetBaseCurrencyPrice() (gas: 12315)
[PASS] testGetPriceViaFallbackOracle() (gas: 1000286)
[PASS] testUpdateFallbackOracle() (gas: 178617)
[PASS] testUpdateSingleSource() (gas: 126963)
[PASS] testUpdateSourceBaseCurrency() (gas: 138544)
[PASS] test_revert_setAssetSources_inconsistentParams() (gas: 822966)
[PASS] test_revert_setAssetSources_wrongCaller() (gas: 24620)
Suite result: ok. 12 passed; 0 failed; 0 skipped; finished in 47.98ms (3.06ms CPU time)
Ran 5 tests for tests/deployments/AaveV3BatchDeployment.t.sol:AaveV3BatchDeployment
[PASS] testAaveV3BatchDeploy() (gas: 54358609)
[PASS] testAaveV3BatchDeploymentCheck() (gas: 62507827)
[PASS] testAaveV3Batch_reuseIncentivesProxy() (gas: 53835439)
[PASS] testAaveV3L2BatchDeploymentCheck() (gas: 64335143)
[PASS] testAaveV3TreasuryPartnerBatchDeploymentCheck() (gas: 63014905)
Suite result: ok. 5 passed; 0 failed; 0 skipped; finished in 172.32ms (166.47ms CPU time)
Ran 12 tests for tests/deployments/AaveV3BatchTests.t.sol:AaveV3BatchTests
[PASS] test0AaveV3SetupDeployment() (gas: 4555943)
[PASS] test10StaticATokenDeployment() (gas: 6781622)
[PASS] test1AaveV3GettersDeployment() (gas: 7829460)
[PASS] test2AaveV3PoolDeployment() (gas: 8634292)
[PASS] test3AaveV3L2PoolDeployment() (gas: 8885086)
[PASS] test4PeripheralsRelease() (gas: 6457434)
[PASS] test5MiscDeployment() (gas: 929335)
[PASS] test6ParaswapRelease() (gas: 5542642)
[PASS] test7SetupMarket() (gas: 2690452)
[PASS] test8TokensMarket() (gas: 3900674)
[PASS] test9ConfigEngineDeployment() (gas: 6574908)
[PASS] testAaveV3FullBatchOrchestration() (gas: 54354995)
Suite result: ok. 12 passed; 0 failed; 0 skipped; finished in 28.09ms (15.71ms CPU time)
Ran 47 tests for tests/protocol/pool/L2Pool.t.sol:L2PoolTests
[PASS] test_dropReserve() (gas: 107965)
[PASS] test_getBorrowLogic() (gas: 13620)
[PASS] test_getBridgeLogic() (gas: 13684)
[PASS] test_getEModeLogic() (gas: 13686)
[PASS] test_getFlashLoanLogic() (gas: 13685)
[PASS] test_getLiquidationLogic() (gas: 13707)
[PASS] test_getPoolLogic() (gas: 13684)
[PASS] test_getSupplyLogic() (gas: 13705)
[PASS] test_getVirtualUnderlyingBalance() (gas: 253510)
[PASS] test_getters_getUserAccountData() (gas: 598198)
[PASS] test_l2_borrow() (gas: 436322)
[PASS] test_l2_liquidationCall() (gas: 1112139)
[PASS] test_l2_partial_withdraw() (gas: 310853)
[PASS] test_l2_repay() (gas: 465666)
[PASS] test_l2_repay_atokens() (gas: 472797)
[PASS] test_l2_repay_permit(uint128,uint128,uint128,uint128,uint128) (runs: 1000, μ: 632477, ~: 623234)
[PASS] test_l2_set_user_collateral() (gas: 268482)
[PASS] test_l2_supply() (gas: 253541)
[PASS] test_l2_supply_permit(uint128,uint128) (runs: 1000, μ: 421467, ~: 421468)
[PASS] test_l2_withdraw() (gas: 246075)
[PASS] test_mintToTreasury() (gas: 701673)
[PASS] test_mintToTreasury_skip_invalid_addresses() (gas: 706232)
[PASS] test_noop_setUserUseReserveAsCollateral_true_when_already_is_activated() (gas: 290883)
[PASS] test_pool_defaultValues() (gas: 4487361)
[PASS] test_rescueTokens(uint256) (runs: 1000, μ: 81920, ~: 82198)
[PASS] test_resetIsolationModeTotalDebt() (gas: 734652)
[PASS] test_reverts_initReserve_not_poolConfigurator(address) (runs: 1000, μ: 25537, ~: 25537)
[PASS] test_reverts_modifiers_not_poolConfigurator(address) (runs: 1000, μ: 127785, ~: 127785)
[PASS] test_reverts_new_Pool_invalidAddressesProvider() (gas: 4499542)
[PASS] test_reverts_setReserveInterestRateStrategyAddress_AssetNotListed(address,address) (runs: 1000, μ: 40353, ~: 40353)
[PASS] test_reverts_setReserveInterestRateStrategyAddress_ZeroAssetAddress(address) (runs: 1000, μ: 22733, ~: 22733)
[PASS] test_reverts_setUserEmode_0_bad_hf() (gas: 974641)
[PASS] test_reverts_setUserUseReserveAsCollateral_false_hf_lower_lqt() (gas: 600219)
[PASS] test_reverts_setUserUseReserveAsCollateral_true_ltv_zero() (gas: 298985)
[PASS] test_reverts_setUserUseReserveAsCollateral_true_reserve_inactive() (gas: 227975)
[PASS] test_reverts_setUserUseReserveAsCollateral_true_reserve_paused() (gas: 293845)
[PASS] test_reverts_setUserUseReserveAsCollateral_true_user_balance_zero() (gas: 71847)
[PASS] test_reverts_setUserUseReserveAsCollateral_true_user_isolation_mode() (gas: 789929)
[PASS] test_setLiquidationGracePeriod(uint40) (runs: 1000, μ: 36810, ~: 36903)
[PASS] test_setLiquidationGracePeriod_assetNotListed(uint40) (runs: 1000, μ: 27115, ~: 27115)
[PASS] test_setReserveInterestRateStrategyAddress() (gas: 904558)
[PASS] test_setUserEmode() (gas: 232521)
[PASS] test_setUserEmode_twice() (gas: 376846)
[PASS] test_setUserEmode_twice_inconsistent_category() (gas: 985619)
[PASS] test_setUserUseReserveAsCollateral_false() (gas: 240399)
[PASS] test_setUserUseReserveAsCollateral_true() (gas: 277962)
[PASS] test_updateBridgeProtocolFee() (gas: 187)
Suite result: ok. 47 passed; 0 failed; 0 skipped; finished in 8.73s (8.65s 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.64ms (249.60µs CPU time)
Ran 17 tests for tests/extensions/paraswap-adapters/ParaswapAdapters.t.sol:ParaswapAdaptersTest
[PASS] test_rescueTokens() (gas: 196298)
[PASS] test_reverts_offset_out_of_range_swap_liquidity_permit_flashloan() (gas: 758318)
[PASS] test_reverts_swapAndDeposit_offset() (gas: 826967)
[PASS] test_reverts_swapAndRepay_offset_out_of_range() (gas: 930429)
[PASS] test_reverts_withdrawAndSwap_offset_out_of_range() (gas: 806970)
[PASS] test_swapAndDeposit() (gas: 908883)
[PASS] test_swapAndDeposit_permit() (gas: 955966)
[PASS] test_swapAndRepay() (gas: 1010691)
[PASS] test_swapAndRepay_flashloan() (gas: 1102073)
[PASS] test_swapAndRepay_flashloan_permit() (gas: 1144740)
[PASS] test_swapAndRepay_no_collateral_leftovers() (gas: 1060252)
[PASS] test_swapAndRepay_permit() (gas: 1057604)
[PASS] test_swap_liquidity_flashloan() (gas: 1019795)
[PASS] test_swap_liquidity_permit_flashloan() (gas: 1062373)
[PASS] test_withdrawAndSwap() (gas: 825895)
[PASS] test_withdrawAndSwap_permit() (gas: 869050)
[PASS] test_withdrawSwapAdapter_reverts_flashloan() (gas: 533093)
Suite result: ok. 17 passed; 0 failed; 0 skipped; finished in 139.46ms (75.09ms 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, μ: 10582, ~: 10678)
[PASS] test_percentMul() (gas: 11154)
[PASS] test_percentMul_fuzz(uint256,uint256) (runs: 1000, μ: 10646, ~: 11209)
Suite result: ok. 5 passed; 0 failed; 0 skipped; finished in 225.69ms (224.48ms CPU time)
Ran 18 tests for tests/protocol/pool/Pool.Borrow.t.sol:PoolBorrowTests
[PASS] test_borrow_variable_in_isolation() (gas: 570637)
[PASS] test_reverts_borrow_cap() (gas: 303661)
[PASS] test_reverts_borrow_collateral_balance_zero() (gas: 81579)
[PASS] test_reverts_borrow_collateral_can_not_cover() (gas: 315078)
[PASS] test_reverts_borrow_debt_ceiling() (gas: 658617)
[PASS] test_reverts_borrow_debt_ceiling_exceeded() (gas: 401639)
[PASS] test_reverts_borrow_hf_lt_1() (gas: 562697)
[PASS] test_reverts_borrow_inconsistent_emode_category() (gas: 432100)
[PASS] test_reverts_borrow_invalidAmount() (gas: 65058)
[PASS] test_reverts_borrow_not_borrowable_isolation() (gas: 383739)
[PASS] test_reverts_borrow_reserveFrozen() (gas: 132958)
[PASS] test_reverts_borrow_reserveInactive() (gas: 150130)
[PASS] test_reverts_borrow_reservePaused() (gas: 103659)
[PASS] test_reverts_borrow_sentinel_oracle_down() (gas: 315809)
[PASS] test_reverts_borrow_sioled_borrowing_violation() (gas: 718093)
[PASS] test_reverts_deprecated_stable_borrow() (gas: 406925)
[PASS] test_reverts_variable_borrow_transferred_funds() (gas: 381356)
[PASS] test_variable_borrow() (gas: 349462)
Suite result: ok. 18 passed; 0 failed; 0 skipped; finished in 64.14ms (17.37ms CPU time)
Ran 15 tests for tests/protocol/pool/Pool.Repay.t.sol:PoolRepayTests
[PASS] test_full_repay_borrow_variable_in_isolation() (gas: 589852)
[PASS] test_partial_repay_borrow_variable_in_isolation() (gas: 643854)
[PASS] test_repayWithATokens_full_collateral_variable_borrow() (gas: 619703)
[PASS] test_repayWithATokens_full_variable_borrow() (gas: 417378)
[PASS] test_repayWithATokens_fuzz_collateral_variable_borrow(uint256,uint32) (runs: 1000, μ: 606821, ~: 607833)
[PASS] test_repayWithPermit(uint128,uint120,uint120,uint120,uint120) (runs: 1000, μ: 572957, ~: 564490)
[PASS] test_repayWithPermit_not_failing_if_permit_was_used(uint128,uint120,uint120,uint120,uint120) (runs: 1000, μ: 578247, ~: 570000)
[PASS] test_repayWithPermit_should_revert_if_permit_is_less_then_repay_amount(uint128,uint120,uint120,uint120,uint120) (runs: 1000, μ: 526057, ~: 517980)
[PASS] test_repay_full_variable_borrow() (gas: 404515)
[PASS] test_revert_repay_full_stable_borrow() (gas: 353370)
[PASS] test_reverts_borrow_invalidAmount() (gas: 51687)
[PASS] test_reverts_borrow_reserveInactive() (gas: 138883)
[PASS] test_reverts_borrow_reservePaused() (gas: 92515)
[PASS] test_reverts_no_explicit_repay_on_behalf() (gas: 327464)
[PASS] test_reverts_repay_no_debt() (gas: 52259)
Suite result: ok. 15 passed; 0 failed; 0 skipped; finished in 18.03s (17.98s CPU time)
Ran 2 tests for tests/gas/Pool.Setters.gas.t.sol:PoolSetters_gas_Tests
[PASS] test_setUserEMode() (gas: 956664)
[PASS] test_setUserUseReserveAsCollateral() (gas: 385945)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 58.14ms (5.75ms 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, μ: 833592, ~: 796595)
[PASS] test_claimRewardsOnBehalfOf_self(uint256,uint32,uint88,uint32) (runs: 1000, μ: 833449, ~: 796810)
[PASS] test_claimRewardsOnBehalfOf_shouldRevertForInvalidClaimer(uint256,uint32,uint88,uint32) (runs: 1000, μ: 771046, ~: 772820)
[PASS] test_claimRewardsOnBehalfOf_validClaimer(uint256,uint32,uint88,uint32) (runs: 1000, μ: 863838, ~: 829206)
[PASS] test_claimRewardsToSelf(uint256,uint32,uint88,uint32) (runs: 1000, μ: 833928, ~: 796507)
[PASS] test_claimableRewards(uint256,uint32,uint88,uint32) (runs: 1000, μ: 772063, ~: 773744)
[PASS] test_collectAndUpdateRewards(uint256,uint32,uint88,uint32) (runs: 1000, μ: 814527, ~: 792863)
[PASS] test_correctAccountingForDelayedRegistration() (gas: 822384)
[PASS] test_getReferenceAsset() (gas: 12908)
[PASS] test_isRegisteredRewardToken() (gas: 633216)
[PASS] test_noRewardsInitialized() (gas: 39241)
[PASS] test_noopWhenNotInitialized() (gas: 52824)
[PASS] test_rewardTokens() (gas: 631357)
[PASS] test_transfer(uint256,uint32,uint88,uint32,address,uint256) (runs: 1000, μ: 846454, ~: 863387)
[PASS] test_transfer_toSelf(uint256,uint32,uint88,uint32) (runs: 1000, μ: 804818, ~: 797439)
[PASS] test_zeroIncentivesController() (gas: 37692)
Suite result: ok. 17 passed; 0 failed; 0 skipped; finished in 23.16s (23.11s CPU time)
Ran 11 tests for tests/protocol/pool/Pool.EMode.sol:PoolEModeTests
[PASS] test_borrowing_shouldRevert_ifNonBorrowableOutsideEmode(uint256) (runs: 1000, μ: 524271, ~: 524350)
[PASS] test_getUserAccountData_shouldReflectEmodeParams() (gas: 462954)
[PASS] test_getUserAccountData_shouldReflectMixedCollateral() (gas: 655718)
[PASS] test_getUserEMode_shouldReflectEMode() (gas: 200581)
[PASS] test_liquidations_shouldApplyEModeLBForEmodeAssets(uint256) (runs: 1000, μ: 1102322, ~: 1102404)
[PASS] test_reenterSameEmode_shouldSucceed() (gas: 209854)
[PASS] test_setUserEMode_shouldAllowSwitchingIfNoBorrows(uint8) (runs: 1000, μ: 296081, ~: 299963)
[PASS] test_setUserEMode_shouldRevertForNonExistingEmode() (gas: 35013)
[PASS] test_setUserEmode_shouldAllowSwitchingWhenAssetIsBorrowableInEmode(uint104) (runs: 1000, μ: 1016289, ~: 1016497)
[PASS] test_setUserEmode_shouldRevertIfAssetNoLongerBorrowable(uint104) (runs: 1000, μ: 919244, ~: 919470)
[PASS] test_setUserEmode_shouldRevertIfHfWouldFallBelow1(uint104) (runs: 1000, μ: 975510, ~: 975721)
Suite result: ok. 11 passed; 0 failed; 0 skipped; finished in 14.70s (14.65s CPU time)
Ran 13 tests for tests/protocol/pool/Pool.Supply.t.sol:PoolSupplyTests
[PASS] test_deprecated_deposit() (gas: 240984)
[PASS] test_first_supply() (gas: 240985)
[PASS] test_first_supply_on_behalf() (gas: 243032)
[PASS] test_reverts_supply_cap() (gas: 105400)
[PASS] test_reverts_supply_invalidAmount() (gas: 47837)
[PASS] test_reverts_supply_reserveFrozen() (gas: 117686)
[PASS] test_reverts_supply_reserveInactive() (gas: 134837)
[PASS] test_reverts_supply_reservePaused() (gas: 88490)
[PASS] test_reverts_supply_to_aToken() (gas: 50356)
[PASS] test_supplyWithPermit(uint128,uint128,uint128) (runs: 1000, μ: 413784, ~: 413800)
[PASS] test_supplyWithPermit_not_failing_if_permit_was_used(uint128,uint128,uint128) (runs: 1000, μ: 414000, ~: 414008)
[PASS] test_supplyWithPermit_should_revert_if_permit_is_less_then_supply_amount(uint128,uint128) (runs: 1000, μ: 281036, ~: 281039)
[PASS] test_supply_after_collateral_enabled() (gas: 287780)
Suite result: ok. 13 passed; 0 failed; 0 skipped; finished in 6.54s (6.49s CPU time)
Ran 11 tests for tests/protocol/pool/Pool.Withdraw.t.sol:PoolWithdrawTests
[PASS] test_Reverts_withdraw_transferred_funds() (gas: 549349)
[PASS] test_full_withdraw() (gas: 234895)
[PASS] test_full_withdraw_to() (gas: 240423)
[PASS] test_partial_withdraw() (gas: 231403)
[PASS] test_reverts_withdraw_hf_lt_lqt() (gas: 678632)
[PASS] test_reverts_withdraw_invalidAmount() (gas: 247376)
[PASS] test_reverts_withdraw_invalidBalance() (gas: 249446)
[PASS] test_reverts_withdraw_reserveInactive() (gas: 214658)
[PASS] test_reverts_withdraw_reservePaused() (gas: 287040)
[PASS] test_reverts_withdraw_to_atoken() (gas: 247232)
[PASS] test_withdraw_not_enabled_as_collateral() (gas: 248243)
Suite result: ok. 11 passed; 0 failed; 0 skipped; finished in 56.48ms (9.60ms CPU time)
Ran 17 tests for tests/protocol/pool/Pool.FlashLoans.t.sol:PoolFlashLoansTests
[PASS] test_flashloan() (gas: 215797)
[PASS] test_flashloan_borrow() (gas: 531867)
[PASS] test_flashloan_multiple() (gas: 328658)
[PASS] test_flashloan_simple() (gas: 180097)
[PASS] test_flashloan_simple_2() (gas: 180097)
[PASS] test_revert_flashloan_borrow_stable() (gas: 212581)
[PASS] test_reverts_flashLoan_invalid_return() (gas: 183506)
[PASS] test_reverts_flashLoan_reserve_inactive() (gas: 156855)
[PASS] test_reverts_flashLoan_reserve_not_flash_loan_enabled() (gas: 105548)
[PASS] test_reverts_flashLoan_reserve_paused() (gas: 102299)
[PASS] test_reverts_flashLoan_same_asset_more_then_once(uint8) (runs: 1000, μ: 165381, ~: 130178)
[PASS] test_reverts_flashLoan_simple_invalid_return() (gas: 144646)
[PASS] test_reverts_flashloan_simple_transferred_funds() (gas: 177995)
[PASS] test_reverts_flashloan_transferred_funds() (gas: 208348)
[PASS] test_reverts_flashloans_eoa() (gas: 113081)
[PASS] test_reverts_supply_flashloan_simple_transfer_withdraw() (gas: 848878)
[PASS] test_reverts_supply_flashloan_transfer_withdraw() (gas: 881319)
Suite result: ok. 17 passed; 0 failed; 0 skipped; finished in 1.47s (1.42s CPU time)
Ran 8 tests for tests/gas/Pool.Getters.gas.t.sol:PoolGetters_gas_Tests
[PASS] test_getEModeCategoryCollateralConfig() (gas: 16584)
[PASS] test_getEModeCategoryData() (gas: 22835)
[PASS] test_getLiquidationGracePeriod() (gas: 18184)
[PASS] test_getReserveData() (gas: 47016)
[PASS] test_getUserAccountData() (gas: 33182)
[PASS] test_getUserAccountData_oneSupplies() (gas: 364456)
[PASS] test_getUserAccountData_twoSupplies() (gas: 676432)
[PASS] test_getUserAccountData_twoSupplies_oneBorrows() (gas: 1086893)
Suite result: ok. 8 passed; 0 failed; 0 skipped; finished in 58.75ms (9.19ms CPU time)
Ran 17 tests for tests/extensions/v3-config-engine/AaveV3ConfigEngineTest.t.sol:AaveV3ConfigEngineTest
[PASS] testAssetEModeUpdates() (gas: 3442311)
[PASS] testBorrowUpdatesNoChange() (gas: 2472799)
[PASS] testBorrowsUpdates() (gas: 2540323)
[PASS] testCapsUpdate() (gas: 2481566)
[PASS] testCollateralUpdateCorrectBonus() (gas: 2497565)
[PASS] testCollateralUpdateWrongBonus() (gas: 732663)
[PASS] testCollateralsUpdates() (gas: 2497111)
[PASS] testCollateralsUpdatesNoChange() (gas: 2470933)
[PASS] testEModeCategoryUpdates() (gas: 2566259)
[PASS] testEModeCategoryUpdatesNoChange() (gas: 2467502)
[PASS] testEModeCategoryUpdatesWrongBonus() (gas: 720983)
[PASS] testFailCollateralsUpdatesNoChange() (gas: 1617309)
[PASS] testFailEModeCategoryUpdatesNoChange() (gas: 739643)
[PASS] testListings() (gas: 5615693)
[PASS] testListingsCustom() (gas: 9337072)
[PASS] testPriceFeedsUpdates() (gas: 2552624)
[PASS] testRateStrategiesUpdates() (gas: 2551341)
Suite result: ok. 17 passed; 0 failed; 0 skipped; finished in 23.45s (23.41s CPU time)
Ran 2 tests for tests/deployments/AaveV3PermissionsTest.t.sol:AaveV3PermissionsTest
[PASS] testCheckPermissions() (gas: 52757614)
[PASS] testCheckPermissionsTreasuryPartner() (gas: 53246974)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 66.65ms (59.61ms 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 46.81ms (2.00ms CPU time)
Ran 1 test for tests/template/BaseTest.t.sol:BaseTest
[PASS] test_default() (gas: 254579)
Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 45.58ms (583.23µs CPU time)
Ran 12 tests for tests/protocol/libraries/logic/BridgeLogic.t.sol:BridgeLogicTests
[PASS] test_backUnbacked_but_unbacked_is_zero_with_fee() (gas: 194249)
[PASS] test_backUnbacked_but_unbacked_is_zero_with_only_fee() (gas: 194307)
[PASS] test_backUnbacked_but_unbacked_is_zero_without_fee() (gas: 159653)
[PASS] test_backUnbacked_onlyFee() (gas: 363669)
[PASS] test_backUnbacked_withFee() (gas: 363849)
[PASS] test_backUnbacked_withoutFee() (gas: 341147)
[PASS] test_multiple_backUnbacked() (gas: 644666)
[PASS] test_multiple_unbackedMint_with_cap() (gas: 488647)
[PASS] test_revert_multiple_unbackedMint_with_cap() (gas: 428456)
[PASS] test_revert_unathorized_unbackedMint() (gas: 30598)
[PASS] test_revert_unbackedMint_zero_cap() (gas: 86177)
[PASS] test_unbackedMint_with_cap() (gas: 271296)
Suite result: ok. 12 passed; 0 failed; 0 skipped; finished in 64.82ms (17.38ms CPU time)
Ran 9 tests for tests/rewards/EmissionsManager.t.sol:EmissionManagerTest
[PASS] test_configureAssets() (gas: 598178)
[PASS] test_new_EmissionManager() (gas: 747563)
[PASS] test_setClaimer() (gas: 51471)
[PASS] test_setDistributionEnd() (gas: 605447)
[PASS] test_setEmissionAdmin() (gas: 43012)
[PASS] test_setEmissionPerSecond() (gas: 611936)
[PASS] test_setRewardOracle() (gas: 687194)
[PASS] test_setRewardsController() (gas: 19086)
[PASS] test_setTransferStrategy() (gas: 888756)
Suite result: ok. 9 passed; 0 failed; 0 skipped; finished in 50.69ms (2.31ms CPU time)
Ran 6 tests for tests/misc/aave-upgradeability/InitializableImmutableAdminUpgradeabilityProxy.t.sol:InitializableImmutableAdminUpgradeabilityProxyTests
[PASS] test_proxy_fallback() (gas: 597826)
[PASS] test_proxy_upgradeTo() (gas: 619697)
[PASS] test_proxy_upgradeToAndCall() (gas: 625580)
[PASS] test_proxy_upgradeToAndCall_initialize() (gas: 594922)
[PASS] test_reverts_upgradeToAndCall_notAdmin() (gas: 600809)
[PASS] test_reverts_upgradeTo_notAdmin() (gas: 598615)
Suite result: ok. 6 passed; 0 failed; 0 skipped; finished in 3.71ms (2.12ms CPU time)
Ran 15 tests for tests/gas/ProtocolDataProvider.gas.t.sol:ProtocolDataProvider_gas_Tests
[PASS] test_getATokenTotalSupply() (gas: 68215)
[PASS] test_getDebtCeiling() (gas: 27099)
[PASS] test_getFlashLoanEnabled() (gas: 27177)
[PASS] test_getInterestRateStrategyAddress() (gas: 53485)
[PASS] test_getIsVirtualAccActive() (gas: 27184)
[PASS] test_getLiquidationProtocolFee() (gas: 27158)
[PASS] test_getPaused() (gas: 27250)
[PASS] test_getReserveCaps() (gas: 27176)
[PASS] test_getReserveConfigurationData() (gas: 28077)
[PASS] test_getReserveTokensAddresses() (gas: 53734)
[PASS] test_getSiloedBorrowing() (gas: 27232)
[PASS] test_getTotalDebt() (gas: 68237)
[PASS] test_getUnbackedMintCap() (gas: 27097)
[PASS] test_getUserReserveData() (gas: 366198)
[PASS] test_getVirtualUnderlyingBalance() (gas: 26880)
Suite result: ok. 15 passed; 0 failed; 0 skipped; finished in 51.65ms (3.36ms CPU time)
Ran 37 tests for tests/protocol/pool/Pool.t.sol:PoolTests
[PASS] test_dropReserve() (gas: 108071)
[PASS] test_getBorrowLogic() (gas: 13641)
[PASS] test_getBridgeLogic() (gas: 13683)
[PASS] test_getEModeLogic() (gas: 13596)
[PASS] test_getFlashLoanLogic() (gas: 13620)
[PASS] test_getLiquidationLogic() (gas: 13709)
[PASS] test_getPoolLogic() (gas: 13661)
[PASS] test_getSupplyLogic() (gas: 13596)
[PASS] test_getVirtualUnderlyingBalance() (gas: 253537)
[PASS] test_getters_getUserAccountData() (gas: 598330)
[PASS] test_mintToTreasury() (gas: 701561)
[PASS] test_mintToTreasury_skip_invalid_addresses() (gas: 706186)
[PASS] test_noop_setUserUseReserveAsCollateral_true_when_already_is_activated() (gas: 290816)
[PASS] test_pool_defaultValues() (gas: 4487372)
[PASS] test_rescueTokens(uint256) (runs: 1000, μ: 81868, ~: 82155)
[PASS] test_resetIsolationModeTotalDebt() (gas: 734317)
[PASS] test_reverts_initReserve_not_poolConfigurator(address) (runs: 1000, μ: 25452, ~: 25452)
[PASS] test_reverts_modifiers_not_poolConfigurator(address) (runs: 1000, μ: 127719, ~: 127719)
[PASS] test_reverts_new_Pool_invalidAddressesProvider() (gas: 4499520)
[PASS] test_reverts_setReserveInterestRateStrategyAddress_AssetNotListed(address,address) (runs: 1000, μ: 40463, ~: 40463)
[PASS] test_reverts_setReserveInterestRateStrategyAddress_ZeroAssetAddress(address) (runs: 1000, μ: 22754, ~: 22754)
[PASS] test_reverts_setUserEmode_0_bad_hf() (gas: 974661)
[PASS] test_reverts_setUserUseReserveAsCollateral_false_hf_lower_lqt() (gas: 600262)
[PASS] test_reverts_setUserUseReserveAsCollateral_true_ltv_zero() (gas: 298982)
[PASS] test_reverts_setUserUseReserveAsCollateral_true_reserve_inactive() (gas: 228127)
[PASS] test_reverts_setUserUseReserveAsCollateral_true_reserve_paused() (gas: 293842)
[PASS] test_reverts_setUserUseReserveAsCollateral_true_user_balance_zero() (gas: 71780)
[PASS] test_reverts_setUserUseReserveAsCollateral_true_user_isolation_mode() (gas: 790145)
[PASS] test_setLiquidationGracePeriod(uint40) (runs: 1000, μ: 36915, ~: 36991)
[PASS] test_setLiquidationGracePeriod_assetNotListed(uint40) (runs: 1000, μ: 27115, ~: 27115)
[PASS] test_setReserveInterestRateStrategyAddress() (gas: 904581)
[PASS] test_setUserEmode() (gas: 232430)
[PASS] test_setUserEmode_twice() (gas: 376864)
[PASS] test_setUserEmode_twice_inconsistent_category() (gas: 985682)
[PASS] test_setUserUseReserveAsCollateral_false() (gas: 240420)
[PASS] test_setUserUseReserveAsCollateral_true() (gas: 277917)
[PASS] test_updateBridgeProtocolFee() (gas: 253)
Suite result: ok. 37 passed; 0 failed; 0 skipped; finished in 1.33s (1.28s CPU time)
Ran 22 tests for tests/protocol/configuration/PoolAddressesProvider.t.sol:PoolAddressesProviderTests
[PASS] test_PoolDataProvider_changeContract() (gas: 1472600)
[PASS] test_getter_getMarketId() (gas: 1435029)
[PASS] test_new_PoolAddressesProvider() (gas: 1444259)
[PASS] test_reverts_setAddressAsProxy_notAuth() (gas: 1448435)
[PASS] test_reverts_setAddress_noAuth() (gas: 1453612)
[PASS] test_reverts_setters_notOwner() (gas: 1451221)
[PASS] test_setACLManager_changeContract() (gas: 3014111)
[PASS] test_setACLManager_setACLAdmin() (gas: 2248064)
[PASS] test_setAddress() (gas: 1462527)
[PASS] test_setAddressAsProxy_new_proxy() (gas: 2020261)
[PASS] test_setAddressAsProxy_upgrade_proxy() (gas: 2132633)
[PASS] test_setAddress_updateAddress() (gas: 1471653)
[PASS] test_setPoolConfiguratorImpl() (gas: 5939538)
[PASS] test_setPoolConfiguratorImpl_upgrade() (gas: 10459574)
[PASS] test_setPoolDataProvider() (gas: 1463045)
[PASS] test_setPoolImpl() (gas: 6370581)
[PASS] test_setPoolImpl_upgrade() (gas: 10890175)
[PASS] test_setPriceOracle() (gas: 1463202)
[PASS] test_setPriceOracleSentinel() (gas: 1463073)
[PASS] test_setPriceOracleSentinel_changeContract() (gas: 1472677)
[PASS] test_setPriceOracle_changeContract() (gas: 1472938)
[PASS] test_setter_setMarketId() (gas: 1446179)
Suite result: ok. 22 passed; 0 failed; 0 skipped; finished in 60.37ms (9.61ms 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, μ: 1047209, ~: 1047279)
[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 4.14s (4.09s CPU time)
Ran 10 tests for tests/protocol/pool/pool-configurator/PoolConfigurator.borrowCaps.t.sol:PoolConfiguratorBorrowCapTests
[PASS] test_borrow_eq_cap() (gas: 321716)
[PASS] test_borrow_interests_reach_cap() (gas: 323764)
[PASS] test_borrow_lt_cap() (gas: 299144)
[PASS] test_default_borrowCap_zero() (gas: 27547)
[PASS] test_reverts_borrow_after_borrow_interests_reach_cap() (gas: 370192)
[PASS] test_reverts_borrow_gt_cap() (gas: 142685)
[PASS] test_reverts_setBorrowCap_gt_max_cap() (gas: 48711)
[PASS] test_reverts_unauthorized_setBorrowCap() (gas: 35517)
[PASS] test_setBorrowCap() (gas: 78860)
[PASS] test_setBorrowCap_them_setBorrowCap_zero() (gas: 319845)
Suite result: ok. 10 passed; 0 failed; 0 skipped; finished in 56.33ms (6.81ms CPU time)
Ran 13 tests for tests/protocol/pool/pool-configurator/PoolConfigurator.eMode.sol:PoolConfiguratorEModeConfigTests
[PASS] test_addAnotherAssetBorrowableInEMode() (gas: 289989)
[PASS] test_addAnotherAssetCollateralInEMode() (gas: 270130)
[PASS] test_configureEmodeCategory() (gas: 118599)
[PASS] test_removeBorrowableFromEmode() (gas: 198571)
[PASS] test_removeCollateralFromEmode() (gas: 246630)
[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: 218483)
[PASS] test_setAssetCollateralInEMode() (gas: 198593)
[PASS] test_updateEModeCategory() (gas: 207378)
Suite result: ok. 13 passed; 0 failed; 0 skipped; finished in 57.58ms (8.78ms CPU time)
Ran 13 tests for tests/misc/rates/RateStrategy.calculateRates.t.sol:RateStrategyCalculateRatesTests
[PASS] test_calculate_rates_100_percent_usage() (gas: 44982)
[PASS] test_calculate_rates_80_bps_usage() (gas: 45101)
[PASS] test_calculate_rates_80_percent_usage() (gas: 87752)
[PASS] test_calculate_rates_80_percent_usage_and_50_percent_supply_usage_due_minted_tokens() (gas: 43307)
[PASS] test_calculate_rates_80_percent_usage_and_80_bps_supply_usage_due_minted_tokens() (gas: 43329)
[PASS] test_calculate_rates_above_op_usage((uint16,uint32,uint32,uint32),uint256,uint256,uint256) (runs: 1000, μ: 121616, ~: 121727)
[PASS] test_calculate_rates_below_op_usage((uint16,uint32,uint32,uint32),uint256,uint256,uint256) (runs: 1000, μ: 114233, ~: 114293)
[PASS] test_calculate_rates_below_op_usage_when_no_debt((uint16,uint32,uint32,uint32),uint256,uint256) (runs: 1000, μ: 71490, ~: 71769)
[PASS] test_calculate_rates_empty_reserve((uint16,uint32,uint32,uint32)) (runs: 1000, μ: 39838, ~: 39838)
[PASS] test_calculate_rates_when_not_using_virtual_valance((uint16,uint32,uint32,uint32),uint256,uint256) (runs: 1000, μ: 64420, ~: 64818)
[PASS] test_calculate_rates_when_total_debt_0((uint16,uint32,uint32,uint32),uint256,uint256) (runs: 1000, μ: 64182, ~: 65038)
[PASS] test_fuzz_calculate_rates_80_percent_usage_added_and_virtual_equal(uint256) (runs: 1000, μ: 29922, ~: 29922)
[PASS] test_zero_rates_strategy_calculate_rates() (gas: 19289)
Suite result: ok. 13 passed; 0 failed; 0 skipped; finished in 17.22s (17.17s CPU time)
Ran 7 tests for tests/misc/rates/RateStrategy.setters.t.sol:RateStrategySettersTests
[PASS] test_new_SetReserveInterestRateParams((uint16,uint32,uint32,uint32)) (runs: 1000, μ: 48199, ~: 48199)
[PASS] test_new_SetReserveInterestRateParams_when_not_configurator((uint16,uint32,uint32,uint32)) (runs: 1000, μ: 21930, ~: 21930)
[PASS] test_reverts_SetReserveInterestRateParams_when_gt_maxRate((uint16,uint32,uint32,uint32)) (runs: 1000, μ: 25547, ~: 25547)
[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, μ: 22855, ~: 22855)
[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 4.28s (4.23s CPU time)
Ran 20 tests for tests/protocol/pool/Pool.Liquidations.t.sol:PoolLiquidationTests
[PASS] test_full_liquidate_atokens_multiple_variable_borrows() (gas: 1334853)
[PASS] test_full_liquidate_multiple_supplies_and_variable_borrows() (gas: 1540628)
[PASS] test_full_liquidate_multiple_variable_borrows() (gas: 1397123)
[PASS] test_liquidate_emode_position_without_emode_oracle() (gas: 1422741)
[PASS] test_liquidate_isolated_position() (gas: 1326035)
[PASS] test_liquidate_variable_borrow() (gas: 1434969)
[PASS] test_liquidate_variable_borrow_no_fee() (gas: 1159835)
[PASS] test_liquidate_variable_borrow_same_collateral_and_borrow() (gas: 1094977)
[PASS] test_liquidation_when_grace_period_disabled(uint40) (runs: 1000, μ: 1263808, ~: 1263808)
[PASS] test_liquidation_with_liquidation_grace_period_collateral_active(uint40) (runs: 1000, μ: 1453615, ~: 1462217)
[PASS] test_liquidation_with_liquidation_grace_period_debt_active(uint40) (runs: 1000, μ: 1450281, ~: 1460112)
[PASS] test_liquidation_with_liquidation_grace_period_debt_collateral_active(uint40) (runs: 1000, μ: 1468095, ~: 1477042)
[PASS] test_partial_liquidate_atokens_variable_borrow() (gas: 1273109)
[PASS] test_partial_liquidate_variable_borrow() (gas: 1221011)
[PASS] test_reverts_liquidation_collateral_not_active() (gas: 615629)
[PASS] test_reverts_liquidation_hf_gt_liquidation_threshold() (gas: 459000)
[PASS] test_reverts_liquidation_invalid_borrow() (gas: 590132)
[PASS] test_reverts_liquidation_oracle_sentinel_on() (gas: 319337)
[PASS] test_reverts_liquidation_reserveInactive() (gas: 160011)
[PASS] test_reverts_liquidation_reservePaused() (gas: 113797)
Suite result: ok. 20 passed; 0 failed; 0 skipped; finished in 22.93s (22.88s CPU time)
Ran 7 tests for tests/misc/rates/RateStrategy.setters.t.sol:RateStrategySettersTestsOverride
[PASS] test_new_SetReserveInterestRateParams((uint16,uint32,uint32,uint32)) (runs: 1000, μ: 47597, ~: 47597)
[PASS] test_new_SetReserveInterestRateParams_when_not_configurator((uint16,uint32,uint32,uint32)) (runs: 1000, μ: 21313, ~: 21313)
[PASS] test_reverts_SetReserveInterestRateParams_when_gt_maxRate((uint16,uint32,uint32,uint32)) (runs: 1000, μ: 24938, ~: 24938)
[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, μ: 22246, ~: 22246)
[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 4.17s (4.12s CPU time)
Ran 2 tests for tests/gas/StataToken.gas.t.sol:StataToken_gas_Tests
[PASS] test_deposit() (gas: 491750)
[PASS] test_depositATokens() (gas: 540744)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 59.19ms (4.40ms CPU time)
Ran 2 tests for tests/extensions/stata-token/StataTokenV2Getters.sol:StataTokenV2GettersTest
[PASS] test_getters() (gas: 101104)
[PASS] test_initializeShouldRevert() (gas: 21687)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 47.95ms (451.16µ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: 547028)
[PASS] test_deposit_shouldRevert() (gas: 472828)
[PASS] test_mint_shouldRevert() (gas: 476882)
[PASS] test_redeem_shouldRevert() (gas: 566691)
[PASS] test_setPaused_shouldRevertForInvalidCaller(address) (runs: 1000, μ: 30455, ~: 30455)
[PASS] test_setPaused_shouldSucceedForOwner() (gas: 53972)
[PASS] test_transfer_shouldRevert() (gas: 544936)
[PASS] test_withdraw_shouldRevert() (gas: 562525)
Suite result: ok. 10 passed; 0 failed; 0 skipped; finished in 243.87ms (195.86ms 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 47.62ms (2.01ms CPU time)
Ran 4 tests for tests/extensions/stata-token/StataTokenV2Rescuable.sol:StataTokenV2RescuableTest
[PASS] test_rescuable_shouldNotCauseInsolvency(uint256,uint256) (runs: 1000, μ: 764759, ~: 764764)
[PASS] test_rescuable_shouldRevertForInvalidCaller() (gas: 190095)
[PASS] test_rescuable_shouldTransferAssetsToCollector() (gas: 217036)
[PASS] test_rescuable_shouldWorkForAToken() (gas: 443975)
Suite result: ok. 4 passed; 0 failed; 0 skipped; finished in 3.12s (3.07s CPU time)
Ran 15 tests for tests/misc/rates/RateStrategy.t.sol:RateStrategyBaseTests
[PASS] test_getInterestRateDataBps((uint16,uint32,uint32,uint32)) (runs: 1000, μ: 36071, ~: 36071)
[PASS] test_getInterestRateDataRay((uint16,uint32,uint32,uint32)) (runs: 1000, μ: 36997, ~: 36997)
[PASS] test_getMaxVariableBorrowRate((uint16,uint32,uint32,uint32)) (runs: 1000, μ: 34506, ~: 34506)
[PASS] test_initialization() (gas: 27078)
[PASS] test_new_DefaultReserveInterestRateStrategy_wrong_provider() (gas: 42406)
[PASS] test_new_SetReserveInterestRateParams((uint16,uint32,uint32,uint32)) (runs: 1000, μ: 48170, ~: 48170)
[PASS] test_new_SetReserveInterestRateParams_override_method((uint16,uint32,uint32,uint32)) (runs: 1000, μ: 45375, ~: 45375)
[PASS] test_new_SetReserveInterestRateParams_when_not_configurator((uint16,uint32,uint32,uint32)) (runs: 1000, μ: 21956, ~: 21956)
[PASS] test_overflow_liquidity_rates() (gas: 59538)
[PASS] test_overflow_variable_rates() (gas: 545863)
[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 7.81s (7.76s CPU time)
Ran 44 tests for tests/protocol/pool/pool-configurator/PoolConfigurator.reserveRiskConfig.t.sol:PoolConfiguratorReserveRiskConfigs
[PASS] test_EmergencyAdminSetReserveFreeze_true() (gas: 137081)
[PASS] test_PoolAdminSetReserveFreeze_true() (gas: 101346)
[PASS] test_RiskAdminSetReserveFreeze_true() (gas: 130770)
[PASS] test_bridgeProtocolFee() (gas: 72994)
[PASS] test_disableLiquidationGracePeriod() (gas: 80452)
[PASS] test_dropReserve() (gas: 149701)
[PASS] test_enableBorrowing((uint8,string,string,string,string,address,address,address,bool)) (runs: 1000, μ: 2623358, ~: 2623404)
[PASS] test_enableFlashBorrow((uint8,string,string,string,string,address,address,address,bool)) (runs: 1000, μ: 2616455, ~: 2614345)
[PASS] test_reverts_bridgeProtocolFee() (gas: 30151)
[PASS] test_reverts_dropReserve_notListed() (gas: 53404)
[PASS] test_reverts_dropReserve_supplyNotZero() (gas: 300324)
[PASS] test_reverts_dropReserve_variableDebtNotZero() (gas: 459401)
[PASS] test_reverts_dropReserve_zeroAddress() (gas: 47308)
[PASS] test_reverts_setCollateralConfig_invalidParams((uint8,string,string,string,string,address,address,address,bool)) (runs: 1000, μ: 2865007, ~: 2865287)
[PASS] test_reverts_setDebtCeiling_suppliers() (gas: 296578)
[PASS] test_reverts_setLiquidationProtocolFee_amount_gt_percentageFactor() (gas: 35632)
[PASS] test_reverts_setReserveActive_false_if_suppliers() (gas: 291447)
[PASS] test_reverts_setReserveFactor_gt_percentageFactor() (gas: 35651)
[PASS] test_reverts_setSiloedBorrowing_borrowers() (gas: 417360)
[PASS] test_reverts_updateFlashloanPremiumToProtocol() (gas: 30267)
[PASS] test_reverts_updateFlashloanPremiumTotal() (gas: 30287)
[PASS] test_setBorrowableInIsolation_false() (gas: 65034)
[PASS] test_setBorrowableInIsolation_true() (gas: 67851)
[PASS] test_setCollateralConfig((uint8,string,string,string,string,address,address,address,bool)) (runs: 1000, μ: 2604424, ~: 2601173)
[PASS] test_setDebtCeiling() (gas: 124864)
[PASS] test_setDebtCeiling_suppliers_ltZero() (gas: 299836)
[PASS] test_setDebtCeiling_to_zero() (gas: 149723)
[PASS] test_setFrozenReserveFreeze_true_revert() (gas: 108173)
[PASS] test_setLiquidationGracePeriodAboveCap(uint40) (runs: 1000, μ: 34809, ~: 34809)
[PASS] test_setLiquidationGracePeriodPool(uint40) (runs: 1000, μ: 136135, ~: 138981)
[PASS] test_setLiquidationGracePeriodReserve(uint40) (runs: 1000, μ: 138269, ~: 138598)
[PASS] test_setLiquidationProtocolFee_amount_gt_percentageFactor() (gas: 74859)
[PASS] test_setPoolPause() (gas: 138567)
[PASS] test_setPoolPause_unpause() (gas: 196161)
[PASS] test_setReserveActive_false() (gas: 122131)
[PASS] test_setReserveActive_true() (gas: 69283)
[PASS] test_setReserveFactor() (gas: 976606)
[PASS] test_setReserveFreeze_false() (gas: 100868)
[PASS] test_setReservePause_false() (gas: 68656)
[PASS] test_setReservePause_true() (gas: 71411)
[PASS] test_setSiloedBorrowing() (gas: 120382)
[PASS] test_setUnfrozenReserveFreeze_false_revert() (gas: 48826)
[PASS] test_updateFlashloanPremiumToProtocol() (gas: 58261)
[PASS] test_updateFlashloanPremiumTotal() (gas: 58175)
Suite result: ok. 44 passed; 0 failed; 0 skipped; finished in 8.22s (8.16s 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: 371747)
[PASS] test_reverts_interests_gt_cap_and_supply() (gas: 477646)
[PASS] test_reverts_setSupplyCap_gt_max_cap() (gas: 48667)
[PASS] test_reverts_supply_gt_cap() (gas: 124848)
[PASS] test_reverts_unauthorized_setSupplyCap() (gas: 35454)
[PASS] test_setSupplyCap() (gas: 78895)
[PASS] test_setSupplyCap_them_setBorrowCap_zero() (gas: 319107)
[PASS] test_supply_eq_cap() (gas: 300294)
[PASS] test_supply_interests_reach_cap() (gas: 438973)
[PASS] test_supply_lt_cap() (gas: 300295)
Suite result: ok. 11 passed; 0 failed; 0 skipped; finished in 53.95ms (7.37ms 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: 1837748)
[PASS] test_setReserveInterestRateData() (gas: 156713)
[PASS] test_setReserveInterestRateStrategyAddress() (gas: 1015446)
[PASS] test_updateAToken() (gas: 2311807)
[PASS] test_updateVariableDebtToken() (gas: 1708992)
Suite result: ok. 6 passed; 0 failed; 0 skipped; finished in 52.54ms (5.42ms 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: 680706)
[PASS] test_reverts_initReserves_max() (gas: 197181)
[PASS] test_reverts_initReserves_reserveAlreadyAdded() (gas: 220586)
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 47.83ms (821.27µs 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: 423731)
[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 61.70ms (1.37ms CPU time)
Ran 18 tests for tests/protocol/tokenization/VariableDebtToken.t.sol:VariableDebtTokenEventsTests
[PASS] test_balanceOf() (gas: 241853)
[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, μ: 2736876, ~: 2736519)
[PASS] test_mint_variableDebt_caller_alice((uint8,string,string,string,string,address,address,address,bool)) (runs: 1000, μ: 2810066, ~: 2808686)
[PASS] test_mint_variableDebt_caller_bob_onBehalf_alice((uint8,string,string,string,string,address,address,address,bool)) (runs: 1000, μ: 2825000, ~: 2822898)
[PASS] test_new_VariableDebtToken_implementation() (gas: 1572767)
[PASS] test_partial_burn_variableDebt((uint8,string,string,string,string,address,address,address,bool)) (runs: 1000, μ: 2821512, ~: 2823000)
[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, μ: 2623736, ~: 2623873)
[PASS] test_reverts_initialize_twice((uint8,string,string,string,string,address,address,address,bool)) (runs: 1000, μ: 3675395, ~: 3673966)
[PASS] test_reverts_operation_not_supported() (gas: 1591370)
[PASS] test_reverts_zero_address_delegationWithSig() (gas: 33532)
[PASS] test_scaledBalanceOf() (gas: 321292)
[PASS] test_totalScaledSupply() (gas: 360001)
[PASS] test_totalSupply() (gas: 359930)
[PASS] test_total_burn_variableDebt((uint8,string,string,string,string,address,address,address,bool)) (runs: 1000, μ: 2821892, ~: 2822915)
Suite result: ok. 18 passed; 0 failed; 0 skipped; finished in 6.73s (6.68s CPU time)
Ran 14 tests for tests/helpers/WrappedTokenGateway.t.sol:WrappedTokenGatewayTests
[PASS] test_borrowDelegateApprove_repay() (gas: 478193)
[PASS] test_borrowVariableDebtWeth_repayWithEth() (gas: 814411)
[PASS] test_borrowVariableDebtWeth_repayWithEth_mismatchedValues() (gas: 810962)
[PASS] test_depositNativeEthInPool() (gas: 255609)
[PASS] test_fallback_revert() (gas: 10039)
[PASS] test_getWETHAddress() (gas: 10547)
[PASS] test_ownerCanRescueEth() (gas: 25250)
[PASS] test_ownerCanRescueTokens() (gas: 96925)
[PASS] test_sendEthFallback_revert() (gas: 16705)
[PASS] test_sendEth_revert() (gas: 16582)
[PASS] test_withdrawEth_full() (gas: 391279)
[PASS] test_withdrawEth_partial() (gas: 412854)
[PASS] test_withdrawEth_permit() (gas: 447226)
[PASS] test_withdrawEth_permit_full() (gas: 421927)
Suite result: ok. 14 passed; 0 failed; 0 skipped; finished in 56.71ms (12.85ms CPU time)
Ran 1 test for tests/gas/WrappedTokenGatewayV3.gas.t.sol:WrappedTokenGatewayV3_gas_Tests
[PASS] test_flow() (gas: 638254)
Suite result: ok. 1 passed; 0 failed; 0 skipped; finished in 54.17ms (2.73ms 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: 78707)
[PASS] test_setLiquidationFee_100() (gas: 78663)
Suite result: ok. 4 passed; 0 failed; 0 skipped; finished in 46.89ms (1.05ms 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, μ: 13325, ~: 13278)
[PASS] test_wadDiv() (gas: 12873)
[PASS] test_wadDiv_fuzzing(uint256,uint256) (runs: 1000, μ: 10516, ~: 10723)
[PASS] test_wadMul() (gas: 11145)
[PASS] test_wadMul_edge() (gas: 11187)
[PASS] test_wadMul_fuzzing(uint256,uint256) (runs: 1000, μ: 10771, ~: 11341)
[PASS] test_wadToRay() (gas: 10867)
[PASS] test_wadToRay_fuzz(uint256) (runs: 1000, μ: 12146, ~: 12349)
Suite result: ok. 12 passed; 0 failed; 0 skipped; finished in 283.79ms (282.53ms 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: 410764)
[PASS] test_splitFund_reverts_randomAddress() (gas: 51331)
[PASS] test_splitFund_zeroAmount_noOp() (gas: 371636)
[PASS] test_splitFund_zeroFunds_noOp() (gas: 50896)
[PASS] test_splitFund_zeroTokens_noOp() (gas: 370555)
[PASS] test_splitFunds_fixed() (gas: 447716)
[PASS] test_splitFunds_fuzz_max(uint256,uint256) (runs: 1000, μ: 448344, ~: 449892)
[PASS] test_splitFunds_fuzz_realistic(uint256,uint256) (runs: 1000, μ: 446918, ~: 448359)
[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, μ: 100601, ~: 101887)
Suite result: ok. 15 passed; 0 failed; 0 skipped; finished in 4.29s (4.29s CPU time)
Ran 19 tests for tests/rewards/RewardsController.t.sol:RewardsControllerTest
[PASS] test_accrueRewards() (gas: 930821)
[PASS] test_claimAllRewards() (gas: 886490)
[PASS] test_claimAllRewardsOnBehalf() (gas: 920195)
[PASS] test_claimAllRewardsToSelf() (gas: 886117)
[PASS] test_claimRewards() (gas: 883402)
[PASS] test_claimRewardsOnBehalf() (gas: 921921)
[PASS] test_claimRewardsToSelf() (gas: 883084)
[PASS] test_claimRewards_partial() (gas: 883739)
[PASS] test_claimRewards_zero() (gas: 636115)
[PASS] test_claimRewards_zero_with_rewards() (gas: 642727)
[PASS] test_configureAssets() (gas: 617301)
[PASS] test_initialize_no_op() (gas: 3625231)
[PASS] test_new_RewardsController() (gas: 3601581)
[PASS] test_reverts_initialize_twice() (gas: 3626810)
[PASS] test_setClaimer() (gas: 58252)
[PASS] test_setDistributionEnd() (gas: 633160)
[PASS] test_setEmissionPerSecond() (gas: 637169)
[PASS] test_setRewardOracle() (gas: 710918)
[PASS] test_setTransferStrategy_PullRewardsTransferStrategy() (gas: 913390)
Suite result: ok. 19 passed; 0 failed; 0 skipped; finished in 61.68ms (14.84ms 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 44.77ms (310.86µs CPU time)
Ran 5 tests for tests/rewards/StakedTokenTransferStrategy.t.sol:StakedTokenTransferStrategyTest
[PASS] test_dropApproval() (gas: 18982)
[PASS] test_emergencyTransfer() (gas: 211683)
[PASS] test_getters() (gas: 18731)
[PASS] test_performTransfer() (gas: 22028)
[PASS] test_renewApproval() (gas: 23102)
Suite result: ok. 5 passed; 0 failed; 0 skipped; finished in 46.36ms (1.39ms CPU time)
Ran 3 tests for tests/protocol/pool/pool-configurator/PoolConfigurator.pendingLTV.t.sol:PoolConfiguratorPendingLtvTests
[PASS] test_freezeReserve_ltvSetTo0() (gas: 107849)
[PASS] test_setLtv_ltvSetPendingLtvSet(uint256,uint256) (runs: 1000, μ: 143962, ~: 143962)
[PASS] test_unfreezeReserve_pendingSetToLtv() (gas: 109245)
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 1.23s (1.18s 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, μ: 43617, ~: 43617)
[PASS] test_depositATokens(uint128,uint256,address) (runs: 1000, μ: 523395, ~: 523836)
[PASS] test_depositATokens_self() (gas: 523950)
Logs:
Bound result 1000000000000000000
Bound result 1000000000000000000
[PASS] test_depositWithPermit_aToken(uint128,uint256,address) (runs: 1000, μ: 556260, ~: 556796)
[PASS] test_depositWithPermit_emptyPermit_aToken_preApproval(uint128,uint256,address) (runs: 1000, μ: 529513, ~: 529917)
[PASS] test_depositWithPermit_emptyPermit_underlying_preApproval(uint128,uint256,address) (runs: 1000, μ: 466962, ~: 466830)
[PASS] test_depositWithPermit_shouldRevert_emptyPermit_noPreApproval(uint128) (runs: 1000, μ: 396269, ~: 396176)
[PASS] test_depositWithPermit_underlying(uint128,uint256,address) (runs: 1000, μ: 488227, ~: 488092)
[PASS] test_deposit_shouldRevert_insufficientAllowance(uint128) (runs: 1000, μ: 387159, ~: 387068)
[PASS] test_latestAnswer_priceShouldBeEqualOnDefaultIndex() (gas: 37293)
[PASS] test_latestAnswer_priceShouldReflectIndexAccrual(uint256) (runs: 1000, μ: 42242, ~: 42268)
[PASS] test_maxDeposit_cap(uint256) (runs: 1000, μ: 115038, ~: 115249)
[PASS] test_maxDeposit_freeze() (gas: 121657)
[PASS] test_maxDeposit_noCap() (gas: 103956)
[PASS] test_maxDeposit_paused() (gas: 94931)
[PASS] test_maxRedeem_inSufficientAvailableLiquidity(uint256) (runs: 1000, μ: 975563, ~: 975700)
[PASS] test_maxRedeem_paused(uint128) (runs: 1000, μ: 548909, ~: 548812)
[PASS] test_maxRedeem_sufficientAvailableLiquidity(uint128) (runs: 1000, μ: 518992, ~: 518900)
[PASS] test_mint(uint256,address) (runs: 1000, μ: 459411, ~: 459256)
[PASS] test_mint_shouldRevert_mintMoreThenBalance(uint256,address) (runs: 1000, μ: 250568, ~: 250420)
[PASS] test_redeem(uint256,address) (runs: 1000, μ: 578780, ~: 578624)
[PASS] test_redeemATokens(uint256,address) (runs: 1000, μ: 585103, ~: 584932)
[PASS] test_redeemATokens_onBehalf(uint256) (runs: 1000, μ: 605606, ~: 605422)
[PASS] test_redeemATokens_onBehalf_shouldRevert_insufficientAllowance(uint256,uint256) (runs: 1000, μ: 53...*[Comment body truncated]* |
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.