Skip to content

Commit a76b2e0

Browse files
committed
update senders to use wss
1 parent 5ba7811 commit a76b2e0

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

batcher/aligned-task-sender/src/structs.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ pub struct TestConnectionsArgs {
9191
#[arg(
9292
name = "Batcher connection address",
9393
long = "batcher-url",
94-
default_value = "ws://localhost:8080"
94+
default_value = "wss://localhost:8080"
9595
)]
9696
pub batcher_url: String,
9797
#[arg(
@@ -114,7 +114,7 @@ pub struct SendInfiniteProofsArgs {
114114
#[arg(
115115
name = "Batcher connection address",
116116
long = "batcher-url",
117-
default_value = "ws://localhost:8080"
117+
default_value = "wss://localhost:8080"
118118
)]
119119
pub batcher_url: String,
120120
#[arg(

batcher/aligned/generate_proof_and_send.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ 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_CONN=${BATCHER_CONN:-ws://localhost:8080}
29+
BATCHER_CONN=${BATCHER_CONN:-wss://localhost:8080}
3030
if [ -z "$NETWORK" ]; then
3131
echo "NETWORK is not set. Setting it to devnet"
3232
NETWORK="devnet"

batcher/aligned/send_infinite_sp1_tasks/send_infinite_sp1_tasks.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ else
1313
fi
1414

1515
RPC=${RPC:-http://localhost:8545}
16-
BATCHER_CONN=${BATCHER_CONN:-ws://localhost:8080}
16+
BATCHER_CONN=${BATCHER_CONN:-wss://localhost:8080}
1717
if [ -z "$NETWORK" ]; then
1818
echo "NETWORK is not set. Setting it to devnet"
1919
NETWORK="devnet"

batcher/aligned/send_infinite_tasks.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ fi
1414

1515
# Set default values for RPC and BATCHER if they are not set
1616
RPC=${RPC:-http://localhost:8545}
17-
BATCHER_CONN=${BATCHER_CONN:-ws://localhost:8080}
17+
BATCHER_CONN=${BATCHER_CONN:-wss://localhost:8080}
1818
if [ -z "$NETWORK" ]; then
1919
echo "NETWORK is not set. Setting it to devnet"
2020
NETWORK="devnet"

batcher/aligned/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ pub struct GetUserNonceArgs {
207207
#[arg(
208208
name = "Batcher connection address",
209209
long = "batcher_url",
210-
default_value = "ws://localhost:8080"
210+
default_value = "wss://localhost:8080"
211211
)]
212212
batcher_url: String,
213213
#[arg(

0 commit comments

Comments
 (0)