From 189ae577c47adc904e0cea8024295bc17f06d52c Mon Sep 17 00:00:00 2001 From: Roy Crihfield Date: Fri, 23 Aug 2024 00:37:14 -0500 Subject: [PATCH] Exec services in containers allows forwarding of signals --- config/fixturenet-optimism/run-op-batcher.sh | 2 +- config/fixturenet-optimism/run-op-geth.sh | 2 +- config/fixturenet-optimism/run-op-node.sh | 2 +- config/fixturenet-optimism/run-op-proposer.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config/fixturenet-optimism/run-op-batcher.sh b/config/fixturenet-optimism/run-op-batcher.sh index 29a65d5..185cd83 100755 --- a/config/fixturenet-optimism/run-op-batcher.sh +++ b/config/fixturenet-optimism/run-op-batcher.sh @@ -11,7 +11,7 @@ L2_RPC="http://op-geth:8545" ROLLUP_RPC="http://op-node:8547" BATCHER_KEY=$(cat /l2-accounts/accounts.json | jq -r .BatcherKey) -op-batcher \ +exec op-batcher \ --l2-eth-rpc=$L2_RPC \ --rollup-rpc=$ROLLUP_RPC \ --poll-interval=1s \ diff --git a/config/fixturenet-optimism/run-op-geth.sh b/config/fixturenet-optimism/run-op-geth.sh index d349797..7ec612b 100755 --- a/config/fixturenet-optimism/run-op-geth.sh +++ b/config/fixturenet-optimism/run-op-geth.sh @@ -32,7 +32,7 @@ fi # Start op-geth jwt_file="/l2-config/l2-jwt.txt" -geth \ +exec geth \ --datadir=$data_dir \ --http \ --http.corsdomain="*" \ diff --git a/config/fixturenet-optimism/run-op-node.sh b/config/fixturenet-optimism/run-op-node.sh index 34d8e09..272c860 100755 --- a/config/fixturenet-optimism/run-op-node.sh +++ b/config/fixturenet-optimism/run-op-node.sh @@ -21,7 +21,7 @@ jwt_file=/l2-config/l2-jwt.txt L2_AUTH="http://op-geth:8551" RPC_KIND=any # this can optionally be set to a preset for common node providers like Infura, Alchemy, etc. -op-node \ +exec op-node \ --l2=$L2_AUTH \ --l2.jwt-secret=$jwt_file \ --sequencer.enabled \ diff --git a/config/fixturenet-optimism/run-op-proposer.sh b/config/fixturenet-optimism/run-op-proposer.sh index a11349c..15ed1cb 100755 --- a/config/fixturenet-optimism/run-op-proposer.sh +++ b/config/fixturenet-optimism/run-op-proposer.sh @@ -13,7 +13,7 @@ ROLLUP_RPC="http://op-node:8547" PROPOSER_KEY=$(cat /l2-accounts/accounts.json | jq -r .ProposerKey) L2OO_ADDR=$(cat /l1-deployment/$DEPLOYMENT_CONTEXT-deploy.json | jq -r .L2OutputOracleProxy) -op-proposer \ +exec op-proposer \ --poll-interval=12s \ --rpc.port=8560 \ --rollup-rpc=$ROLLUP_RPC \