From 7fd016dffb66e0be191faa673b143817f21f207d Mon Sep 17 00:00:00 2001 From: Damien Lachaume <135982616+dlachaume@users.noreply.github.com> Date: Thu, 28 Nov 2024 17:57:22 +0100 Subject: [PATCH] chore: update aggregator target in the `client-mithril-stake-distribution` example --- examples/client-mithril-stake-distribution/README.md | 4 ++-- examples/client-mithril-stake-distribution/src/main.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/client-mithril-stake-distribution/README.md b/examples/client-mithril-stake-distribution/README.md index 362e4f1ab86..c64dea36d48 100644 --- a/examples/client-mithril-stake-distribution/README.md +++ b/examples/client-mithril-stake-distribution/README.md @@ -26,8 +26,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 diff --git a/examples/client-mithril-stake-distribution/src/main.rs b/examples/client-mithril-stake-distribution/src/main.rs index c0344462317..313b55ba2fc 100644 --- a/examples/client-mithril-stake-distribution/src/main.rs +++ b/examples/client-mithril-stake-distribution/src/main.rs @@ -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. use anyhow::anyhow; use clap::Parser; @@ -24,7 +24,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, }