diff --git a/.github/workflows/manual-deploy-testnet-l2.yml b/.github/workflows/manual-deploy-testnet-l2.yml index 503ee23351..fc52b10de5 100644 --- a/.github/workflows/manual-deploy-testnet-l2.yml +++ b/.github/workflows/manual-deploy-testnet-l2.yml @@ -66,6 +66,7 @@ jobs: echo "BATCH_INTERVAL=${{vars.BATCH_INTERVAL}}" echo "ROLLUP_INTERVAL=${{vars.ROLLUP_INTERVAL}}" + echo "FAUCET_FUNDS=${{vars.FAUCET_FUNDS}}" - name: 'Login via Azure CLI' uses: azure/login@v1 @@ -326,6 +327,7 @@ jobs: -l2_poc_private_key=4bfe14725e685901c062ccd4e220c61cf9c189897b6c78bd18d7f51291b2b8f8 \ -message_bus_contract_addr=${{ needs.build.outputs.MSG_BUS_CONTRACT_ADDR }} \ -docker_image=${{vars.L2_HARDHATDEPLOYER_DOCKER_BUILD_TAG}} + -faucet_funds=${{vars.FAUCET_FUNDS}} - name: 'Save container logs on failure' if: failure() diff --git a/testnet/launcher/l2contractdeployer/docker.go b/testnet/launcher/l2contractdeployer/docker.go index 5c04959d9a..564430a067 100644 --- a/testnet/launcher/l2contractdeployer/docker.go +++ b/testnet/launcher/l2contractdeployer/docker.go @@ -33,7 +33,8 @@ func (n *ContractDeployer) Start() error { } envs := map[string]string{ - "MESSAGE_BUS_ADDRESS": n.cfg.messageBusAddress, + "PREFUND_FAUCET_AMOUNT": n.cfg.faucetPrefundAmount, + "MESSAGE_BUS_ADDRESS": n.cfg.messageBusAddress, "NETWORK_JSON": fmt.Sprintf(` { "layer1" : {