Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
godzillaba committed Jan 30, 2024
1 parent a0c31ed commit 3fe12a1
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions scripts/local-deployment/deployCreatorAndCreateTokenBridge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,8 @@ export const setupTokenBridgeInLocalEnv = async () => {
// prerequisite - deploy L1 creator and set templates
console.log('Deploying L1TokenBridgeCreator')

let l1Weth = ''
if (process.env['PARENT_WETH_OVERRIDE'] !== undefined && process.env['PARENT_WETH_OVERRIDE'] !== '') {
l1Weth = process.env['PARENT_WETH_OVERRIDE'] as string
}
else {
let l1Weth = process.env['PARENT_WETH_OVERRIDE']
if (l1Weth === undefined || l1Weth === '') {
const l1WethContract = await new TestWETH9__factory(parentDeployer).deploy(
'WETH',
'WETH'
Expand Down

0 comments on commit 3fe12a1

Please sign in to comment.