Skip to content

Commit

Permalink
chore: update aggregator target in the client-snapshot example
Browse files Browse the repository at this point in the history
  • Loading branch information
dlachaume committed Nov 28, 2024
1 parent 7fd016d commit 69bce37
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions examples/client-snapshot/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ cargo run
# Run with your custom network configuration
AGGREGATOR_ENDPOINT=YOUR_AGGREGATOR_ENDPOINT GENESIS_VERIFICATION_KEY=YOUR_GENESIS_VERIFICATION_KEY cargo run

# Example with 'pre-release-preview' network
AGGREGATOR_ENDPOINT=https://aggregator.pre-release-preview.api.mithril.network/aggregator GENESIS_VERIFICATION_KEY=$(curl -s https://raw.githubusercontent.com/input-output-hk/mithril/main/mithril-infra/configuration/pre-release-preview/genesis.vkey) cargo run
# Example with 'release-preprod' network
AGGREGATOR_ENDPOINT=https://aggregator.release-preprod.api.mithril.network/aggregator GENESIS_VERIFICATION_KEY=$(curl -s https://raw.githubusercontent.com/input-output-hk/mithril/main/mithril-infra/configuration/release-preprod/genesis.vkey) cargo run
```

## Links
Expand Down
4 changes: 2 additions & 2 deletions examples/client-snapshot/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//! This example shows how to implement a Mithril client and use its features.
//!
//! In this example, the client interacts by default with a real aggregator (`testing-preview`) to get the data.
//! In this example, the client interacts by default with a real aggregator (`release-preprod`) to get the data.
//!
//! A [FeedbackReceiver] using [indicatif] is used to nicely report the progress to the console.
Expand Down Expand Up @@ -33,7 +33,7 @@ pub struct Args {
#[clap(
long,
env = "AGGREGATOR_ENDPOINT",
default_value = "https://aggregator.testing-preview.api.mithril.network/aggregator"
default_value = "https://aggregator.release-preprod.api.mithril.network/aggregator"
)]
aggregator_endpoint: String,
}
Expand Down

0 comments on commit 69bce37

Please sign in to comment.