Skip to content

Commit 33ff32a

Browse files
committed
fix: file name
1 parent d8a5d24 commit 33ff32a

File tree

2 files changed

+5
-10
lines changed

2 files changed

+5
-10
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"addresses": {
33
"alignedProofAggregationService": "0x7Eace34A8d4C4CacE633946C6F7CF4BeF3F33513",
4-
"alignedProofAggregationServiceImplementation": "0xb12386C57ed3cfb31Ca358fB541dB46b14573fC7"
4+
"alignedProofAggregationServiceImplementation": "0x6454e81F80E9f45583F63cB1fCEbEc1cE3AB9559"
55
}
66
}

contracts/scripts/upgrade_proof_aggregator.sh

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@
44
#
55
# MULTISIG=true|false whether the contract is deployed under a multisig account
66
#
7-
# EXISTING_DEPLOYMENT_INFO_PATH: Path to the proof aggregator deployment output file
8-
# - Holesky Stage: ./script/output/holesky/proof_aggregation_service_deployment_output.stage.json
9-
# - Holesky Prod: ./script/output/holesky/roof_aggregation_service_deployment_output.json
10-
#
117
# PROOF_AGGREGATOR_OUTPUT_PATH: Path to the proof aggregator output file
128
# - Holesky Stage: ./script/output/holesky/proof_aggregation_service_deployment_output.stage.json
139
# - Holesky Prod: ./script/output/holesky/proof_aggregation_service_deployment_output.json
@@ -33,8 +29,7 @@ cd ../
3329

3430
# Save the output to a variable to later extract the address of the new deployed contract
3531
forge_output=$(forge script script/upgrade/ProofAggregatorServiceUpgrader.s.sol \
36-
$EXISTING_DEPLOYMENT_INFO_PATH \
37-
$PROOF_AGGREGATION_SERVICE_OUTPUT_PATH \
32+
$PROOF_AGGREGATOR_OUTPUT_PATH \
3833
--rpc-url $RPC_URL \
3934
--private-key $PRIVATE_KEY \
4035
--broadcast \
@@ -49,13 +44,13 @@ proof_aggregator_service_proxy=$(echo "$forge_output" | awk '/0: address/ {print
4944
proof_aggregator_service_implementation=$(echo "$forge_output" | awk '/1: address/ {print $3}')
5045

5146
# Use the extracted value to replace the batcher payment service values in alignedlayer_deployment_output.json and save it to a temporary file
52-
jq --arg proof_aggregator_service_implementation "$proof_aggregator_service_implementation" '.addresses.alignedProofAggregationServiceImplementation = $proof_aggregator_service_implementation' $PROOF_AGGREGATION_SERVICE_OUTPUT_PATH > "$PROOF_AGGREGATION_SERVICE_OUTPUT_PATH.temp"
47+
jq --arg proof_aggregator_service_implementation "$proof_aggregator_service_implementation" '.addresses.alignedProofAggregationServiceImplementation = $proof_aggregator_service_implementation' $PROOF_AGGREGATOR_OUTPUT_PATH > "$PROOF_AGGREGATOR_OUTPUT_PATH.temp"
5348

5449
# Replace the original file with the temporary file
55-
mv "$PROOF_AGGREGATION_SERVICE_OUTPUT_PATH.temp" $PROOF_AGGREGATION_SERVICE_OUTPUT_PATH
50+
mv "$PROOF_AGGREGATOR_OUTPUT_PATH.temp" $PROOF_AGGREGATOR_OUTPUT_PATH
5651

5752
# Delete the temporary file
58-
rm -f "$PROOF_AGGREGATION_SERVICE_OUTPUT_PATH.temp"
53+
rm -f "$PROOF_AGGREGATOR_OUTPUT_PATH.temp"
5954

6055
echo "The new Proof Aggregator Service Implementation is $proof_aggregator_service_implementation"
6156

0 commit comments

Comments
 (0)