Skip to content

Commit

Permalink
fix: add batcher addr to script (#682)
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasRampoldi authored Jul 29, 2024
1 parent fc75ade commit 495ac86
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions batcher/aligned/generate_proof_and_send.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ go run scripts/test_files/gnark_groth16_bn254_infinite_script/cmd/main.go $x

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

cmd=(
./batcher/target/release/aligned
Expand All @@ -38,7 +39,8 @@ cmd=(
--vk "scripts/test_files/gnark_groth16_bn254_infinite_script/infinite_proofs/ineq_${x}_groth16.vk"
--proof_generator_addr 0x66f9664f97F2b50F62D13eA064982f936dE76657
--rpc "$RPC"
--conn "$BATCHER"
--conn "$BATCHER_CONN"
--batcher_addr "$BATCHER_ADDR"
)

# If PRIVATE_KEY is set then add private key argument
Expand Down

0 comments on commit 495ac86

Please sign in to comment.