Skip to content

Commit 62d2f3f

Browse files
committed
refactor: remove unneeded variable
1 parent 941beae commit 62d2f3f

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

contracts/scripts/anvil/deploy_aligned_contracts.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ forge script ../examples/verify/script/VerifyBatchInclusionCallerDeployer.s.sol
3838
output_path=./script/output/devnet/batcher_deployment_output.json
3939

4040
# Deploy Batcher Payments Contract
41-
forge_output=$(forge script script/deploy/BatcherPaymentServiceDeployer.s.sol \
41+
forge script script/deploy/BatcherPaymentServiceDeployer.s.sol \
4242
./script/deploy/config/devnet/batcher-payment-service.devnet.config.json \
4343
$output_path \
4444
--rpc-url "http://localhost:8545" \
4545
--private-key "0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80" \
4646
--broadcast \
47-
--sig "run(string batcherConfigPath, string outputPath)")
47+
--sig "run(string batcherConfigPath, string outputPath)"
4848

4949
# Extract the batcher payment service values from the output
5050
# new_aligned_layer_service_manager_implementation=$(echo "$forge_output" | awk '/1: address/ {print $3}')

contracts/scripts/deploy_batcher_payment_service.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ cd ../
1111
source scripts/.env
1212

1313
# Deploy Batcher Payments Contract
14-
forge_output=$(forge script script/deploy/BatcherPaymentServiceDeployer.s.sol \
14+
forge script script/deploy/BatcherPaymentServiceDeployer.s.sol \
1515
$BATCHER_PAYMENT_SERVICE_CONFIG_PATH \
1616
$BATCHER_PAYMENT_SERVICE_OUTPUT_PATH \
1717
--rpc-url $RPC_URL \
@@ -20,9 +20,7 @@ forge_output=$(forge script script/deploy/BatcherPaymentServiceDeployer.s.sol \
2020
--legacy \
2121
--verify \
2222
--etherscan-api-key $ETHERSCAN_API_KEY \
23-
--sig "run(string memory batcherConfigPath, string memory outputPath)")
24-
25-
echo "$forge_output"
23+
--sig "run(string memory batcherConfigPath, string memory outputPath)"
2624

2725
# Extract the batcher payment service values from the output
2826
# new_aligned_layer_service_manager_implementation=$(echo "$forge_output" | awk '/1: address/ {print $3}')

0 commit comments

Comments
 (0)