Skip to content

Commit

Permalink
feat(orchestration): add more chain infos for fusdc
Browse files Browse the repository at this point in the history
  • Loading branch information
samsiegart committed Jan 16, 2025
1 parent 44f449b commit 8057723
Show file tree
Hide file tree
Showing 23 changed files with 20,118 additions and 1,852 deletions.
11 changes: 7 additions & 4 deletions multichain-testing/scripts/fetch-starship-chain-info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,13 @@ const ibc: {
data: IBCInfo[];
} = await fetch(`${BASE_URL}ibc`).then(r => r.json());

const chainInfo = await convertChainInfo({
chains,
ibcData: ibc.data,
});
const chainInfo = await convertChainInfo(
{
chains,
ibcData: ibc.data,
},
() => true,
);

const record = JSON.stringify(chainInfo, null, 2);
const src = `/** @file Generated by fetch-starship-chain-info.ts */\nexport default /** @type {const} */ (${record});`;
Expand Down
20 changes: 18 additions & 2 deletions packages/boot/test/bootstrapTests/orchestration.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,15 @@ test.serial('basic-flows', async t => {
'@agoric/builders/scripts/orchestration/init-basic-flows.js',
[
'--chainInfo',
JSON.stringify(withChainCapabilities(fetchedChainInfo)),
JSON.stringify(
withChainCapabilities({
agoric: fetchedChainInfo.agoric,
osmosis: fetchedChainInfo.osmosis,
dydx: fetchedChainInfo.dydx,
noble: fetchedChainInfo.noble,
cosmoshub: fetchedChainInfo.cosmoshub,
}),
),
'--assetInfo',
JSON.stringify([
[
Expand Down Expand Up @@ -556,7 +564,15 @@ test.serial('basic-flows - portfolio holder', async t => {
'@agoric/builders/scripts/orchestration/init-basic-flows.js',
[
'--chainInfo',
JSON.stringify(withChainCapabilities(fetchedChainInfo)),
JSON.stringify(
withChainCapabilities({
agoric: fetchedChainInfo.agoric,
osmosis: fetchedChainInfo.osmosis,
dydx: fetchedChainInfo.dydx,
noble: fetchedChainInfo.noble,
cosmoshub: fetchedChainInfo.cosmoshub,
}),
),
'--assetInfo',
JSON.stringify([
[
Expand Down
Loading

0 comments on commit 8057723

Please sign in to comment.