Skip to content

Commit 495ac86

Browse files
fix: add batcher addr to script (#682)
1 parent fc75ade commit 495ac86

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

batcher/aligned/generate_proof_and_send.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ go run scripts/test_files/gnark_groth16_bn254_infinite_script/cmd/main.go $x
2626

2727
# Set default values for RPC and BATCHER if they are not set
2828
RPC=${RPC:-http://localhost:8545}
29-
BATCHER=${BATCHER:-ws://localhost:8080}
29+
BATCHER_CONN=${BATCHER_CONN:-ws://localhost:8080}
30+
BATCHER_ADDR=${BATCHER_ADDR:-0x7969c5eD335650692Bc04293B07F5BF2e7A673C0}
3031

3132
cmd=(
3233
./batcher/target/release/aligned
@@ -38,7 +39,8 @@ cmd=(
3839
--vk "scripts/test_files/gnark_groth16_bn254_infinite_script/infinite_proofs/ineq_${x}_groth16.vk"
3940
--proof_generator_addr 0x66f9664f97F2b50F62D13eA064982f936dE76657
4041
--rpc "$RPC"
41-
--conn "$BATCHER"
42+
--conn "$BATCHER_CONN"
43+
--batcher_addr "$BATCHER_ADDR"
4244
)
4345

4446
# If PRIVATE_KEY is set then add private key argument

0 commit comments

Comments
 (0)