Skip to content

Conversation

@CanonicalJP
Copy link

@CanonicalJP CanonicalJP commented May 30, 2025


This AIP aims to expand GHO token to Avalanche using CCIP, through lanes between existing ETH, BASE & ARB chains. It also aims to list GHO as a borrowable asset on Aave V3 Avalanche.
The AIP includes two proposals for Avalanche (launch, listing), to be executed separately (hence two payloads are generated for Avalanche) since GHO will be bridged to Executor on Avalanche after launch to initiate listing.

Launch Steps:

ARBITRUM:

  • Configure new AVALANCHE lane (while retaining existing lanes) with rate limit (1.5M capacity, 300k rate).

ETHEREUM:

  • Configure new AVALANCHE lane (while retaining existing lanes) with rate limit (1.5M capacity, 300k rate).

BASE:

  • Configure new AVALANCHE lane (while retaining existing lanes) with rate limit (1.5M capacity, 300k rate).

AVALANCHE:

  • Configure new ETHEREUM, BASE & ARB lanes with rate limit (1.5M capacity, 300k rate)).
  • Configure all stewards.

Listing Steps:

AVALANCHE:

  • List GHO on V3, with system configurations as specified in the ARFC Snapshot, and supply + burn an initial seed amount (1 GHO).
  • Set ACI multisig as Emissions Manager for rewards (as provided in the ARFC Snapshot.

Notes

  • After launch payload is executed (and Avalanche lane is active), seed amount will be bridged to the executor such that listing payload can be run. it is expected aave robot will only initiate execution of the listing payload when it simulates successful execution.
  • Avalanche token is now predeployed and initialized with executor as owner.

@github-actions
Copy link

github-actions bot commented May 30, 2025

🌈Test Results Compiling 540 files with Solc 0.8.22 Solc 0.8.22 finished in 334.61s Compiler run successful with warnings: Warning (4591): There are more than 256 warnings. Ignoring the rest.

Ran 7 tests for src/20250519_Multi_GHOAvalancheLaunch/AaveV3Arbitrum_GHOAvalancheLaunch_20250519.t.sol:AaveV3Arbitrum_GHOAvalancheLaunch_20250519_PostExecution
[PASS] test_basePoolConfig() (gas: 155003)
[PASS] test_cannotOffRampOtherChainMessages() (gas: 79261)
[PASS] test_cannotUseAvaxOffRampForEthMessages() (gas: 39846)
[PASS] test_offRampViaAvaxSucceeds(uint256) (runs: 256, μ: 119761, ~: 119455)
[PASS] test_offRampViaEthSucceeds(uint256) (runs: 256, μ: 123159, ~: 122870)
[PASS] test_sendMessageToAvaxSucceeds(uint256) (runs: 256, μ: 491280, ~: 491086)
[PASS] test_sendMessageToEthSucceeds(uint256) (runs: 256, μ: 494100, ~: 493890)
Suite result: ok. 7 passed; 0 failed; 0 skipped; finished in 9.53s (10.56s CPU time)

Ran 1 test suite in 9.53s (9.53s CPU time): 7 tests passed, 0 failed, 0 skipped (7 total tests)
No files changed, compilation skipped

Ran 7 tests for src/20250519_Multi_GHOAvalancheLaunch/AaveV3Avalanche_GHOAvalancheLaunch_20250519.t.sol:AaveV3Avalance_GHOAvalanceLaunch_20250519_PostExecution
[PASS] test_cannotOffRampOtherChainMessages() (gas: 79412)
[PASS] test_offRampViaArbSucceeds(uint256) (runs: 256, μ: 135570, ~: 135242)
[PASS] test_offRampViaBaseSucceeds(uint256) (runs: 256, μ: 135502, ~: 135220)
[PASS] test_offRampViaEthSucceeds(uint256) (runs: 256, μ: 135545, ~: 135241)
[PASS] test_sendMessageToArbSucceeds(uint256) (runs: 256, μ: 337952, ~: 337682)
[PASS] test_sendMessageToBaseSucceeds(uint256) (runs: 256, μ: 337964, ~: 337677)
[PASS] test_sendMessageToEthSucceeds(uint256) (runs: 256, μ: 505542, ~: 505352)
Suite result: ok. 7 passed; 0 failed; 0 skipped; finished in 15.17s (8.76s CPU time)
2025-06-19T15:08:27.750984Z ERROR cheatcodes: non-empty stderr input=["npx", "@bgd-labs/aave-cli@^1.1.17", "diff-snapshots", "./reports/AaveV3Avalanche_GHOAvalancheLaunch_20250519_before.json", "./reports/AaveV3Avalanche_GHOAvalancheLaunch_20250519_after.json", "-o", "./diffs/AaveV3Avalanche_GHOAvalancheLaunch_20250519_before_AaveV3Avalanche_GHOAvalancheLaunch_20250519_after.md"] stderr="npm warn exec The following package was not found and will be installed: @bgd-labs/[email protected]\n"

Ran 5 tests for src/20250519_Multi_GHOAvalancheLaunch/AaveV3Avalanche_GHOAvalancheLaunch_20250519.t.sol:AaveV3Avalanche_GHOAvalancheLaunch_20250519_PreExecution
[PASS] test_defaultProposalExecution() (gas: 42536587)
Logs:
0xd586E7F844cEa2F87f50152665BCbc2C279D8d70
0x5947BB275c521040051D82396192181b413227A3
0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E
0x50b7545627a5162F82A992c33b87aDc75187B218
0x49D5c2BdFfac6CE2BFdB6640F4F80f226bc10bAB
0x9702230A8Ea53601f5cD2dc00fDBc13d4dF4A8c7
0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7
0xD24C2Ad096400B6FBcd2ad8B24E7acBc21A1da64
0x5c49b268c9841AFF1Cc3B0a418ff5c3442eE3F3b
0x152b9d0FdC40C096757F570A51E494bd4b943E50
0x00000000eFE302BEAA2b3e6e1b18d08D69a9012a
E2E: Collateral DAI.e, TestAsset DAI.e
SUPPLY: DAI.e, Amount: 100000290000841002438907
SUPPLY: DAI.e, Amount: 10000029000084100243890
WITHDRAW: DAI.e, Amount: 5000014500042050121945
WITHDRAW: DAI.e, Amount: 5000014500042050121944
BORROW: DAI.e, Amount 10000029000084100243890
REPAY: DAI.e, Amount: 10000029000084100243890
REPAY: DAI.e, Amount: 10000029000084100243890
BORROW: DAI.e, Amount 10000029000084100243890
LIQUIDATE: DAI.e, Amount: 115792089237316195423570985008687907853269984665640564039457584007913129639935, Debt Amount: 10000029000084100243890
LIQUIDATE: DAI.e, Amount: 115792089237316195423570985008687907853269984665640564039457584007913129639935, Debt Amount: 10000029000084100243890
FLASH LOAN: DAI.e, Amount: 10000029000084100243890
FLASH LOAN: DAI.e, Amount: 10000029000084100243890
E2E: Collateral DAI.e, TestAsset LINK.e
SUPPLY: DAI.e, Amount: 100000290000841002438907
SUPPLY: LINK.e, Amount: 721465708551259535807
WITHDRAW: LINK.e, Amount: 360732854275629767903
WITHDRAW: LINK.e, Amount: 360732854275629767905
BORROW: LINK.e, Amount 721465708551259535807
REPAY: LINK.e, Amount: 721465708551259535807
REPAY: LINK.e, Amount: 721465708551259535807
BORROW: LINK.e, Amount 721465708551259535807
LIQUIDATE: LINK.e, Amount: 115792089237316195423570985008687907853269984665640564039457584007913129639935, Debt Amount: 721465708551259535807
LIQUIDATE: LINK.e, Amount: 115792089237316195423570985008687907853269984665640564039457584007913129639935, Debt Amount: 721465708551259535807
FLASH LOAN: LINK.e, Amount: 721465708551259535807
FLASH LOAN: LINK.e, Amount: 721465708551259535807
E2E: Collateral DAI.e, TestAsset USDC
SUPPLY: DAI.e, Amount: 100000290000841002438907
SUPPLY: USDC, Amount: 10002015706
WITHDRAW: USDC, Amount: 5001007853
WITHDRAW: USDC, Amount: 5001007853
BORROW: USDC, Amount 10002015706
REPAY: USDC, Amount: 10002015706
REPAY: USDC, Amount: 10002015706
BORROW: USDC, Amount 10002015706
LIQUIDATE: USDC, Amount: 115792089237316195423570985008687907853269984665640564039457584007913129639935, Debt Amount: 10002015706
LIQUIDATE: USDC, Amount: 115792089237316195423570985008687907853269984665640564039457584007913129639935, Debt Amount: 10002015706
FLASH LOAN: USDC, Amount: 10002015706
FLASH LOAN: USDC, Amount: 10002015706
E2E: TestAsset WBTC.e SKIPPED
E2E: Collateral DAI.e, TestAsset WETH.e
SUPPLY: DAI.e, Amount: 100000290000841002438907
SUPPLY: WETH.e, Amount: 3944248831614889854
WITHDRAW: WETH.e, Amount: 1972124415807444927
WITHDRAW: WETH.e, Amount: 1972124415807444927
BORROW: WETH.e, Amount 3944248831614889854
REPAY: WETH.e, Amount: 3944248831614889854
REPAY: WETH.e, Amount: 3944248831614889854
BORROW: WETH.e, Amount 3944248831614889854
LIQUIDATE: WETH.e, Amount: 115792089237316195423570985008687907853269984665640564039457584007913129639935, Debt Amount: 3944248831614889854
LIQUIDATE: WETH.e, Amount: 115792089237316195423570985008687907853269984665640564039457584007913129639935, Debt Amount: 3944248831614889854
FLASH LOAN: WETH.e, Amount: 3944248831614889854
FLASH LOAN: WETH.e, Amount: 3944248831614889854
E2E: Collateral DAI.e, TestAsset USDt
SUPPLY: DAI.e, Amount: 100000290000841002438907
SUPPLY: USDt, Amount: 9995461760
WITHDRAW: USDt, Amount: 4997730880
WITHDRAW: USDt, Amount: 4997730879
BORROW: USDt, Amount 9995461760
REPAY: USDt, Amount: 9995461760
REPAY: USDt, Amount: 9995461760
BORROW: USDt, Amount 9995461760
LIQUIDATE: USDt, Amount: 115792089237316195423570985008687907853269984665640564039457584007913129639935, Debt Amount: 9995461760
LIQUIDATE: USDt, Amount: 115792089237316195423570985008687907853269984665640564039457584007913129639935, Debt Amount: 9995461760
FLASH LOAN: USDt, Amount: 9995461760
FLASH LOAN: USDt, Amount: 9995461760
E2E: Collateral DAI.e, TestAsset AAVE.e
SUPPLY: DAI.e, Amount: 100000290000841002438907
SUPPLY: AAVE.e, Amount: 38336882778416557226
WITHDRAW: AAVE.e, Amount: 19168441389208278613
WITHDRAW: AAVE.e, Amount: 19168441389208278614
FLASH LOAN: AAVE.e, Amount: 38336882778416557226
E2E: Collateral DAI.e, TestAsset WAVAX
SUPPLY: DAI.e, Amount: 100000290000841002438907
SUPPLY: WAVAX, Amount: 480354878498556677696
WITHDRAW: WAVAX, Amount: 240177439249278338848
WITHDRAW: WAVAX, Amount: 240177439249278338848
BORROW: WAVAX, Amount 480354878498556677696
REPAY: WAVAX, Amount: 480354878498556677696
REPAY: WAVAX, Amount: 480354878498556677696
BORROW: WAVAX, Amount 480354878498556677696
LIQUIDATE: WAVAX, Amount: 115792089237316195423570985008687907853269984665640564039457584007913129639935, Debt Amount: 480354878498556677696
LIQUIDATE: WAVAX, Amount: 115792089237316195423570985008687907853269984665640564039457584007913129639935, Debt Amount: 480354878498556677696
FLASH LOAN: WAVAX, Amount: 480354878498556677696
FLASH LOAN: WAVAX, Amount: 480354878498556677696
E2E: Collateral DAI.e, TestAsset sAVAX
SUPPLY: DAI.e, Amount: 100000290000841002438907
SUPPLY: sAVAX, Amount: 396844585363445218427
WITHDRAW: sAVAX, Amount: 198422292681722609213
WITHDRAW: sAVAX, Amount: 198422292681722609214
FLASH LOAN: sAVAX, Amount: 396844585363445218427
E2E: Collateral DAI.e, TestAsset FRAX
SUPPLY: DAI.e, Amount: 100000290000841002438907
SUPPLY: FRAX, Amount: 10005000699449598898521
WITHDRAW: FRAX, Amount: 5002500349724799449260
WITHDRAW: FRAX, Amount: 5002500349724799449261
FLASH LOAN: FRAX, Amount: 10005000699449598898521
E2E: TestAsset MAI SKIPPED
E2E: Collateral DAI.e, TestAsset BTC.b
SUPPLY: DAI.e, Amount: 100000290000841002438907
SUPPLY: BTC.b, Amount: 9334058
WITHDRAW: BTC.b, Amount: 4667029
WITHDRAW: BTC.b, Amount: 4667029
BORROW: BTC.b, Amount 9334058
REPAY: BTC.b, Amount: 9334058
REPAY: BTC.b, Amount: 9334058
BORROW: BTC.b, Amount 9334058
LIQUIDATE: BTC.b, Amount: 115792089237316195423570985008687907853269984665640564039457584007913129639935, Debt Amount: 9334057
LIQUIDATE: BTC.b, Amount: 115792089237316195423570985008687907853269984665640564039457584007913129639935, Debt Amount: 9334057
FLASH LOAN: BTC.b, Amount: 9334058
FLASH LOAN: BTC.b, Amount: 9334058
E2E: Collateral DAI.e, TestAsset AUSD
SUPPLY: DAI.e, Amount: 100000290000841002438907
SUPPLY: AUSD, Amount: 10001806226
WITHDRAW: AUSD, Amount: 5000903113
WITHDRAW: AUSD, Amount: 5000903113
BORROW: AUSD, Amount 10001806226
REPAY: AUSD, Amount: 10001806226
REPAY: AUSD, Amount: 10001806226
BORROW: AUSD, Amount 10001806226
LIQUIDATE: AUSD, Amount: 115792089237316195423570985008687907853269984665640564039457584007913129639935, Debt Amount: 10001806226
LIQUIDATE: AUSD, Amount: 115792089237316195423570985008687907853269984665640564039457584007913129639935, Debt Amount: 10001806226
FLASH LOAN: AUSD, Amount: 10001806226
FLASH LOAN: AUSD, Amount: 10001806226

[PASS] test_newTokenPoolInitialization() (gas: 30917)
[PASS] test_stewardRoles() (gas: 1491733)
[PASS] test_stewardsConfig() (gas: 40456)
[PASS] test_tokenPoolConfig() (gas: 1586188)
Suite result: ok. 5 passed; 0 failed; 0 skipped; finished in 94.44s (105.70s CPU time)

Ran 2 test suites in 94.44s (109.61s CPU time): 12 tests passed, 0 failed, 0 skipped (12 total tests)
No files changed, compilation skipped

Ran 3 tests for src/20250519_Multi_GHOAvalancheLaunch/AaveV3Avalanche_GHOAvalancheListing_20250519.t.sol:AaveV3Avalanche_GHOAvalancheListing_20250519_ListingPreRequisites
[PASS] test_listingFailsPreLaunch() (gas: 65275)
[PASS] test_listingFailsWithoutSeedAmount() (gas: 2464014)
[PASS] test_listingSucceedsOnlyAfterLaunchAndSeedAmount() (gas: 4471336)
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 4.15s (3.97s CPU time)

Ran 5 tests for src/20250519_Multi_GHOAvalancheLaunch/AaveV3Avalanche_GHOAvalancheListing_20250519.t.sol:AaveV3Avalanche_GHOAvalancheListing_20250519_Stewards
[PASS] test_aaveStewardCanUpdateBorrowCap(uint256) (runs: 256, μ: 87885, ~: 87886)
[PASS] test_aaveStewardCanUpdateBorrowRate() (gas: 171082)
[PASS] test_aaveStewardCanUpdateSupplyCap(uint256) (runs: 256, μ: 87802, ~: 87802)
[PASS] test_bucketStewardCanUpdateBucketCapacity(uint256) (runs: 256, μ: 63587, ~: 63602)
[PASS] test_ccipStewardCanChangeAndDisableRateLimit() (gas: 206711)
Suite result: ok. 5 passed; 0 failed; 0 skipped; finished in 4.48s (950.34ms CPU time)
2025-06-19T15:09:03.819748Z ERROR cheatcodes: non-empty stderr input=["npx", "@bgd-labs/aave-cli@^1.1.17", "diff-snapshots", "./reports/AaveV3Avalanche_GHOAvalancheListing_20250519_before.json", "./reports/AaveV3Avalanche_GHOAvalancheListing_20250519_after.json", "-o", "./diffs/AaveV3Avalanche_GHOAvalancheListing_20250519_before_AaveV3Avalanche_GHOAvalancheListing_20250519_after.md"] stderr="error: unrecognized subcommand 'source'\n\n tip: some similar subcommands exist: 'nonce', 'gas-price', 's', 'storage', 'sr', 'src'\n\nUsage: cast [OPTIONS] \n\nFor more information, try '--help'.\nerror: unrecognized subcommand 'source'\n\n tip: some similar subcommands exist: 'nonce', 'gas-price', 's', 'storage', 'sr', 'src'\n\nUsage: cast [OPTIONS] \n\nFor more information, try '--help'.\nnode:internal/errors:984\n const err = new Error(message);\n ^\n\nError: Command failed: cast source --chain 43114 -d /tmp/43114_0xa0d9C1E9E48Ca30c8d8C3B5D69FF5dc1f6DFfC24 0xa0d9C1E9E48Ca30c8d8C3B5D69FF5dc1f6DFfC24 --etherscan-api-key undefined && forge fmt /tmp/43114_0xa0d9C1E9E48Ca30c8d8C3B5D69FF5dc1f6DFfC24\nerror: unrecognized subcommand 'source'\n\n tip: some similar subcommands exist: 'nonce', 'gas-price', 's', 'storage', 'sr', 'src'\n\nUsage: cast [OPTIONS] \n\nFor more information, try '--help'.\n\n at genericNodeError (node:internal/errors:984:15)\n at wrappedFn (node:internal/errors:538:14)\n at checkExecSyncError (node:child_process:891:11)\n at execSync (node:child_process:963:15)\n at downloadContract (file:///home/runner/.npm/_npx/bde9fde5cd15b9c3/node_modules/@bgd-labs/aave-cli/dist/cli.js:846:3)\n at diffSlot (file:///home/runner/.npm/_npx/bde9fde5cd15b9c3/node_modules/@bgd-labs/aave-cli/dist/cli.js:898:16)\n at file:///home/runner/.npm/_npx/bde9fde5cd15b9c3/node_modules/@bgd-labs/aave-cli/dist/cli.js:921:11\n at Array.map ()\n at diffRawStorage (file:///home/runner/.npm/_npx/bde9fde5cd15b9c3/node_modules/@bgd-labs/aave-cli/dist/cli.js:913:22)\n at diffReports (file:///home/runner/.npm/_npx/bde9fde5cd15b9c3/node_modules/@bgd-labs/aave-cli/dist/cli.js:1067:5) {\n status: 2,\n signal: null,\n output: [\n null,\n Buffer(0) [Uint8Array] [],\n Buffer(200) [Uint8Array] [\n 101, 114, 114, 111, 114, 58, 32, 117, 110, 114, 101, 99,\n 111, 103, 110, 105, 122, 101, 100, 32, 115, 117, 98, 99,\n 111, 109, 109, 97, 110, 100, 32, 39, 115, 111, 117, 114,\n 99, 101, 39, 10, 10, 32, 32, 116, 105, 112, 58, 32,\n 115, 111, 109, 101, 32, 115, 105, 109, 105, 108, 97, 114,\n 32, 115, 117, 98, 99, 111, 109, 109, 97, 110, 100, 115,\n 32, 101, 120, 105, 115, 116, 58, 32, 39, 110, 111, 110,\n 99, 101, 39, 44, 32, 39, 103, 97, 115, 45, 112, 114,\n 105, 99, 101, 39,\n ... 100 more items\n ]\n ],\n pid: 5739,\n stdout: Buffer(0) [Uint8Array] [],\n stderr: Buffer(200) [Uint8Array] [\n 101, 114, 114, 111, 114, 58, 32, 117, 110, 114, 101, 99,\n 111, 103, 110, 105, 122, 101, 100, 32, 115, 117, 98, 99,\n 111, 109, 109, 97, 110, 100, 32, 39, 115, 111, 117, 114,\n 99, 101, 39, 10, 10, 32, 32, 116, 105, 112, 58, 32,\n 115, 111, 109, 101, 32, 115, 105, 109, 105, 108, 97, 114,\n 32, 115, 117, 98, 99, 111, 109, 109, 97, 110, 100, 115,\n 32, 101, 120, 105, 115, 116, 58, 32, 39, 110, 111, 110,\n 99, 101, 39, 44, 32, 39, 103, 97, 115, 45, 112, 114,\n 105, 99, 101, 39,\n ... 100 more items\n ]\n}\n\nNode.js v20.19.2\n"

Ran 3 tests for src/20250519_Multi_GHOAvalancheLaunch/AaveV3Avalanche_GHOAvalancheListing_20250519.t.sol:AaveV3Avalanche_GHOAvalancheListing_20250519_Listing
[PASS] test_defaultProposalExecution() (gas: 46665761)
Logs:
0xd586E7F844cEa2F87f50152665BCbc2C279D8d70
0x5947BB275c521040051D82396192181b413227A3
0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E
0x50b7545627a5162F82A992c33b87aDc75187B218
0x49D5c2BdFfac6CE2BFdB6640F4F80f226bc10bAB
0x9702230A8Ea53601f5cD2dc00fDBc13d4dF4A8c7
0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7
0xD24C2Ad096400B6FBcd2ad8B24E7acBc21A1da64
0x5c49b268c9841AFF1Cc3B0a418ff5c3442eE3F3b
0x152b9d0FdC40C096757F570A51E494bd4b943E50
0x00000000eFE302BEAA2b3e6e1b18d08D69a9012a
0xfc421aD3C883Bf9E7C4f42dE845C4e4405799e73
E2E: Collateral DAI.e, TestAsset DAI.e
SUPPLY: DAI.e, Amount: 100000290000841002438907
SUPPLY: DAI.e, Amount: 10000029000084100243890
WITHDRAW: DAI.e, Amount: 5000014500042050121945
WITHDRAW: DAI.e, Amount: 5000014500042050121944
BORROW: DAI.e, Amount 10000029000084100243890
REPAY: DAI.e, Amount: 10000029000084100243890
REPAY: DAI.e, Amount: 10000029000084100243890
BORROW: DAI.e, Amount 10000029000084100243890
LIQUIDATE: DAI.e, Amount: 115792089237316195423570985008687907853269984665640564039457584007913129639935, Debt Amount: 10000029000084100243890
LIQUIDATE: DAI.e, Amount: 115792089237316195423570985008687907853269984665640564039457584007913129639935, Debt Amount: 10000029000084100243890
FLASH LOAN: DAI.e, Amount: 10000029000084100243890
FLASH LOAN: DAI.e, Amount: 10000029000084100243890
E2E: Collateral DAI.e, TestAsset LINK.e
SUPPLY: DAI.e, Amount: 100000290000841002438907
SUPPLY: LINK.e, Amount: 721465708551259535807
WITHDRAW: LINK.e, Amount: 360732854275629767903
WITHDRAW: LINK.e, Amount: 360732854275629767905
BORROW: LINK.e, Amount 721465708551259535807
REPAY: LINK.e, Amount: 721465708551259535807
REPAY: LINK.e, Amount: 721465708551259535807
BORROW: LINK.e, Amount 721465708551259535807
LIQUIDATE: LINK.e, Amount: 115792089237316195423570985008687907853269984665640564039457584007913129639935, Debt Amount: 721465708551259535807
LIQUIDATE: LINK.e, Amount: 115792089237316195423570985008687907853269984665640564039457584007913129639935, Debt Amount: 721465708551259535807
FLASH LOAN: LINK.e, Amount: 721465708551259535807
FLASH LOAN: LINK.e, Amount: 721465708551259535807
E2E: Collateral DAI.e, TestAsset USDC
SUPPLY: DAI.e, Amount: 100000290000841002438907
SUPPLY: USDC, Amount: 10002015706
WITHDRAW: USDC, Amount: 5001007853
WITHDRAW: USDC, Amount: 5001007853
BORROW: USDC, Amount 10002015706
REPAY: USDC, Amount: 10002015706
REPAY: USDC, Amount: 10002015706
BORROW: USDC, Amount 10002015706
LIQUIDATE: USDC, Amount: 115792089237316195423570985008687907853269984665640564039457584007913129639935, Debt Amount: 10002015706
LIQUIDATE: USDC, Amount: 115792089237316195423570985008687907853269984665640564039457584007913129639935, Debt Amount: 10002015706
FLASH LOAN: USDC, Amount: 10002015706
FLASH LOAN: USDC, Amount: 10002015706
E2E: TestAsset WBTC.e SKIPPED
E2E: Collateral DAI.e, TestAsset WETH.e
SUPPLY: DAI.e, Amount: 100000290000841002438907
SUPPLY: WETH.e, Amount: 3944248831614889854
WITHDRAW: WETH.e, Amount: 1972124415807444927
WITHDRAW: WETH.e, Amount: 1972124415807444927
BORROW: WETH.e, Amount 3944248831614889854
REPAY: WETH.e, Amount: 3944248831614889854
REPAY: WETH.e, Amount: 3944248831614889854
BORROW: WETH.e, Amount 3944248831614889854
LIQUIDATE: WETH.e, Amount: 115792089237316195423570985008687907853269984665640564039457584007913129639935, Debt Amount: 3944248831614889854
LIQUIDATE: WETH.e, Amount: 115792089237316195423570985008687907853269984665640564039457584007913129639935, Debt Amount: 3944248831614889854
FLASH LOAN: WETH.e, Amount: 3944248831614889854
FLASH LOAN: WETH.e, Amount: 3944248831614889854
E2E: Collateral DAI.e, TestAsset USDt
SUPPLY: DAI.e, Amount: 100000290000841002438907
SUPPLY: USDt, Amount: 9995461760
WITHDRAW: USDt, Amount: 4997730880
WITHDRAW: USDt, Amount: 4997730879
BORROW: USDt, Amount 9995461760
REPAY: USDt, Amount: 9995461760
REPAY: USDt, Amount: 9995461760
BORROW: USDt, Amount 9995461760
LIQUIDATE: USDt, Amount: 115792089237316195423570985008687907853269984665640564039457584007913129639935, Debt Amount: 9995461760
LIQUIDATE: USDt, Amount: 115792089237316195423570985008687907853269984665640564039457584007913129639935, Debt Amount: 9995461760
FLASH LOAN: USDt, Amount: 9995461760
FLASH LOAN: USDt, Amount: 9995461760
E2E: Collateral DAI.e, TestAsset AAVE.e
SUPPLY: DAI.e, Amount: 100000290000841002438907
SUPPLY: AAVE.e, Amount: 38336882778416557226
WITHDRAW: AAVE.e, Amount: 19168441389208278613
WITHDRAW: AAVE.e, Amount: 19168441389208278614
FLASH LOAN: AAVE.e, Amount: 38336882778416557226
E2E: Collateral DAI.e, TestAsset WAVAX
SUPPLY: DAI.e, Amount: 100000290000841002438907
SUPPLY: WAVAX, Amount: 480354878498556677696
WITHDRAW: WAVAX, Amount: 240177439249278338848
WITHDRAW: WAVAX, Amount: 240177439249278338848
BORROW: WAVAX, Amount 480354878498556677696
REPAY: WAVAX, Amount: 480354878498556677696
REPAY: WAVAX, Amount: 480354878498556677696
BORROW: WAVAX, Amount 480354878498556677696
LIQUIDATE: WAVAX, Amount: 115792089237316195423570985008687907853269984665640564039457584007913129639935, Debt Amount: 480354878498556677696
LIQUIDATE: WAVAX, Amount: 115792089237316195423570985008687907853269984665640564039457584007913129639935, Debt Amount: 480354878498556677696
FLASH LOAN: WAVAX, Amount: 480354878498556677696
FLASH LOAN: WAVAX, Amount: 480354878498556677696
E2E: Collateral DAI.e, TestAsset sAVAX
SUPPLY: DAI.e, Amount: 100000290000841002438907
SUPPLY: sAVAX, Amount: 396844585363445218427
WITHDRAW: sAVAX, Amount: 198422292681722609213
WITHDRAW: sAVAX, Amount: 198422292681722609214
FLASH LOAN: sAVAX, Amount: 396844585363445218427
E2E: Collateral DAI.e, TestAsset FRAX
SUPPLY: DAI.e, Amount: 100000290000841002438907
SUPPLY: FRAX, Amount: 10005000699449598898521
WITHDRAW: FRAX, Amount: 5002500349724799449260
WITHDRAW: FRAX, Amount: 5002500349724799449261
FLASH LOAN: FRAX, Amount: 10005000699449598898521
E2E: TestAsset MAI SKIPPED
E2E: Collateral DAI.e, TestAsset BTC.b
SUPPLY: DAI.e, Amount: 100000290000841002438907
SUPPLY: BTC.b, Amount: 9334058
WITHDRAW: BTC.b, Amount: 4667029
WITHDRAW: BTC.b, Amount: 4667029
BORROW: BTC.b, Amount 9334058
REPAY: BTC.b, Amount: 9334058
REPAY: BTC.b, Amount: 9334058
BORROW: BTC.b, Amount 9334058
LIQUIDATE: BTC.b, Amount: 115792089237316195423570985008687907853269984665640564039457584007913129639935, Debt Amount: 9334057
LIQUIDATE: BTC.b, Amount: 115792089237316195423570985008687907853269984665640564039457584007913129639935, Debt Amount: 9334057
FLASH LOAN: BTC.b, Amount: 9334058
FLASH LOAN: BTC.b, Amount: 9334058
E2E: Collateral DAI.e, TestAsset AUSD
SUPPLY: DAI.e, Amount: 100000290000841002438907
SUPPLY: AUSD, Amount: 10001806226
WITHDRAW: AUSD, Amount: 5000903113
WITHDRAW: AUSD, Amount: 5000903113
BORROW: AUSD, Amount 10001806226
REPAY: AUSD, Amount: 10001806226
REPAY: AUSD, Amount: 10001806226
BORROW: AUSD, Amount 10001806226
LIQUIDATE: AUSD, Amount: 115792089237316195423570985008687907853269984665640564039457584007913129639935, Debt Amount: 10001806226
LIQUIDATE: AUSD, Amount: 115792089237316195423570985008687907853269984665640564039457584007913129639935, Debt Amount: 10001806226
FLASH LOAN: AUSD, Amount: 10001806226
FLASH LOAN: AUSD, Amount: 10001806226
E2E: Collateral DAI.e, TestAsset GHO
SUPPLY: DAI.e, Amount: 100000290000841002438907
SUPPLY: GHO, Amount: 10000000000000000000000
WITHDRAW: GHO, Amount: 5000000000000000000000
WITHDRAW: GHO, Amount: 5000000000000000000000
BORROW: GHO, Amount 10000000000000000000000
REPAY: GHO, Amount: 10000000000000000000000
REPAY: GHO, Amount: 10000000000000000000000
BORROW: GHO, Amount 10000000000000000000000
LIQUIDATE: GHO, Amount: 115792089237316195423570985008687907853269984665640564039457584007913129639935, Debt Amount: 10000000000000000000000
LIQUIDATE: GHO, Amount: 115792089237316195423570985008687907853269984665640564039457584007913129639935, Debt Amount: 10000000000000000000000
FLASH LOAN: GHO, Amount: 10000000000000000000000
FLASH LOAN: GHO, Amount: 10000000000000000000000

[PASS] test_ghoAdmin() (gas: 2025984)
[PASS] test_ghoPriceFeed() (gas: 12463)
Suite result: ok. 3 passed; 0 failed; 0 skipped; finished in 9.61s (12.80s CPU time)

Ran 3 test suites in 9.62s (18.24s CPU time): 11 tests passed, 0 failed, 0 skipped (11 total tests)
No files changed, compilation skipped

Ran 7 tests for src/20250519_Multi_GHOAvalancheLaunch/AaveV3Base_GHOAvalancheLaunch_20250519.t.sol:AaveV3Base_GHOAvalancheLaunch_20250519_PostExecution
[PASS] test_basePoolConfig() (gas: 144541)
[PASS] test_cannotOffRampOtherChainMessages() (gas: 79261)
[PASS] test_cannotUseAvaxOffRampForEthMessages() (gas: 39846)
[PASS] test_offRampViaAvaxSucceeds(uint256) (runs: 256, μ: 116030, ~: 115734)
[PASS] test_offRampViaEthSucceeds(uint256) (runs: 256, μ: 119411, ~: 119149)
[PASS] test_sendMessageToAvaxSucceeds(uint256) (runs: 256, μ: 474350, ~: 474139)
[PASS] test_sendMessageToEthSucceeds(uint256) (runs: 256, μ: 477131, ~: 476942)
Suite result: ok. 7 passed; 0 failed; 0 skipped; finished in 9.30s (9.16s CPU time)

Ran 1 test suite in 9.30s (9.30s CPU time): 7 tests passed, 0 failed, 0 skipped (7 total tests)
No files changed, compilation skipped

Ran 4 tests for src/20250519_Multi_GHOAvalancheLaunch/AaveV3E2E_GHOAvalancheLaunch_20250519.t.sol:AaveV3Base_GHOAvalancheLaunch_20250519_PostExecution
[PASS] test_E2eArbAvax(uint256) (runs: 256, μ: 1056761, ~: 1056494)
[PASS] test_E2eBaseAvax(uint256) (runs: 256, μ: 1033456, ~: 1033130)
[PASS] test_E2eEthArb(uint256) (runs: 256, μ: 1125919, ~: 1125613)
[PASS] test_E2eEthAvax(uint256) (runs: 256, μ: 1091180, ~: 1090855)
Suite result: ok. 4 passed; 0 failed; 0 skipped; finished in 16.39s (16.59s CPU time)

Ran 1 test suite in 16.39s (16.39s CPU time): 4 tests passed, 0 failed, 0 skipped (4 total tests)
No files changed, compilation skipped

Ran 7 tests for src/20250519_Multi_GHOAvalancheLaunch/AaveV3Ethereum_GHOAvalancheLaunch_20250519.t.sol:AaveV3Ethereum_GHOAvalancheLaunch_20250519_Avalanche
[PASS] test_basePoolConfig() (gas: 155448)
[PASS] test_cannotOffRampOtherChainMessages() (gas: 89689)
[PASS] test_cannotUseAvaxOffRampForBaseMessages() (gas: 45094)
[PASS] test_offRampViaAvaxSucceeds(uint256) (runs: 256, μ: 110639, ~: 110336)
[PASS] test_offRampViaBaseSucceeds(uint256) (runs: 256, μ: 110660, ~: 110370)
[PASS] test_sendMessageToAvaxSucceeds(uint256) (runs: 256, μ: 440114, ~: 439917)
[PASS] test_sendMessageToBaseSucceeds(uint256) (runs: 256, μ: 445540, ~: 445324)
Suite result: ok. 7 passed; 0 failed; 0 skipped; finished in 2.43s (3.56s CPU time)

Ran 1 test suite in 2.43s (2.43s CPU time): 7 tests passed, 0 failed, 0 skipped (7 total tests)

@CanonicalJP CanonicalJP force-pushed the feat/gho-avalanche-launch branch from c13e3fa to 3ce535f Compare June 13, 2025 09:47
@CanonicalJP CanonicalJP force-pushed the feat/gho-avalanche-launch branch from 591c435 to 428b02d Compare June 13, 2025 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants