File tree Expand file tree Collapse file tree 2 files changed +45
-0
lines changed
Expand file tree Collapse file tree 2 files changed +45
-0
lines changed Original file line number Diff line number Diff line change @@ -997,6 +997,10 @@ upgrade_proof_aggregator: ## Upgrade ProofAggregator contract. Parameters: NETWO
997997 @echo " Upgrading ProofAggregator Contract on $( NETWORK) network..."
998998 @. contracts/scripts/.env.$(NETWORK ) && . contracts/scripts/upgrade_proof_aggregator.sh
999999
1000+ deploy_agg_mode_payment_service :
1001+ @echo " Deploying Agg Mode Payment Service contract on $( NETWORK) network..."
1002+ @. contracts/scripts/.env.$(NETWORK ) && . contracts/scripts/deploy_agg_mode_payment_service.sh
1003+
10001004__SP1_FFI__ : # #
10011005build_sp1_macos :
10021006 @cd operator/sp1/lib && cargo build $(RELEASE_FLAG )
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ # ENV VARIABLES
4+ #
5+ # PROOF_AGGREGATOR_DEPLOY_CONFIG_PATH: Path to the proof aggregator deploy config file
6+ # - Holesky Stage: ./script/deploy/config/holesky/proof-aggregator-service.holesky.config.stage.json
7+ # - Holesky Prod: ./script/deploy/config/holesky/proof-aggregator-service.holesky.config.json
8+ # - Sepolia: ./script/deploy/config/sepolia/proof-aggregator-service.sepolia.config.json
9+ #
10+ # PROOF_AGGREGATOR_OUTPUT_PATH: Path to the proof aggregator output file
11+ # - Holesky Stage: ./script/output/holesky/proof_aggregation_service_deployment_output.stage.json
12+ # - Holesky Prod: ./script/output/holesky/proof_aggregation_service_deployment_output.json
13+ # - Sepolia: ./script/output/sepolia/proof_aggregation_service_deployment_output.json
14+ #
15+ # RPC_URL: The RPC URL to connect to the Ethereum network
16+ #
17+ # PRIVATE_KEY: The private key to use for the deployment
18+ #
19+ # ETHERSCAN_API_KEY: The Etherscan API key to use for verification
20+ #
21+
22+ # cd to the directory of this script so that this can be run from anywhere
23+ parent_path=$( cd " $( dirname " ${BASH_SOURCE[0]} " ) " ; pwd -P )
24+ # At this point we are in contracts/scripts
25+ cd " $parent_path "
26+
27+ # At this point we are in contracts
28+ cd ../
29+
30+ # Deploy agg mode payment service contract
31+ forge script script/deploy/AggregationModePaymentServiceDeployer.s.sol \
32+ $PROOF_AGGREGATOR_DEPLOY_CONFIG_PATH \
33+ $PROOF_AGGREGATOR_OUTPUT_PATH \
34+ --rpc-url $RPC_URL \
35+ --private-key $PRIVATE_KEY \
36+ --broadcast \
37+ --verify \
38+ --etherscan-api-key $ETHERSCAN_API_KEY \
39+ --slow \
40+ --sig " run(string configPath, string outputPath)" \
41+ --via-ir
You can’t perform that action at this time.
0 commit comments