Skip to content

Commit

Permalink
Make env var names more consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
gvladika committed May 7, 2024
1 parent 5d07efa commit c3fe24a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/orbitVerifyOnBlockscout.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@ import {
main().then(() => console.log('Done.'))

async function main() {
const parentRpcUrl = process.env['PARENT_RPC'] as string
const parentRpcUrl = process.env['BASECHAIN_RPC'] as string
const tokenBridgeCreatorAddress = process.env[
'TOKEN_BRIDGE_CREATOR'
'L1_TOKEN_BRIDGE_CREATOR'
] as string
const inboxAddress = process.env['INBOX_ADDRESS'] as string
const deployerKey = process.env['DEPLOYER_KEY'] as string

if (!parentRpcUrl || !tokenBridgeCreatorAddress || !inboxAddress) {
throw new Error(
'Required env vars: PARENT_RPC, TOKEN_BRIDGE_CREATOR, INBOX_ADDRESS'
'Required env vars: BASECHAIN_RPC, L1_TOKEN_BRIDGE_CREATOR, INBOX_ADDRESS'
)
}

Expand Down

0 comments on commit c3fe24a

Please sign in to comment.