File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ import { promisify } from 'util';
55import { getNitroTestnodePrivateKeyAccounts } from './testHelpers' ;
66
77const execPromise = promisify ( exec ) ;
8- const testnodeAccounts = getNitroTestnodePrivateKeyAccounts ( ) ;
98
109export async function deployTokenBridgeCreator ( {
1110 publicClient,
@@ -14,11 +13,12 @@ export async function deployTokenBridgeCreator({
1413} ) : Promise < Address > {
1514 // https://github.com/OffchainLabs/token-bridge-contracts/blob/main/scripts/local-deployment/deployCreatorAndCreateTokenBridge.ts#L109C19-L109C61
1615 const weth = '0x05EcEffc7CBA4e43a410340E849052AD43815aCA' ;
16+ const { deployer } = getNitroTestnodePrivateKeyAccounts ( ) ;
1717
1818 const { stdout } = await execPromise ( `
1919 docker run --rm --net=host \
2020 -e BASECHAIN_RPC=${ publicClient . transport . url } \
21- -e BASECHAIN_DEPLOYER_KEY=${ testnodeAccounts . deployer . privateKey } \
21+ -e BASECHAIN_DEPLOYER_KEY=${ deployer . privateKey } \
2222 -e BASECHAIN_WETH=${ weth } \
2323 -e GAS_LIMIT_FOR_L2_FACTORY_DEPLOYMENT=10000000 \
2424 $(docker build -q token-bridge-contracts) deploy:token-bridge-creator` ) ;
You can’t perform that action at this time.
0 commit comments