-
Notifications
You must be signed in to change notification settings - Fork 212
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
closes: #10597 ## Description Adds `multichain-testing` test for FUSDC happy path. Includes: - accepting oracle operator invitations - funding liquidity pool with bridged USDC - simulating advance request via `mockCctpTxEvidence` submissions - simulating CCTP mint and settlement flow - LP returns shares for more USDC than deposited Ensures advance appears in EUD account, Liquidity Pool is repaid, and corresponding TxStatus updates are recorded in vstorage. ### Security Considerations None, test code. ### Scaling Considerations None really. For CI load, the test takes about 32 seconds after setup. ### Documentation Considerations None ### Testing Considerations PR only includes tests and test support. ### Upgrade Considerations None
- Loading branch information
Showing
21 changed files
with
572 additions
and
96 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,4 +9,5 @@ export default { | |
concurrency: 1, | ||
serial: true, | ||
timeout: '125s', | ||
failFast: true, | ||
}; |
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import type { IBCChannelID } from '@agoric/vats'; | ||
|
||
export const oracleMnemonics = { | ||
oracle1: | ||
'cause eight cattle slot course mail more aware vapor slab hobby match', | ||
oracle2: | ||
'flower salute inspire label latin cattle believe sausage match total bless refuse', | ||
oracle3: | ||
'surge magnet typical drive cement artist stay latin chief obey word always', | ||
}; | ||
harden(oracleMnemonics); | ||
|
||
export const makeFeedPolicy = (nobleAgoricChannelId: IBCChannelID) => { | ||
return { | ||
nobleAgoricChannelId, | ||
nobleDomainId: 4, | ||
chainPolicies: { | ||
Arbitrum: { | ||
attenuatedCttpBridgeAddress: | ||
'0xe298b93ffB5eA1FB628e0C0D55A43aeaC268e347', | ||
cctpTokenMessengerAddress: '0x19330d10D9Cc8751218eaf51E8885D058642E08A', | ||
chainId: 42161, | ||
confirmations: 2, | ||
}, | ||
}, | ||
}; | ||
}; | ||
harden(makeFeedPolicy); |
Oops, something went wrong.