Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions crates/dkg/examples/bcast.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@
//!
//! # Run in 3 terminals against the generated node directories
//! cargo run -p pluto-dkg --example bcast -- \
//! --relays https://0.relay.obol.tech,https://1.relay.obol.tech \
//! --relays https://pluto-relay-0.ovh.dev-nethermind.xyz,https://pluto-relay-1.ovh.dev-nethermind.xyz \
//! --data-dir /tmp/pluto-bcast-demo/node0
//!
//! cargo run -p pluto-dkg --example bcast -- \
//! --relays https://0.relay.obol.tech,https://1.relay.obol.tech \
//! --relays https://pluto-relay-0.ovh.dev-nethermind.xyz,https://pluto-relay-1.ovh.dev-nethermind.xyz \
//! --data-dir /tmp/pluto-bcast-demo/node1
//!
//! cargo run -p pluto-dkg --example bcast -- \
//! --relays https://0.relay.obol.tech,https://1.relay.obol.tech \
//! --relays https://pluto-relay-0.ovh.dev-nethermind.xyz,https://pluto-relay-1.ovh.dev-nethermind.xyz \
//! --data-dir /tmp/pluto-bcast-demo/node2
//! ```
//!
Expand Down
6 changes: 3 additions & 3 deletions crates/dkg/examples/sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@
//!
//! # Run in 3 terminals against the generated node directories
//! cargo run -p pluto-dkg --example sync -- \
//! --relays https://0.relay.obol.tech,https://1.relay.obol.tech \
//! --relays https://pluto-relay-0.ovh.dev-nethermind.xyz,https://pluto-relay-1.ovh.dev-nethermind.xyz \
//! --data-dir /tmp/pluto-sync-demo/node0
//!
//! cargo run -p pluto-dkg --example sync -- \
//! --relays https://0.relay.obol.tech,https://1.relay.obol.tech \
//! --relays https://pluto-relay-0.ovh.dev-nethermind.xyz,https://pluto-relay-1.ovh.dev-nethermind.xyz \
//! --data-dir /tmp/pluto-sync-demo/node1
//!
//! cargo run -p pluto-dkg --example sync -- \
//! --relays https://0.relay.obol.tech,https://1.relay.obol.tech \
//! --relays https://pluto-relay-0.ovh.dev-nethermind.xyz,https://pluto-relay-1.ovh.dev-nethermind.xyz \
//! --data-dir /tmp/pluto-sync-demo/node2
//! ```
//!
Expand Down
7 changes: 3 additions & 4 deletions crates/p2p/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,9 @@ use std::{
use libp2p::{Multiaddr, multiaddr, ping};

/// Shared default relay endpoints used by commands and P2P-facing configs.
pub const DEFAULT_RELAYS: [&str; 3] = [
"https://0.relay.obol.tech",
"https://2.relay.obol.dev",
"https://1.relay.obol.tech",
pub const DEFAULT_RELAYS: [&str; 2] = [
"https://pluto-relay-0.ovh.dev-nethermind.xyz",
"https://pluto-relay-1.ovh.dev-nethermind.xyz",
Comment on lines +12 to +14
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure we want to change the default relays to ours. I'd leave it as is, or even extend them.

Docs and examples should use ours though.

];

/// P2P configuration error.
Expand Down
6 changes: 3 additions & 3 deletions crates/parsigex/examples/parsigex.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,17 @@
//! ```bash
//! # Terminal 1
//! cargo run -p pluto-parsigex --example parsigex -- \
//! --relays https://0.relay.obol.tech,https://1.relay.obol.tech \
//! --relays https://pluto-relay-0.ovh.dev-nethermind.xyz,https://pluto-relay-1.ovh.dev-nethermind.xyz \
//! --data-dir ./cluster/node0 --share-idx 1
//!
//! # Terminal 2
//! cargo run -p pluto-parsigex --example parsigex -- \
//! --relays https://0.relay.obol.tech,https://1.relay.obol.tech \
//! --relays https://pluto-relay-0.ovh.dev-nethermind.xyz,https://pluto-relay-1.ovh.dev-nethermind.xyz \
//! --data-dir ./cluster/node1 --share-idx 2
//!
//! # Terminal 3
//! cargo run -p pluto-parsigex --example parsigex -- \
//! --relays https://0.relay.obol.tech,https://1.relay.obol.tech \
//! --relays https://pluto-relay-0.ovh.dev-nethermind.xyz,https://pluto-relay-1.ovh.dev-nethermind.xyz \
//! --data-dir ./cluster/node2 --share-idx 3
//! ```
//!
Expand Down
6 changes: 3 additions & 3 deletions scripts/dkg-runner/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Shell scripts for running a complete DKG ceremony with a configurable mix of Plu

- Pluto binary built (used for `create dkg` and for any Pluto nodes in the ceremony): `cargo build -p pluto-cli`
- `charon` binary on your `$PATH` and `curl` installed (required when `RUN_SMOKE_VERIFY` is enabled; this is the default)
- Relay server reachable (default: `https://0.relay.obol.tech`)
- Relay server reachable (default: `https://pluto-relay-0.ovh.dev-nethermind.xyz`)

## Quick start

Expand All @@ -30,7 +30,7 @@ NODES=4 THRESHOLD=3 PLUTO_NODES=1 CHARON_NODES=3 ./scripts/dkg-runner/run.sh

# Release binary, custom relay, longer timeout
PLUTO_BIN=./target/release/pluto \
RELAY_URL=https://0.relay.obol.tech \
RELAY_URL=https://pluto-relay-0.ovh.dev-nethermind.xyz \
TIMEOUT=300 \
./scripts/dkg-runner/run.sh

Expand All @@ -55,7 +55,7 @@ All variables are optional. Set them in the environment before calling any scrip
| `THRESHOLD` | `3` | Min shares required to reconstruct the key |
| `PLUTO_NODES` | `2` | How many slots use the Pluto binary (fills slots 0…N-1) |
| `CHARON_NODES` | `2` | How many slots use the Charon binary (fills remaining slots) |
| `RELAY_URL` | `https://0.relay.obol.tech` | Relay ENR endpoint passed to the DKG nodes |
| `RELAY_URL` | `https://pluto-relay-0.ovh.dev-nethermind.xyz` | Relay ENR endpoint passed to the DKG nodes |
| `NETWORK` | `holesky` | Ethereum network for the cluster definition |
| `FEE_RECIPIENT` | `0xDeaDBeef…` | Fee recipient address for the cluster |
| `WITHDRAWAL_ADDR` | `0xDeaDBeef…` | Withdrawal address for the cluster |
Expand Down
2 changes: 1 addition & 1 deletion scripts/dkg-runner/config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
: "${THRESHOLD:=3}"
: "${PLUTO_NODES:=2}"
: "${CHARON_NODES:=2}"
: "${RELAY_URL:=https://0.relay.obol.tech}"
: "${RELAY_URL:=https://pluto-relay-0.ovh.dev-nethermind.xyz}"
: "${TIMEOUT:=120}"
: "${SHUTDOWN_DELAY:=5s}"
: "${NODE_EXIT_TIMEOUT:=90}"
Expand Down
2 changes: 1 addition & 1 deletion scripts/dkg-runner/run-node.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# PLUTO_BIN=./target/debug/pluto
# CHARON_BIN=charon
# WORK_DIR=/tmp/dkg-run
# RELAY_URL=https://0.relay.obol.tech
# RELAY_URL=https://pluto-relay-0.ovh.dev-nethermind.xyz

set -euo pipefail

Expand Down
2 changes: 1 addition & 1 deletion scripts/dkg-runner/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# THRESHOLD=3 Signing threshold (min shares required to reconstruct).
# PLUTO_NODES=2 How many of the NODES slots use the Pluto binary.
# CHARON_NODES=2 How many of the NODES slots use the Charon binary.
# RELAY_URL=https://0.relay.obol.tech
# RELAY_URL=https://pluto-relay-0.ovh.dev-nethermind.xyz
# Relay ENR endpoint used by the DKG nodes.
# TIMEOUT=120 Seconds to wait for all nodes before aborting.
# NODE_EXIT_TIMEOUT=90 Seconds to wait for nodes to exit after completion.
Expand Down
2 changes: 1 addition & 1 deletion test-infra/docker-compose.mixed-dkg-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#
# Use the external Obol relay instead of the internal one:
#
# RELAY_URL=https://0.relay.obol.tech \
# RELAY_URL=https://pluto-relay-0.ovh.dev-nethermind.xyz \
# docker compose -f docker-compose.mixed-dkg-test.yml up
#
# Network topology — relay bridges isolated node networks; nodes share
Expand Down
Loading