Skip to content

Commit

Permalink
Move "Bob's TSS server" to port 3002 in the local-devnet config. (#514
Browse files Browse the repository at this point in the history
)

This resolves an issue whereby API clients were speaking to Alice's TSS
server instead of Bob's TSS server during testing.
  • Loading branch information
vitropy authored Nov 17, 2023
1 parent 41d605d commit f8ec32f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@ services:
file: docker-compose-common.yaml
service: tss-server
ports:
- "127.0.0.1:3002:3001/tcp"
- "127.0.0.1:3002:3002/tcp"
command:
- "--bob"
- "--threshold-url"
- "0.0.0.0:3001"
- "0.0.0.0:3002"
- "--chain-endpoint"
- "ws://bob-chain-node:9944"

Expand All @@ -86,4 +86,4 @@ services:
- "--bootnodes"
- "/dns4/alice-chain-node/tcp/30333/p2p/12D3KooWEyoppNCUx8Yx66oV9fJnriXwCcXwDDUA2kj6vnc6iDEp"
- "--tss-server-endpoint"
- "http://bob-tss-server:3001"
- "http://bob-tss-server:3002"
2 changes: 1 addition & 1 deletion node/cli/src/chain_spec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ pub fn local_devnet_genesis(
"2a8200850770290c7ea3b50a8ff64c6761c882ff8393dc95fccb5d1475eff17f"
]
.into(),
endpoint: "bob-tss-server:3001".as_bytes().to_vec(),
endpoint: "bob-tss-server:3002".as_bytes().to_vec(),
x25519_public_key: [
225, 48, 135, 211, 227, 213, 170, 21, 1, 189, 118, 158, 255, 87, 245,
89, 36, 170, 169, 181, 68, 201, 210, 178, 237, 247, 101, 80, 153, 136,
Expand Down

0 comments on commit f8ec32f

Please sign in to comment.