Skip to content

Commit

Permalink
Fix OCR2 deploy command variable casing (#450)
Browse files Browse the repository at this point in the history
* fix variable casing for ocr2 deploy command

* fix billing access controller casing
  • Loading branch information
chris-de-leon-cll authored Jun 4, 2024
1 parent 6dc15a5 commit ef706d8
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand All @@ -37,9 +37,9 @@ const makeUserInput = async (flags, args, env): Promise<UserInput> => {
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 || '',
}
}

Expand Down

0 comments on commit ef706d8

Please sign in to comment.