Skip to content

Commit

Permalink
feat(builders): --noNoble option for init-fast-usdc
Browse files Browse the repository at this point in the history
  • Loading branch information
dckc committed Dec 9, 2024
1 parent f16ec7f commit 69491ae
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions packages/builders/scripts/fast-usdc/init-fast-usdc.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ const options = {
},
chainInfo: { type: 'string' },
assetInfo: { type: 'string' },
noNoble: { type: 'boolean', default: false },
};
const oraclesUsage = 'use --oracle name:address ...';

Expand All @@ -57,8 +58,9 @@ const assetInfoUsage =
* oracle?: string[];
* usdcDenom: string;
* feedPolicy?: string;
* chainInfo: string;
* assetInfo: string;
* chainInfo?: string;
* assetInfo?: string;
* noNoble: boolean;
* }} FastUSDCOpts
*/

Expand Down Expand Up @@ -107,6 +109,7 @@ export default async (homeP, endowments) => {
feedPolicy,
chainInfo,
assetInfo,
noNoble,
...fees
},
} = parseArgs({ args: scriptArgs, options });
Expand Down Expand Up @@ -185,6 +188,7 @@ export default async (homeP, endowments) => {
feedPolicy: parseFeedPolicy(),
chainInfo: parseChainInfo(),
assetInfo: parseAssetInfo(),
noNoble,
});

await writeCoreEval('start-fast-usdc', utils =>
Expand Down

0 comments on commit 69491ae

Please sign in to comment.