Skip to content

Commit e1281a8

Browse files
committed
Add makefile command
1 parent a8bbb9a commit e1281a8

File tree

2 files changed

+22
-11
lines changed

2 files changed

+22
-11
lines changed

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@ anvil_deploy_eigen_contracts:
7575
@echo "Deploying Eigen Contracts..."
7676
. contracts/scripts/anvil/deploy_eigen_contracts.sh
7777

78+
anvil_deploy_sp1_contracts:
79+
@echo "Deploying SP1 Contracts..."
80+
. contracts/scripts/anvil/deploy_sp1_contracts.sh
81+
7882
anvil_deploy_aligned_contracts:
7983
@echo "Deploying Aligned Contracts..."
8084
. contracts/scripts/anvil/deploy_aligned_contracts.sh
Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,19 @@
1-
# Deploy Groth16 SP1 verifier gateway
2-
forge script script/deploy/SP1VerifierGatewayGroth16Deployer.s.sol:SP1VerifierGatewayScript \
3-
--rpc-url "http://localhost:8545" \
4-
--private-key "0x5de4111afa1a4b94908f83103eb1f1706367c2e68ca870fc3fb9a804cdab365a" \
5-
--broadcast
1+
#!/bin/bash
62

7-
# Deploy Groth16 SP1 verifier
8-
forge script ./script/deploy/SP1VerifierGroth16Deployer.s.sol:SP1VerifierScript \
9-
--rpc-url "http://localhost:8545" \
10-
--private-key "0x7c852118294e51e653712a81e05800f419141751be58f605c371e15141b007a6" \
11-
--broadcast \
12-
--verify --verifier etherscan --multi
3+
# cd to the directory of this script so that this can be run from anywhere
4+
parent_path=$( cd "$(dirname "${BASH_SOURCE[0]}")" ; pwd -P )
5+
# At this point we are in tests/integration
6+
echo "$parent_path"
7+
8+
# # Deploy Groth16 SP1 verifier gateway
9+
# forge script script/deploy/SP1VerifierGatewayGroth16Deployer.s.sol:SP1VerifierGatewayScript \
10+
# --rpc-url "http://localhost:8545" \
11+
# --private-key "0x5de4111afa1a4b94908f83103eb1f1706367c2e68ca870fc3fb9a804cdab365a" \
12+
# --broadcast
13+
14+
# # Deploy Groth16 SP1 verifier
15+
# forge script ./script/deploy/SP1VerifierGroth16Deployer.s.sol:SP1VerifierScript \
16+
# --rpc-url "http://localhost:8545" \
17+
# --private-key "0x7c852118294e51e653712a81e05800f419141751be58f605c371e15141b007a6" \
18+
# --broadcast \
19+
# --verify --verifier etherscan --multi

0 commit comments

Comments
 (0)