Skip to content

Commit

Permalink
chore: in fast-usdc a3p config, don't register connection to noble
Browse files Browse the repository at this point in the history
  • Loading branch information
dckc committed Dec 7, 2024
1 parent d032865 commit a319e01
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions packages/builders/scripts/fast-usdc/init-fast-usdc.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ const defaultAssetInfo = [
},
],
];
const agoricAssetInfo = defaultAssetInfo.filter(
([_d, i]) => i.chainName === 'agoric',
);

/**
* @type {Record<string, Pick<FastUSDCConfig, 'oracles' | 'feedPolicy' | 'chainInfo' | 'assetInfo' >>}
Expand Down Expand Up @@ -81,9 +84,12 @@ const configurations = {
},
},
chainInfo: /** @type {Record<string, CosmosChainInfo & Passable>} */ (
withChainCapabilities(fetchedChainInfo)
withChainCapabilities({
agoric: fetchedChainInfo.agoric,
noble: fetchedChainInfo.noble,
})
),
assetInfo: defaultAssetInfo,
assetInfo: agoricAssetInfo,
},
MAINNET: {
oracles: {
Expand Down

0 comments on commit a319e01

Please sign in to comment.