From ef706d83e94b6aaed238a765f9304f1db89730d6 Mon Sep 17 00:00:00 2001 From: Chris De Leon <147140544+chris-de-leon-cll@users.noreply.github.com> Date: Mon, 3 Jun 2024 18:41:48 -0700 Subject: [PATCH] Fix OCR2 deploy command variable casing (#450) * fix variable casing for ocr2 deploy command * fix billing access controller casing --- .../starknet-gauntlet-ocr2/src/commands/ocr2/deploy.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages-ts/starknet-gauntlet-ocr2/src/commands/ocr2/deploy.ts b/packages-ts/starknet-gauntlet-ocr2/src/commands/ocr2/deploy.ts index 1e86e8da6..d91def109 100644 --- a/packages-ts/starknet-gauntlet-ocr2/src/commands/ocr2/deploy.ts +++ b/packages-ts/starknet-gauntlet-ocr2/src/commands/ocr2/deploy.ts @@ -11,7 +11,7 @@ import { DeployOCR2, DeployOCR2Input } from '@chainlink/gauntlet-contracts-ocr2' import { validateClassHash } from '../../lib/utils' export interface UserInput extends DeployOCR2Input { - owner: string + owner?: string classHash?: string } @@ -37,9 +37,9 @@ const makeUserInput = async (flags, args, env): Promise => { minAnswer: aggregator.minSubmissionValue, decimals: aggregator.decimals, description: aggregator.name, - billingAccessController: flags.billingAccessController || env.BILLING_ACCESS_CONTROLLER || '', - linkToken: flags.link || env.LINK || '', - owner: flags.owner || env.ACCOUNT, + billingAccessController: flags.billingAccessController || env.billingAccessController || '', + linkToken: flags.link || env.link || '', + owner: flags.owner || env.account || '', } }