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 15, 2025
1 parent d703190 commit 29e7ea1
Show file tree
Hide file tree
Showing 22 changed files with 20,090 additions and 1,851 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
10 changes: 9 additions & 1 deletion 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
Loading

0 comments on commit 29e7ea1

Please sign in to comment.