Skip to content

Commit 168b216

Browse files
committed
Fix devnet instead of testnet
1 parent 2af21b9 commit 168b216

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

contracts/scripts/anvil/deploy_sp1_contracts.sh

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,21 @@ cd ../../
1313

1414
sleep 1
1515

16-
export CHAINS='TESTNET'
17-
export RPC_TESTNET='http://localhost:8545'
16+
export CHAINS='DEVNET'
17+
export RPC_DEVNET='http://localhost:8545'
1818
export OWNER='0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC'
19+
export VERIFIER_PRIVATE_KEY="0x5de4111afa1a4b94908f83103eb1f1706367c2e68ca870fc3fb9a804cdab365a"
1920

2021
# Deploy Groth16 SP1 verifier gateway
2122
forge script script/deploy/SP1VerifierGatewayGroth16Deployer.s.sol:SP1VerifierGatewayScript \
22-
--rpc-url "http://localhost:8545" \
23-
--private-key "0x5de4111afa1a4b94908f83103eb1f1706367c2e68ca870fc3fb9a804cdab365a" \
23+
--rpc-url $RPC_DEVNET \
24+
--private-key $VERIFIER_PRIVATE_KEY \
2425
--broadcast
2526

26-
# # Deploy Groth16 SP1 verifier
27+
# Deploy Groth16 SP1 verifier
2728
forge script ./script/deploy/SP1VerifierGroth16Deployer.s.sol:SP1VerifierScript \
28-
--rpc-url "http://localhost:8545" \
29-
--private-key "0x5de4111afa1a4b94908f83103eb1f1706367c2e68ca870fc3fb9a804cdab365a" \
29+
--rpc-url $RPC_DEVNET \
30+
--private-key $VERIFIER_PRIVATE_KEY \
3031
--broadcast
3132

3233

0 commit comments

Comments
 (0)