generated from bgd-labs/bgd-forge-template
-
Notifications
You must be signed in to change notification settings - Fork 25
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
feat: robots migration #312
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Foundry report forge 0.2.0 (b1f4684 2024-05-24T00:17:58.661151843Z) Build logCompiling 259 files with Solc 0.8.19
Solc 0.8.19 finished in 127.82s
Compiler run successful with warnings:
Warning (3628): This contract has a payable fallback function, but no receive ether function. Consider adding a receive ether function.
--> src/20240502_AaveV1Ethereum_AaveV1Deprecation/AaveV1Ethereum_AaveV1Deprecation_20240502.t.sol:94:1:
|
94 | contract AaveV1Ethereum_AaveV1Deprecation_20240502_Test is ProtocolV3TestBase {
| ^ (Relevant source part starts here and spans across multiple lines).
Note: The payable fallback function is defined here.
--> src/20240502_AaveV1Ethereum_AaveV1Deprecation/AaveV1Ethereum_AaveV1Deprecation_20240502.t.sol:297:3:
|
297 | fallback() external payable {}
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| Contract | Size (B) | Margin (B) |
|----------------------------------------------------------------------|----------|------------|
| AaveGovernanceV2 | 45 | 24,531 |
| AaveSafetyModule | 45 | 24,531 |
| AaveSwapper | 5,572 | 19,004 |
| AaveV1 | 45 | 24,531 |
| AaveV1Ethereum_AaveV1Deprecation_20240502 | 2,593 | 21,983 |
| AaveV2Avalanche | 45 | 24,531 |
| AaveV2AvalancheAssets | 45 | 24,531 |
| AaveV2Avalanche_LTLTVReductionsOnAaveV2Stablecoins_20240510 | 210 | 24,366 |
| AaveV2Avalanche_MigrateRobotsToChainlinkAutomationV2_20240422 | 518 | 24,058 |
| AaveV2Avalanche_ReserveFactorUpgrades_20240506 | 1,022 | 23,554 |
| AaveV2Avalanche_StablecoinIRUpdates_20240424 | 1,858 | 22,718 |
| AaveV2Avalanche_TemporaryFreezeOfLongTailV2Assets_20240418 | 186 | 24,390 |
| AaveV2Ethereum | 45 | 24,531 |
| AaveV2EthereumAMM | 45 | 24,531 |
| AaveV2EthereumAMMAssets | 45 | 24,531 |
| AaveV2EthereumAssets | 45 | 24,531 |
| AaveV2Ethereum_AAMPLSecondDistribution_20240429 | 2,370 | 22,206 |
| AaveV2Ethereum_AprilFinanceUpdate_20240421 | 7,897 | 16,679 |
| AaveV2Ethereum_ChaosLabsEthereumV2LTReductions_20240509 | 358 | 24,218 |
| AaveV2Ethereum_DeprecationOfSmallCapStablecoinsOnV2Ethereum_20240502 | 3,472 | 21,104 |
| AaveV2Ethereum_LTLTVReductionsOnAaveV2Stablecoins_20240510 | 210 | 24,366 |
| AaveV2Ethereum_ReserveFactorUpgrades_20240506 | 1,778 | 22,798 |
| AaveV2Ethereum_StablecoinIRUpdates_20240424 | 1,858 | 22,718 |
| AaveV2Ethereum_TemporaryFreezeOfLongTailV2Assets_20240418 | 793 | 23,783 |
| AaveV2Polygon | 45 | 24,531 |
| AaveV2PolygonAssets | 45 | 24,531 |
| AaveV2Polygon_AprilFinanceUpdate_20240421 | 6,129 | 18,447 |
| AaveV2Polygon_AprilFinanceUpdate_20240421_PartB | 451 | 24,125 |
| AaveV2Polygon_LTLTVReductionsOnAaveV2Stablecoins_20240510 | 210 | 24,366 |
| AaveV2Polygon_MigrateRobotsToChainlinkAutomationV2_20240422 | 518 | 24,058 |
| AaveV2Polygon_TemporaryFreezeOfLongTailV2Assets_20240418 | 186 | 24,390 |
| AaveV3Arbitrum | 45 | 24,531 |
| AaveV3ArbitrumAssets | 45 | 24,531 |
| AaveV3ArbitrumEModes | 45 | 24,531 |
| AaveV3Arbitrum_GeneralizedLTLTVReductionsOnAaveV3Step2_20240425 | 3,669 | 20,907 |
| AaveV3Arbitrum_MigrateRobotsToChainlinkAutomationV2_20240422 | 2,954 | 21,622 |
| AaveV3Arbitrum_StablecoinIRUpdates_20240424 | 5,381 | 19,195 |
| AaveV3Avalanche | 45 | 24,531 |
| AaveV3AvalancheAssets | 45 | 24,531 |
| AaveV3AvalancheEModes | 45 | 24,531 |
| AaveV3Avalanche_GeneralizedLTLTVReductionsOnAaveV3Step2_20240425 | 3,377 | 21,199 |
| AaveV3Avalanche_MigrateRobotsToChainlinkAutomationV2_20240422 | 3,577 | 20,999 |
| AaveV3Avalanche_StablecoinIRUpdates_20240424 | 4,628 | 19,948 |
| AaveV3BNB | 45 | 24,531 |
| AaveV3BNBAssets | 45 | 24,531 |
| AaveV3BNBEModes | 45 | 24,531 |
| AaveV3BNB_GeneralizedLTLTVReductionsOnAaveV3Step2_20240425 | 3,528 | 21,048 |
| AaveV3BNB_StablecoinIRUpdates_20240424 | 4,132 | 20,444 |
| AaveV3Base | 45 | 24,531 |
| AaveV3BaseAssets | 45 | 24,531 |
| AaveV3BaseEModes | 45 | 24,531 |
| AaveV3Base_GeneralizedLTLTVReductionsOnAaveV3Step2_20240425 | 3,517 | 21,059 |
| AaveV3Base_StablecoinIRUpdates_20240424 | 3,868 | 20,708 |
| AaveV3Ethereum | 45 | 24,531 |
| AaveV3EthereumAssets | 45 | 24,531 |
| AaveV3EthereumEModes | 45 | 24,531 |
| AaveV3Ethereum_ACIAdAstra_20240506 | 835 | 23,741 |
| AaveV3Ethereum_AaveV31CantinaCompetition_20240503 | 344 | 24,232 |
| AaveV3Ethereum_GeneralizedLTLTVReductionsOnAaveV3Step2_20240425 | 3,669 | 20,907 |
| AaveV3Ethereum_LlamariskRiskProvider_20240421 | 641 | 23,935 |
| AaveV3Ethereum_MigrateRobotsToChainlinkAutomationV2_20240422 | 5,800 | 18,776 |
| AaveV3Ethereum_StablecoinIRUpdates_20240424 | 5,130 | 19,446 |
| AaveV3Ethereum_StkGHOIncentives_20240424 | 1,476 | 23,100 |
| AaveV3Ethereum_UpdatingWeETHRiskParameters_20240426 | 4,111 | 20,465 |
| AaveV3Gnosis | 45 | 24,531 |
| AaveV3GnosisAssets | 45 | 24,531 |
| AaveV3GnosisEModes | 45 | 24,531 |
| AaveV3Gnosis_AprilFinanceUpdate_20240421 | 380 | 24,196 |
| AaveV3Gnosis_GeneralizedLTLTVReductionsOnAaveV3Step2_20240425 | 3,519 | 21,057 |
| AaveV3Gnosis_StablecoinIRUpdates_20240424 | 4,123 | 20,453 |
| AaveV3Optimism | 45 | 24,531 |
| AaveV3OptimismAssets | 45 | 24,531 |
| AaveV3OptimismEModes | 45 | 24,531 |
| AaveV3Optimism_GeneralizedLTLTVReductionsOnAaveV3Step2_20240425 | 3,669 | 20,907 |
| AaveV3Optimism_MigrateRobotsToChainlinkAutomationV2_20240422 | 2,844 | 21,732 |
| AaveV3Optimism_SUSDRiskParametersUpdate_20240517 | 3,372 | 21,204 |
| AaveV3Optimism_StablecoinIRUpdates_20240424 | 5,130 | 19,446 |
| AaveV3Polygon | 45 | 24,531 |
| AaveV3PolygonAssets | 45 | 24,531 |
| AaveV3PolygonEModes | 45 | 24,531 |
| AaveV3Polygon_GeneralizedLTLTVReductionsOnAaveV3Step2_20240425 | 3,668 | 20,908 |
| AaveV3Polygon_MigrateRobotsToChainlinkAutomationV2_20240422 | 2,773 | 21,803 |
| AaveV3Polygon_StablecoinIRUpdates_20240424 | 5,380 | 19,196 |
| AaveV3Scroll | 45 | 24,531 |
| AaveV3ScrollAssets | 45 | 24,531 |
| AaveV3ScrollEModes | 45 | 24,531 |
| AaveV3Scroll_GeneralizedLTLTVReductionsOnAaveV3Step2_20240425 | 3,374 | 21,202 |
| AaveV3Scroll_StablecoinIRUpdates_20240424 | 3,620 | 20,956 |
| Address | 45 | 24,531 |
| ChainHelpers | 45 | 24,531 |
| ChainIds | 45 | 24,531 |
| ConfiguratorInputTypes | 45 | 24,531 |
| Create2Utils | 123 | 24,453 |
| DataTypes | 45 | 24,531 |
| EngineFlags | 45 | 24,531 |
| Errors | 4,673 | 19,903 |
| GovV3Helpers | 2,581 | 21,995 |
| GovV3StorageHelpers | 45 | 24,531 |
| GovernanceV3Arbitrum | 45 | 24,531 |
| GovernanceV3Avalanche | 45 | 24,531 |
| GovernanceV3BNB | 45 | 24,531 |
| GovernanceV3Base | 45 | 24,531 |
| GovernanceV3Ethereum | 45 | 24,531 |
| GovernanceV3Gnosis | 45 | 24,531 |
| GovernanceV3Metis | 45 | 24,531 |
| GovernanceV3Optimism | 45 | 24,531 |
| GovernanceV3Polygon | 45 | 24,531 |
| GovernanceV3PolygonZkEvm | 45 | 24,531 |
| GovernanceV3Scroll | 45 | 24,531 |
| IpfsUtils | 45 | 24,531 |
| MiscEthereum | 45 | 24,531 |
| MiscPolygon | 45 | 24,531 |
| PayloadsControllerUtils | 45 | 24,531 |
| ProxyHelpers | 45 | 24,531 |
| ReserveConfiguration | 130 | 24,446 |
| SafeCast | 45 | 24,531 |
| SafeERC20 | 45 | 24,531 |
| StorageHelpers | 45 | 24,531 |
| WadRayMath | 45 | 24,531 | Test error ❌No files changed, compilation skipped
Ran 2 tests for src/20240422_Multi_MigrateRobotsToChainlinkAutomationV2/AaveV2Avalanche_MigrateRobotsToChainlinkAutomationV2_20240422.t.sol:AaveV2Avalanche_MigrateRobotsToChainlinkAutomationV2_20240422_Test
[PASS] test_defaultProposalExecution() (gas: 12980600)
Logs:
E2E: Collateral WETH.e, TestAsset WETH.e
SUPPLY: WETH.e, Amount: 314690845023714014666772108
SUPPLY: WETH.e, Amount: 3146908450237140146667721
WITHDRAW: WETH.e, Amount: 1573454225118570073333860
WITHDRAW: WETH.e, Amount: 1573454225118570073333861
BORROW: WETH.e, Amount 3146908450237140146667721, Stable: false
REPAY: WETH.e, Amount: 3146908450237140146667721
E2E: Collateral WETH.e, TestAsset DAI.e
SUPPLY: WETH.e, Amount: 314690845023714014666772108
SUPPLY: DAI.e, Amount: 9996941335828889792878970750
WITHDRAW: DAI.e, Amount: 4998470667914444896439485375
WITHDRAW: DAI.e, Amount: 4998470667914444896439485376
BORROW: DAI.e, Amount 9996941335828889792878970750, Stable: false
REPAY: DAI.e, Amount: 9996941335828889792878970750
E2E: Collateral WETH.e, TestAsset USDT.e
SUPPLY: WETH.e, Amount: 314690845023714014666772108
SUPPLY: USDT.e, Amount: 9999220660741701
WITHDRAW: USDT.e, Amount: 4999610330370850
WITHDRAW: USDT.e, Amount: 4999610330370850
BORROW: USDT.e, Amount 9999220660741701, Stable: false
REPAY: USDT.e, Amount: 9999220660741701
E2E: Collateral WETH.e, TestAsset USDC.e
SUPPLY: WETH.e, Amount: 314690845023714014666772108
SUPPLY: USDC.e, Amount: 10000237605645510
WITHDRAW: USDC.e, Amount: 5000118802822755
WITHDRAW: USDC.e, Amount: 5000118802822754
BORROW: USDC.e, Amount 10000237605645510, Stable: false
REPAY: USDC.e, Amount: 10000237605645510
E2E: Collateral WETH.e, TestAsset AAVE.e
SUPPLY: WETH.e, Amount: 314690845023714014666772108
SUPPLY: AAVE.e, Amount: 105771864895481531703529924
WITHDRAW: AAVE.e, Amount: 52885932447740765851764962
WITHDRAW: AAVE.e, Amount: 52885932447740765851764962
E2E: Collateral WETH.e, TestAsset WAVAX
SUPPLY: WETH.e, Amount: 314690845023714014666772108
SUPPLY: WAVAX, Amount: 258329740640451098162401175
WITHDRAW: WAVAX, Amount: 129164870320225549081200587
WITHDRAW: WAVAX, Amount: 129164870320225549081200589
BORROW: WAVAX, Amount 258329740640451098162401175, Stable: false
REPAY: WAVAX, Amount: 258329740640451098162401175
[PASS] test_keepersCancelled() (gas: 146439)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 7.06s (7.31s CPU time)
Ran 1 test suite in 7.09s (7.06s CPU time): 2 tests passed, 0 failed, 0 skipped (2 total tests)
No files changed, compilation skipped
Ran 2 tests for src/20240422_Multi_MigrateRobotsToChainlinkAutomationV2/AaveV2Polygon_MigrateRobotsToChainlinkAutomationV2_20240422.t.sol:AaveV2Polygon_MigrateRobotsToChainlinkAutomationV2_20240422_Test
[PASS] test_defaultProposalExecution() (gas: 25754728)
Logs:
E2E: Collateral DAI, TestAsset DAI
SUPPLY: DAI, Amount: 322911185370637186239154
SUPPLY: DAI, Amount: 3229111853706371862391
WITHDRAW: DAI, Amount: 1614555926853185931195
WITHDRAW: DAI, Amount: 1614555926853185931196
BORROW: DAI, Amount 3229111853706371862391, Stable: false
REPAY: DAI, Amount: 3229111853706371862391
E2E: Collateral DAI, TestAsset USDC
SUPPLY: DAI, Amount: 322911185370637186239154
SUPPLY: USDC, Amount: 3201089510
WITHDRAW: USDC, Amount: 1600544755
WITHDRAW: USDC, Amount: 1600544755
BORROW: USDC, Amount 3201089510, Stable: false
REPAY: USDC, Amount: 3201089510
E2E: Collateral DAI, TestAsset USDT
SUPPLY: DAI, Amount: 322911185370637186239154
SUPPLY: USDT, Amount: 3219600000
WITHDRAW: USDT, Amount: 1609800000
WITHDRAW: USDT, Amount: 1609800000
BORROW: USDT, Amount 3219600000, Stable: false
REPAY: USDT, Amount: 3219600000
E2E: Collateral DAI, TestAsset WBTC
SUPPLY: DAI, Amount: 322911185370637186239154
SUPPLY: WBTC, Amount: 4862249
WITHDRAW: WBTC, Amount: 2431124
WITHDRAW: WBTC, Amount: 2431125
BORROW: WBTC, Amount 4862249, Stable: false
REPAY: WBTC, Amount: 4862249
E2E: Collateral DAI, TestAsset WETH
SUPPLY: DAI, Amount: 322911185370637186239154
SUPPLY: WETH, Amount: 1000000000000000000
WITHDRAW: WETH, Amount: 500000000000000000
WITHDRAW: WETH, Amount: 499999999999999999
BORROW: WETH, Amount 1000000000000000000, Stable: false
REPAY: WETH, Amount: 1000000000000000000
E2E: Collateral DAI, TestAsset WMATIC
SUPPLY: DAI, Amount: 322911185370637186239154
SUPPLY: WMATIC, Amount: 4337524544650182450417
WITHDRAW: WMATIC, Amount: 2168762272325091225208
WITHDRAW: WMATIC, Amount: 2168762272325091225209
BORROW: WMATIC, Amount 4337524544650182450417, Stable: false
REPAY: WMATIC, Amount: 4337524544650182450417
E2E: Collateral DAI, TestAsset AAVE
SUPPLY: DAI, Amount: 322911185370637186239154
SUPPLY: AAVE, Amount: 34221434022666092938
WITHDRAW: AAVE, Amount: 17110717011333046469
WITHDRAW: AAVE, Amount: 17110717011333046468
[PASS] test_keepersCancelled() (gas: 146416)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 8.53s (8.68s CPU time)
Ran 1 test suite in 8.55s (8.53s CPU time): 2 tests passed, 0 failed, 0 skipped (2 total tests)
No files changed, compilation skipped
Ran 2 tests for src/20240422_Multi_MigrateRobotsToChainlinkAutomationV2/AaveV3Arbitrum_MigrateRobotsToChainlinkAutomationV2_20240422.t.sol:AaveV3Arbitrum_MigrateRobotsToChainlinkAutomationV2_20240422_Test
[PASS] test_defaultProposalExecution() (gas: 68211653)
Logs:
0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1
0xf97f4df75117a78c1A5a0DBb814Af92458539FB4
0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8
0x2f2a2543B76A4166549F7aaB2e75Bef0aefC5B0f
0x82aF49447D8a07e3bd95BD0d56f35241523fBab1
0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9
0xD22a58f79e9481D1a88e00c343885A588b34b68B
0x5979D7b546E38E414F7E9822514be443A4800529
0x3F56e0c36d275367b8C502090EDF38289b3dEa0d
0xEC70Dcb4A1EFa46b8F2D97C310C9c4790ba5ffA8
0x93b346b6BC2548dA6A1E7d98E9a421B42541425b
0xaf88d065e77c8cC2239327C5EDb3A432268e5831
0x17FC002b466eEc40DaE837Fc4bE5c67993ddBd6F
0x912CE59144191C1204E64559FE8253a0e49E6548
0x35751007a407ca6FEFfE80b3cB397736D2cf4dbe
E2E: Collateral DAI, TestAsset DAI
SUPPLY: DAI, Amount: 99962564019774594414391
SUPPLY: DAI, Amount: 999625640197745944143
WITHDRAW: DAI, Amount: 499812820098872972071
WITHDRAW: DAI, Amount: 499812820098872972072
BORROW: DAI, Amount 999625640197745944143, Stable: false
REPAY: DAI, Amount: 999625640197745944143
E2E: Collateral DAI, TestAsset LINK
SUPPLY: DAI, Amount: 99962564019774594414391
SUPPLY: LINK, Amount: 58563500579368711231
WITHDRAW: LINK, Amount: 29281750289684355615
WITHDRAW: LINK, Amount: 29281750289684355615
BORROW: LINK, Amount 58563500579368711231, Stable: false
REPAY: LINK, Amount: 58563500579368711231
E2E: Collateral DAI, TestAsset USDC
SUPPLY: DAI, Amount: 99962564019774594414391
SUPPLY: USDC, Amount: 1000050002
WITHDRAW: USDC, Amount: 500025001
WITHDRAW: USDC, Amount: 500025002
BORROW: USDC, Amount 1000050002, Stable: false
REPAY: USDC, Amount: 1000050002
E2E: Collateral DAI, TestAsset WBTC
SUPPLY: DAI, Amount: 99962564019774594414391
SUPPLY: WBTC, Amount: 1407540
WITHDRAW: WBTC, Amount: 703770
WITHDRAW: WBTC, Amount: 703771
BORROW: WBTC, Amount 1407540, Stable: false
REPAY: WBTC, Amount: 1407540
E2E: Collateral DAI, TestAsset WETH
SUPPLY: DAI, Amount: 99962564019774594414391
SUPPLY: WETH, Amount: 274649821477616039
WITHDRAW: WETH, Amount: 137324910738808019
WITHDRAW: WETH, Amount: 137324910738808019
BORROW: WETH, Amount 274649821477616039, Stable: false
REPAY: WETH, Amount: 274649821477616039
E2E: Collateral DAI, TestAsset USDT
SUPPLY: DAI, Amount: 99962564019774594414391
SUPPLY: USDT, Amount: 999980000
WITHDRAW: USDT, Amount: 499990000
WITHDRAW: USDT, Amount: 499990000
BORROW: USDT, Amount 999980000, Stable: false
REPAY: USDT, Amount: 999980000
E2E: Collateral DAI, TestAsset AAVE
SUPPLY: DAI, Amount: 99962564019774594414391
SUPPLY: AAVE, Amount: 10281201132165868674
WITHDRAW: AAVE, Amount: 5140600566082934337
WITHDRAW: AAVE, Amount: 5140600566082934338
E2E: TestAsset EURS SKIPPED
E2E: Collateral DAI, TestAsset wstETH
SUPPLY: DAI, Amount: 99962564019774594414391
SUPPLY: wstETH, Amount: 235318674677287483
WITHDRAW: wstETH, Amount: 117659337338643741
WITHDRAW: wstETH, Amount: 117659337338643741
Skip Borrowing: wstETH, borrow cap fully utilized
E2E: TestAsset MAI SKIPPED
E2E: Collateral DAI, TestAsset rETH
SUPPLY: DAI, Amount: 99962564019774594414391
SUPPLY: rETH, Amount: 248208851432799487
WITHDRAW: rETH, Amount: 124104425716399743
WITHDRAW: rETH, Amount: 124104425716399744
BORROW: rETH, Amount 248208851432799487, Stable: false
REPAY: rETH, Amount: 248208851432799487
E2E: Collateral DAI, TestAsset LUSD
SUPPLY: DAI, Amount: 99962564019774594414391
SUPPLY: LUSD, Amount: 997837396987882132932
WITHDRAW: LUSD, Amount: 498918698493941066466
WITHDRAW: LUSD, Amount: 498918698493941066466
BORROW: LUSD, Amount 997837396987882132932, Stable: false
REPAY: LUSD, Amount: 997837396987882132932
E2E: Collateral DAI, TestAsset USDC
SUPPLY: DAI, Amount: 99962564019774594414391
SUPPLY: USDC, Amount: 1000050002
WITHDRAW: USDC, Amount: 500025001
WITHDRAW: USDC, Amount: 500025002
BORROW: USDC, Amount 1000050002, Stable: false
REPAY: USDC, Amount: 1000050002
E2E: Collateral DAI, TestAsset FRAX
SUPPLY: DAI, Amount: 99962564019774594414391
SUPPLY: FRAX, Amount: 1001395725334056100712
WITHDRAW: FRAX, Amount: 500697862667028050356
WITHDRAW: FRAX, Amount: 500697862667028050357
BORROW: FRAX, Amount 1001395725334056100712, Stable: false
REPAY: FRAX, Amount: 1001395725334056100712
E2E: Collateral DAI, TestAsset ARB
SUPPLY: DAI, Amount: 99962564019774594414391
SUPPLY: ARB, Amount: 885347498893315626383
WITHDRAW: ARB, Amount: 442673749446657813191
WITHDRAW: ARB, Amount: 442673749446657813192
BORROW: ARB, Amount 885347498893315626383, Stable: false
REPAY: ARB, Amount: 885347498893315626383
E2E: Collateral DAI, TestAsset weETH
SUPPLY: DAI, Amount: 99962564019774594414391
SUPPLY: weETH, Amount: 264380228279152629
WITHDRAW: weETH, Amount: 132190114139576314
WITHDRAW: weETH, Amount: 132190114139576315
Skip Borrowing: weETH, borrow cap fully utilized
[PASS] test_oldKeeperCancelledAndNewRegistered() (gas: 1459940)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 17.29s (19.49s CPU time)
Ran 1 test suite in 17.31s (17.29s CPU time): 2 tests passed, 0 failed, 0 skipped (2 total tests)
No files changed, compilation skipped
Ran 2 tests for src/20240422_Multi_MigrateRobotsToChainlinkAutomationV2/AaveV3Avalanche_MigrateRobotsToChainlinkAutomationV2_20240422.t.sol:AaveV3Avalanche_MigrateRobotsToChainlinkAutomationV2_20240422_Test
[PASS] test_defaultProposalExecution() (gas: 42201136)
Logs:
0xd586E7F844cEa2F87f50152665BCbc2C279D8d70
0x5947BB275c521040051D82396192181b413227A3
0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E
0x50b7545627a5162F82A992c33b87aDc75187B218
0x49D5c2BdFfac6CE2BFdB6640F4F80f226bc10bAB
0x9702230A8Ea53601f5cD2dc00fDBc13d4dF4A8c7
0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7
0xD24C2Ad096400B6FBcd2ad8B24E7acBc21A1da64
0x5c49b268c9841AFF1Cc3B0a418ff5c3442eE3F3b
0x152b9d0FdC40C096757F570A51E494bd4b943E50
E2E: Collateral DAI.e, TestAsset DAI.e
SUPPLY: DAI.e, Amount: 100005494301856944020504
SUPPLY: DAI.e, Amount: 1000054943018569440205
WITHDRAW: DAI.e, Amount: 500027471509284720102
WITHDRAW: DAI.e, Amount: 500027471509284720102
BORROW: DAI.e, Amount 1000054943018569440205, Stable: false
REPAY: DAI.e, Amount: 1000054943018569440205
E2E: Collateral DAI.e, TestAsset LINK.e
SUPPLY: DAI.e, Amount: 100005494301856944020504
SUPPLY: LINK.e, Amount: 59312346885176515916
WITHDRAW: LINK.e, Amount: 29656173442588257958
WITHDRAW: LINK.e, Amount: 29656173442588257957
BORROW: LINK.e, Amount 59312346885176515916, Stable: false
REPAY: LINK.e, Amount: 59312346885176515916
E2E: Collateral DAI.e, TestAsset USDC
SUPPLY: DAI.e, Amount: 100005494301856944020504
SUPPLY: USDC, Amount: 1000058713
WITHDRAW: USDC, Amount: 500029356
WITHDRAW: USDC, Amount: 500029357
BORROW: USDC, Amount 1000058713, Stable: false
REPAY: USDC, Amount: 1000058713
E2E: TestAsset WBTC.e SKIPPED
E2E: Collateral DAI.e, TestAsset WETH.e
SUPPLY: DAI.e, Amount: 100005494301856944020504
SUPPLY: WETH.e, Amount: 264734458101800988
WITHDRAW: WETH.e, Amount: 132367229050900494
WITHDRAW: WETH.e, Amount: 132367229050900493
BORROW: WETH.e, Amount 264734458101800988, Stable: false
REPAY: WETH.e, Amount: 264734458101800988
E2E: Collateral DAI.e, TestAsset USDt
SUPPLY: DAI.e, Amount: 100005494301856944020504
SUPPLY: USDt, Amount: 1000190926
WITHDRAW: USDt, Amount: 500095463
WITHDRAW: USDt, Amount: 500095464
BORROW: USDt, Amount 1000190926, Stable: false
REPAY: USDt, Amount: 1000190926
E2E: Collateral DAI.e, TestAsset AAVE.e
SUPPLY: DAI.e, Amount: 100005494301856944020504
SUPPLY: AAVE.e, Amount: 10191809420135041118
WITHDRAW: AAVE.e, Amount: 5095904710067520559
WITHDRAW: AAVE.e, Amount: 5095904710067520559
E2E: Collateral DAI.e, TestAsset WAVAX
SUPPLY: DAI.e, Amount: 100005494301856944020504
SUPPLY: WAVAX, Amount: 24498995541182811504
WITHDRAW: WAVAX, Amount: 12249497770591405752
WITHDRAW: WAVAX, Amount: 12249497770591405752
BORROW: WAVAX, Amount 24498995541182811504, Stable: false
REPAY: WAVAX, Amount: 24498995541182811504
E2E: Collateral DAI.e, TestAsset sAVAX
SUPPLY: DAI.e, Amount: 100005494301856944020504
SUPPLY: sAVAX, Amount: 21347029391567546786
WITHDRAW: sAVAX, Amount: 10673514695783773393
WITHDRAW: sAVAX, Amount: 10673514695783773393
E2E: Collateral DAI.e, TestAsset FRAX
SUPPLY: DAI.e, Amount: 100005494301856944020504
SUPPLY: FRAX, Amount: 1000991742578877448620
WITHDRAW: FRAX, Amount: 500495871289438724310
WITHDRAW: FRAX, Amount: 500495871289438724309
BORROW: FRAX, Amount 1000991742578877448620, Stable: false
REPAY: FRAX, Amount: 1000991742578877448620
E2E: TestAsset MAI SKIPPED
E2E: Collateral DAI.e, TestAsset BTC.b
SUPPLY: DAI.e, Amount: 100005494301856944020504
SUPPLY: BTC.b, Amount: 1408205
WITHDRAW: BTC.b, Amount: 704102
WITHDRAW: BTC.b, Amount: 704104
BORROW: BTC.b, Amount 1408205, Stable: false
REPAY: BTC.b, Amount: 1408205
[PASS] test_robotsRegistered() (gas: 2749305)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 8.53s (9.05s CPU time)
Ran 1 test suite in 8.55s (8.53s CPU time): 2 tests passed, 0 failed, 0 skipped (2 total tests)
No files changed, compilation skipped
Ran 4 tests for src/20240422_Multi_MigrateRobotsToChainlinkAutomationV2/AaveV3Ethereum_MigrateRobotsToChainlinkAutomationV2_20240422.t.sol:AaveV3Ethereum_MigrateRobotsToChainlinkAutomationV2_20240422_Test
[PASS] test_crossChainControllerETHRefill() (gas: 3603042)
[FAIL. Reason: EvmError: Revert] test_defaultProposalExecution() (gas: 8937393460516734920)
[PASS] test_oldKeepersCancelledAndNewRegistered() (gas: 3641248)
[PASS] test_robotWhitelistedOnRootsConsumer() (gas: 3604377)
Suite result: FAILED. 3 passed; 1 failed; 0 skipped; finished in 2.30s (7.73s CPU time)
Ran 1 test suite in 2.32s (2.30s CPU time): 3 tests passed, 1 failed, 0 skipped (4 total tests)
Failing tests:
Encountered 1 failing test in src/20240422_Multi_MigrateRobotsToChainlinkAutomationV2/AaveV3Ethereum_MigrateRobotsToChainlinkAutomationV2_20240422.t.sol:AaveV3Ethereum_MigrateRobotsToChainlinkAutomationV2_20240422_Test
[FAIL. Reason: EvmError: Revert] test_defaultProposalExecution() (gas: 8937393460516734920)
Encountered a total of 1 failing tests, 3 tests succeeded
No files changed, compilation skipped
Ran 2 tests for src/20240422_Multi_MigrateRobotsToChainlinkAutomationV2/AaveV3Optimism_MigrateRobotsToChainlinkAutomationV2_20240422.t.sol:AaveV3Optimism_MigrateRobotsToChainlinkAutomationV2_20240422_Test
[PASS] test_defaultProposalExecution() (gas: 53516320)
Logs:
0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1
0x350a791Bfc2C21F9Ed5d10980Dad2e2638ffa7f6
0x7F5c764cBc14f9669B88837ca1490cCa17c31607
0x68f180fcCe6836688e9084f035309E29Bf0A2095
0x4200000000000000000000000000000000000006
0x94b008aA00579c1307B0EF2c499aD98a8ce58e58
0x8c6f28f2F1A3C87F0f938b96d27520d9751ec8d9
0x4200000000000000000000000000000000000042
0x1F32b1c2345538c0c6f582fCB022739c4A194Ebb
0xc40F949F8a4e094D1b49a23ea9241D289B7b2819
0xdFA46478F9e5EA86d57387849598dbFB2e964b02
0x9Bcef72be871e61ED4fBbc7630889beE758eb81D
0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85
E2E: Collateral DAI, TestAsset DAI
SUPPLY: DAI, Amount: 99981943261047054901884
SUPPLY: DAI, Amount: 999819432610470549018
WITHDRAW: DAI, Amount: 499909716305235274509
WITHDRAW: DAI, Amount: 499909716305235274510
BORROW: DAI, Amount 999819432610470549018, Stable: false
REPAY: DAI, Amount: 999819432610470549018
E2E: Collateral DAI, TestAsset LINK
SUPPLY: DAI, Amount: 99981943261047054901884
SUPPLY: LINK, Amount: 60776677314740532209
WITHDRAW: LINK, Amount: 30388338657370266104
WITHDRAW: LINK, Amount: 30388338657370266104
BORROW: LINK, Amount 60776677314740532209, Stable: false
REPAY: LINK, Amount: 60776677314740532209
E2E: Collateral DAI, TestAsset USDC
SUPPLY: DAI, Amount: 99981943261047054901884
SUPPLY: USDC, Amount: 1000000000
WITHDRAW: USDC, Amount: 500000000
WITHDRAW: USDC, Amount: 500000000
BORROW: USDC, Amount 1000000000, Stable: false
REPAY: USDC, Amount: 1000000000
E2E: Collateral DAI, TestAsset WBTC
SUPPLY: DAI, Amount: 99981943261047054901884
SUPPLY: WBTC, Amount: 1484980
WITHDRAW: WBTC, Amount: 742490
WITHDRAW: WBTC, Amount: 742490
BORROW: WBTC, Amount 1484980, Stable: false
REPAY: WBTC, Amount: 1484980
E2E: Collateral DAI, TestAsset WETH
SUPPLY: DAI, Amount: 99981943261047054901884
SUPPLY: WETH, Amount: 321125528020283213
WITHDRAW: WETH, Amount: 160562764010141606
WITHDRAW: WETH, Amount: 160562764010141608
BORROW: WETH, Amount 321125528020283213, Stable: false
REPAY: WETH, Amount: 321125528020283213
E2E: Collateral DAI, TestAsset USDT
SUPPLY: DAI, Amount: 99981943261047054901884
SUPPLY: USDT, Amount: 999905009
WITHDRAW: USDT, Amount: 499952504
WITHDRAW: USDT, Amount: 499952505
BORROW: USDT, Amount 999905009, Stable: false
REPAY: USDT, Amount: 999905009
E2E: Collateral DAI, TestAsset AAVE
SUPPLY: DAI, Amount: 99981943261047054901884
SUPPLY: AAVE, Amount: 11496776878602083905
WITHDRAW: AAVE, Amount: 5748388439301041952
WITHDRAW: AAVE, Amount: 5748388439301041953
E2E: TestAsset sUSD SKIPPED
E2E: Collateral DAI, TestAsset OP
SUPPLY: DAI, Amount: 99981943261047054901884
SUPPLY: OP, Amount: 392484924732538008161
WITHDRAW: OP, Amount: 196242462366269004080
WITHDRAW: OP, Amount: 196242462366269004081
BORROW: OP, Amount 392484924732538008161, Stable: false
REPAY: OP, Amount: 392484924732538008161
E2E: Collateral DAI, TestAsset wstETH
SUPPLY: DAI, Amount: 99981943261047054901884
SUPPLY: wstETH, Amount: 275160539033331379
WITHDRAW: wstETH, Amount: 137580269516665689
WITHDRAW: wstETH, Amount: 137580269516665689
BORROW: wstETH, Amount 275160539033331379, Stable: false
REPAY: wstETH, Amount: 275160539033331379
E2E: Collateral DAI, TestAsset LUSD
SUPPLY: DAI, Amount: 99981943261047054901884
SUPPLY: LUSD, Amount: 997911122542737414906
WITHDRAW: LUSD, Amount: 498955561271368707453
WITHDRAW: LUSD, Amount: 498955561271368707453
BORROW: LUSD, Amount 997911122542737414906, Stable: false
REPAY: LUSD, Amount: 997911122542737414906
E2E: TestAsset MAI SKIPPED
E2E: Collateral DAI, TestAsset rETH
SUPPLY: DAI, Amount: 99981943261047054901884
SUPPLY: rETH, Amount: 290244028782030666
WITHDRAW: rETH, Amount: 145122014391015333
WITHDRAW: rETH, Amount: 145122014391015333
BORROW: rETH, Amount 290244028782030666, Stable: false
REPAY: rETH, Amount: 290244028782030666
E2E: Collateral DAI, TestAsset USDC
SUPPLY: DAI, Amount: 99981943261047054901884
SUPPLY: USDC, Amount: 1000000000
WITHDRAW: USDC, Amount: 500000000
WITHDRAW: USDC, Amount: 500000000
BORROW: USDC, Amount 1000000000, Stable: false
REPAY: USDC, Amount: 1000000000
[PASS] test_oldKeeperCancelledAndNewRegistered() (gas: 1429937)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 9.99s (11.33s CPU time)
Ran 1 test suite in 10.01s (9.99s CPU time): 2 tests passed, 0 failed, 0 skipped (2 total tests)
No files changed, compilation skipped
Ran 2 tests for src/20240422_Multi_MigrateRobotsToChainlinkAutomationV2/AaveV3Polygon_MigrateRobotsToChainlinkAutomationV2_20240422.t.sol:AaveV3Polygon_MigrateRobotsToChainlinkAutomationV2_20240422_Test
[PASS] test_defaultProposalExecution() (gas: 110526292)
Logs:
0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063
0x53E0bca35eC356BD5ddDFebbD1Fc0fD03FaBad39
0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174
0x1BFD67037B42Cf73acF2047067bd4F2C47D9BfD6
0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619
0xc2132D05D31c914a87C6611C10748AEb04B58e8F
0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270
0x172370d5Cd63279eFa6d502DAB29171933a610AF
0x0b3F868E0BE5597D5DB7fEB59E1CADBb0fdDa50a
0x385Eeac5cB85A38A9a07A70c73e0a3271CfB54A7
0x9a71012B13CA4d3D0Cdc72A177DF3ef03b0E76A3
0x85955046DF4668e1DD369D2DE9f3AEB98DD2A369
0xE111178A87A3BFf0c8d18DECBa5798827539Ae99
0x4e3Decbb3645551B8A19f0eA1678079FCB33fB4c
0xE0B52e49357Fd4DAf2c15e02058DCE6BC0057db4
0xa3Fa99A148fA48D14Ed51d610c367C61876997F1
0xfa68FB4628DFF1028CFEc22b4162FCcd0d45efb6
0x03b54A6e9a984069379fae1a4fC4dBAE93B3bCCD
0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359
E2E: Collateral DAI, TestAsset DAI
SUPPLY: DAI, Amount: 99894097272776266241344
SUPPLY: DAI, Amount: 998940972727762662413
WITHDRAW: DAI, Amount: 499470486363881331206
WITHDRAW: DAI, Amount: 499470486363881331207
BORROW: DAI, Amount 998940972727762662413, Stable: false
REPAY: DAI, Amount: 998940972727762662413
E2E: Collateral DAI, TestAsset LINK
SUPPLY: DAI, Amount: 99894097272776266241344
SUPPLY: LINK, Amount: 60811530827553583481
WITHDRAW: LINK, Amount: 30405765413776791740
WITHDRAW: LINK, Amount: 30405765413776791741
BORROW: LINK, Amount 60811530827553583481, Stable: false
REPAY: LINK, Amount: 60811530827553583481
E2E: Collateral DAI, TestAsset USDC
SUPPLY: DAI, Amount: 99894097272776266241344
SUPPLY: USDC, Amount: 999965881
WITHDRAW: USDC, Amount: 499982940
WITHDRAW: USDC, Amount: 499982940
BORROW: USDC, Amount 999965881, Stable: false
REPAY: USDC, Amount: 999965881
E2E: Collateral DAI, TestAsset WBTC
SUPPLY: DAI, Amount: 99894097272776266241344
SUPPLY: WBTC, Amount: 1484855
WITHDRAW: WBTC, Amount: 742427
WITHDRAW: WBTC, Amount: 742428
BORROW: WBTC, Amount 1484855, Stable: false
REPAY: WBTC, Amount: 1484855
E2E: Collateral DAI, TestAsset WETH
SUPPLY: DAI, Amount: 99894097272776266241344
SUPPLY: WETH, Amount: 321180917999299825
WITHDRAW: WETH, Amount: 160590458999649912
WITHDRAW: WETH, Amount: 160590458999649912
BORROW: WETH, Amount 321180917999299825, Stable: false
REPAY: WETH, Amount: 321180917999299825
E2E: Collateral DAI, TestAsset USDT
SUPPLY: DAI, Amount: 99894097272776266241344
SUPPLY: USDT, Amount: 1000010000
WITHDRAW: USDT, Amount: 500005000
WITHDRAW: USDT, Amount: 500004999
BORROW: USDT, Amount 1000010000, Stable: false
REPAY: USDT, Amount: 1000010000
E2E: Collateral DAI, TestAsset AAVE
SUPPLY: DAI, Amount: 99894097272776266241344
SUPPLY: AAVE, Amount: 11515709154643306666
WITHDRAW: AAVE, Amount: 5757854577321653333
WITHDRAW: AAVE, Amount: 5757854577321653334
E2E: Collateral DAI, TestAsset WMATIC
SUPPLY: DAI, Amount: 99894097272776266241344
SUPPLY: WMATIC, Amount: 1450957632037144515380
WITHDRAW: WMATIC, Amount: 725478816018572257690
WITHDRAW: WMATIC, Amount: 725478816018572257690
BORROW: WMATIC, Amount 1450957632037144515380, Stable: false
REPAY: WMATIC, Amount: 1450957632037144515380
E2E: TestAsset CRV SKIPPED
E2E: TestAsset SUSHI SKIPPED
E2E: Collateral DAI, TestAsset GHST
SUPPLY: DAI, Amount: 99894097272776266241344
SUPPLY: GHST, Amount: 588868819977784570445
WITHDRAW: GHST, Amount: 294434409988892285222
WITHDRAW: GHST, Amount: 294434409988892285222
E2E: TestAsset BAL SKIPPED
E2E: TestAsset DPI SKIPPED
E2E: Collateral DAI, TestAsset EURS
SUPPLY: DAI, Amount: 99894097272776266241344
SUPPLY: EURS, Amount: 92072
WITHDRAW: EURS, Amount: 46036
WITHDRAW: EURS, Amount: 46037
BORROW: EURS, Amount 92072, Stable: false
REPAY: EURS, Amount: 92072
E2E: TestAsset jEUR SKIPPED
E2E: TestAsset EURA SKIPPED
E2E: TestAsset miMATIC SKIPPED
E2E: Collateral DAI, TestAsset stMATIC
SUPPLY: DAI, Amount: 99894097272776266241344
SUPPLY: stMATIC, Amount: 1297146912394718692289
WITHDRAW: stMATIC, Amount: 648573456197359346144
WITHDRAW: stMATIC, Amount: 648573456197359346144
E2E: Collateral DAI, TestAsset MaticX
SUPPLY: DAI, Amount: 99894097272776266241344
SUPPLY: MaticX, Amount: 1304919715662691668075
WITHDRAW: MaticX, Amount: 652459857831345834037
WITHDRAW: MaticX, Amount: 652459857831345834038
BORROW: MaticX, Amount 1304919715662691668075, Stable: false
REPAY: MaticX, Amount: 1304919715662691668075
E2E: Collateral DAI, TestAsset wstETH
SUPPLY: DAI, Amount: 99894097272776266241344
SUPPLY: wstETH, Amount: 275208000649144537
WITHDRAW: wstETH, Amount: 137604000324572268
WITHDRAW: wstETH, Amount: 137604000324572270
BORROW: wstETH, Amount 275208000649144537, Stable: false
REPAY: wstETH, Amount: 275208000649144537
E2E: Collateral DAI, TestAsset USDC
SUPPLY: DAI, Amount: 99894097272776266241344
SUPPLY: USDC, Amount: 999965881
WITHDRAW: USDC, Amount: 499982940
WITHDRAW: USDC, Amount: 499982941
BORROW: USDC, Amount 999965881, Stable: false
REPAY: USDC, Amount: 999965881
[PASS] test_robotsRegistered() (gas: 1651883)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 12.01s (12.15s CPU time)
Ran 1 test suite in 12.03s (12.01s CPU time): 2 tests passed, 0 failed, 0 skipped (2 total tests) |
eboadom
reviewed
May 15, 2024
src/20240422_Multi_MigrateRobotsToChainlinkAutomationV2/MigrateRobotsToChainlinkAutomationV2.md
Outdated
Show resolved
Hide resolved
eboadom
reviewed
May 15, 2024
src/20240422_Multi_MigrateRobotsToChainlinkAutomationV2/MigrateRobotsToChainlinkAutomationV2.md
Outdated
Show resolved
Hide resolved
…eRobotsToChainlinkAutomationV2.md Co-authored-by: Ernesto Boado <ebdmrr@gmail.com>
…eRobotsToChainlinkAutomationV2.md Co-authored-by: Ernesto Boado <ebdmrr@gmail.com>
sendra
previously approved these changes
May 23, 2024
kyzia551
reviewed
May 24, 2024
...tionV2_20240422_before_AaveV3Arbitrum_MigrateRobotsToChainlinkAutomationV2_20240422_after.md
Outdated
Show resolved
Hide resolved
...otsToChainlinkAutomationV2/AaveV2Avalanche_MigrateRobotsToChainlinkAutomationV2_20240422.sol
Outdated
Show resolved
Hide resolved
src/20240422_Multi_MigrateRobotsToChainlinkAutomationV2/interfaces/IRootsConsumer.sol
Outdated
Show resolved
Hide resolved
kyzia551
reviewed
May 24, 2024
...lti_MigrateRobotsToChainlinkAutomationV2/MigrateRobotsToChainlinkAutomationV2_20240422.s.sol
Show resolved
Hide resolved
...lti_MigrateRobotsToChainlinkAutomationV2/MigrateRobotsToChainlinkAutomationV2_20240422.s.sol
Show resolved
Hide resolved
rustboyar
approved these changes
May 24, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.