Skip to content

testing-sanchonet network decommission #2300

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Feb 18, 2025
Merged
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
28 changes: 2 additions & 26 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,7 @@ jobs:
version-name: unstable-${{ steps.slug.outputs.sha8 }}
download-url-base: ${{ github.server_url }}/${{ github.repository }}/releases/download/unstable
gpg-secret-key: ${{ secrets.GPG_SECRET_KEY }}
compatibility-table: '{ "release-mainnet": "⛔", "release-preprod": "⛔", "pre-release-preview": "⛔", "testing-preview": "✔", "testing-sanchonet": "✔" }'
compatibility-table: '{ "release-mainnet": "⛔", "release-preprod": "⛔", "pre-release-preview": "⛔", "testing-preview": "✔" }'

- name: Delete unstable release and associated tag
env:
Expand Down Expand Up @@ -642,7 +642,7 @@ jobs:
strategy:
fail-fast: false
matrix:
environment: [testing-preview, testing-sanchonet]
environment: [testing-preview]
include:
- environment: testing-preview
environment_prefix: testing
Expand Down Expand Up @@ -676,30 +676,6 @@ jobs:
google_machine_type: e2-highmem-8
google_compute_instance_boot_disk_size: 200
google_compute_instance_data_disk_size: 250
- environment: testing-sanchonet
environment_prefix: testing
cardano_network: sanchonet
mithril_use_p2p_network: false
mithril_api_domain: api.mithril.network
mithril_protocol_parameters: |
{
k = 5
m = 100
phi_f = 0.65
}
mithril_signers: |
{
"1" = {
type = "verified",
pool_id = "",
},
}
terraform_backend_bucket: hydra-terraform-admin
google_region: europe-west1
google_zone: europe-west1-b
google_machine_type: e2-highmem-4
google_compute_instance_boot_disk_size: 200
google_compute_instance_data_disk_size: 250
environment: ${{ matrix.environment }}
runs-on: ubuntu-24.04
needs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
version-name: ${{ github.ref_name }}
download-url-base: ${{ github.server_url }}/${{ github.repository }}/releases/download/${{ github.ref_name }}
gpg-secret-key: ${{ secrets.GPG_SECRET_KEY }}
compatibility-table: '{ "release-mainnet": "⛔", "release-preprod": "⛔", "pre-release-preview": "✔", "testing-preview": "⛔", "testing-sanchonet": "⛔" }'
compatibility-table: '{ "release-mainnet": "⛔", "release-preprod": "⛔", "pre-release-preview": "✔", "testing-preview": "⛔" }'

- name: Create pre-release ${{ github.ref_name }}
uses: softprops/action-gh-release@v2
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,3 @@ Here are the recommended update policies by Cardano network:
`preview` | **stable** | the minimum supported Cardano node version should be updated to be two stable releases behind the current release version.
`preprod` | **stable** | the minimum supported Cardano node version should be updated to be two stable releases behind the current release version.
`mainnet` | **stable** | the minimum supported Cardano node version should be updated to be two stable releases behind the current release version.
`sanchonet` | **unstable** | given the unstable status of the network, the minimum supported Cardano node version may vary from the stable one.
3 changes: 1 addition & 2 deletions docs/runbook/test-client-multiplatform/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,11 @@ Then fill the form to manually run the workflow:
> - The **Mithril image id** of the distribution to deploy must be published on the [package registry](https://github.com/orgs/input-output-hk/packages?repo_name=mithril)

> [!IMPORTANT]
> If you want to run the tests with an aggregator that has the signing capability for Cardano transactions, you will also need to provide a list of [Cardano transactions hashes](https://sancho.cexplorer.io/tx) separated by commas.
> If you want to run the tests with an aggregator that has the signing capability for Cardano transactions, you will also need to provide a list of [Cardano transaction hashes](https://preview.cexplorer.io/tx) separated by commas.
>
> The aggregator capabilities are available at the root route of the aggregator `/`:
>
> - [Capabilities for testing-preview aggregator](https://aggregator.testing-preview.api.mithril.network/aggregator)
> - [Capabilities for testing-sanchonet aggregator](https://aggregator.testing-sanchonet.api.mithril.network/aggregator)

The result should look like this in the GitHub Actions:

Expand Down
26 changes: 26 additions & 0 deletions docs/website/blog/2025-02-18-testing-sanchonet-decommission.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
title: "Decommissioning the `testing‑sanchonet` network"
authors:
- name: Mithril Team
tags: [cardano, sanchonet, spo, testing, network]
---

## Announcing the decommissioning of the `testing‑sanchonet` network

The `testing-sanchonet` Mithril network was introduced a year ago to allow the community to test experimental features and provide feedback to the Mithril team. In particular, it has been a valuable tool for testing the transition to the **Conway** era.

**The Mithril team sincerely appreciates the Mithril pioneer stake pool operators for participating in testing and providing valuable feedback!**

The Cardano SanchoNet network is now being sunset, having served its purpose of introducing governance features from CIP-1694 in a controlled testnet environment.

In this context, the Mithril team has decided to decommission the `testing-sanchonet` network:

- the aggregator will be terminated by **February 21, 2025**
- the network will be removed from the [Mithril explorer](https://mithril.network/explorer/?aggregator=https%3A%2F%2Faggregator.testing-sanchonet.api.mithril.network%2Faggregator)
- the repository code will be cleaned up.

If you are running a **Mithril signer on this network, you can safely terminate your node** and remove the `testing-sanchonet` configuration from your setup.

Available Mithril networks are listed on the [Network configurations](https://mithril.network/doc/manual/getting-started/network-configurations) page of the documentation website.

For any inquiries or assistance, contact the team on the [Discord channel](https://discord.gg/5kaErDKDRq).
21 changes: 1 addition & 20 deletions docs/website/root/networks-matrix.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import TabItem from '@theme/TabItem';

Here is an updated list of all **Mithril networks**, including their configurations and current statuses:

> Last update: 07/21/2023
> Last update: 02/11/2025

<Tabs>
<TabItem value="mainnet" label="Mainnet" default>
Expand Down Expand Up @@ -88,25 +88,6 @@ Here is an updated list of all **Mithril networks**, including their configurati
| **Era reader verification key** | `https://raw.githubusercontent.com/input-output-hk/mithril/main/mithril-infra/configuration/testing-preview/era.vkey` [:arrow_upper_right:](https://raw.githubusercontent.com/input-output-hk/mithril/main/mithril-infra/configuration/testing-preview/era.vkey) |
| **Build from** | **Main branch** [:arrow_upper_right:](https://github.com/input-output-hk/mithril/tree/main) |

</TabItem>
<TabItem value="sanchonet" label="Sanchonet">
## `testing-sanchonet`
> :warning: For developers only

| Information | - |
| ------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Mithril network** | `testing-sanchonet` [:mag_right:](https://mithril.network/explorer?aggregator=https%3A%2F%2Faggregator.testing-sanchonet.api.mithril.network%2Faggregator) |
| **Cardano network** | `sanchonet` |
| **Cardano magic Id** | `4` |
| **Supported** | Yes :heavy_check_mark: |
| **Status** | Unstable 🔴 |
| **Aggregator endpoint** | `https://aggregator.testing-sanchonet.api.mithril.network/aggregator` [:arrow_upper_right:](https://aggregator.testing-sanchonet.api.mithril.network/aggregator) |
| **Genesis verification key** | `https://raw.githubusercontent.com/input-output-hk/mithril/main/mithril-infra/configuration/testing-sanchonet/genesis.vkey` [:arrow_upper_right:](https://raw.githubusercontent.com/input-output-hk/mithril/main/mithril-infra/configuration/testing-sanchonet/genesis.vkey) |
| **Era reader adapter type** | `cardano-chain` |
| **Era reader address** | `https://raw.githubusercontent.com/input-output-hk/mithril/main/mithril-infra/configuration/testing-sanchonet/era.addr` [:arrow_upper_right:](https://raw.githubusercontent.com/input-output-hk/mithril/main/mithril-infra/configuration/testing-sanchonet/era.addr) |
| **Era reader verification key** | `https://raw.githubusercontent.com/input-output-hk/mithril/main/mithril-infra/configuration/testing-sanchonet/era.vkey` [:arrow_upper_right:](https://raw.githubusercontent.com/input-output-hk/mithril/main/mithril-infra/configuration/testing-sanchonet/era.vkey) |
| **Build from** | **Main branch** [:arrow_upper_right:](https://github.com/input-output-hk/mithril/tree/main) |

</TabItem>
</Tabs>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import TabItem from '@theme/TabItem';

Here is an updated list of all **Mithril networks**, including their configurations and current statuses:

> Last update: 07/21/2023
> Last update: 02/11/2025

<Tabs>
<TabItem value="mainnet" label="Mainnet" default>
Expand Down Expand Up @@ -88,25 +88,6 @@ Here is an updated list of all **Mithril networks**, including their configurati
| **Era reader verification key** | `https://raw.githubusercontent.com/input-output-hk/mithril/main/mithril-infra/configuration/testing-preview/era.vkey` [:arrow_upper_right:](https://raw.githubusercontent.com/input-output-hk/mithril/main/mithril-infra/configuration/testing-preview/era.vkey) |
| **Build from** | **Main branch** [:arrow_upper_right:](https://github.com/input-output-hk/mithril/tree/main) |

</TabItem>
<TabItem value="sanchonet" label="Sanchonet">
## `testing-sanchonet`
> :warning: For developers only

| Information | - |
| ------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Mithril network** | `testing-sanchonet` [:mag_right:](https://mithril.network/explorer?aggregator=https%3A%2F%2Faggregator.testing-sanchonet.api.mithril.network%2Faggregator) |
| **Cardano network** | `sanchonet` |
| **Cardano magic Id** | `4` |
| **Supported** | Yes :heavy_check_mark: |
| **Status** | Unstable 🔴 |
| **Aggregator endpoint** | `https://aggregator.testing-sanchonet.api.mithril.network/aggregator` [:arrow_upper_right:](https://aggregator.testing-sanchonet.api.mithril.network/aggregator) |
| **Genesis verification key** | `https://raw.githubusercontent.com/input-output-hk/mithril/main/mithril-infra/configuration/testing-sanchonet/genesis.vkey` [:arrow_upper_right:](https://raw.githubusercontent.com/input-output-hk/mithril/main/mithril-infra/configuration/testing-sanchonet/genesis.vkey) |
| **Era reader adapter type** | `cardano-chain` |
| **Era reader address** | `https://raw.githubusercontent.com/input-output-hk/mithril/main/mithril-infra/configuration/testing-sanchonet/era.addr` [:arrow_upper_right:](https://raw.githubusercontent.com/input-output-hk/mithril/main/mithril-infra/configuration/testing-sanchonet/era.addr) |
| **Era reader verification key** | `https://raw.githubusercontent.com/input-output-hk/mithril/main/mithril-infra/configuration/testing-sanchonet/era.vkey` [:arrow_upper_right:](https://raw.githubusercontent.com/input-output-hk/mithril/main/mithril-infra/configuration/testing-sanchonet/era.vkey) |
| **Build from** | **Main branch** [:arrow_upper_right:](https://github.com/input-output-hk/mithril/tree/main) |

</TabItem>
</Tabs>

Expand Down
2 changes: 1 addition & 1 deletion mithril-common/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mithril-common"
version = "0.5.2"
version = "0.5.3"
description = "Common types, interfaces, and utilities for Mithril nodes."
authors = { workspace = true }
edition = { workspace = true }
Expand Down
22 changes: 0 additions & 22 deletions mithril-common/src/entities/cardano_network.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ const MAINNET_MAGIC_ID: MagicId = 764824073;
const TESTNET_MAGIC_ID: MagicId = 1097911063;
const PREPROD_MAGIC_ID: MagicId = 1;
const PREVIEW_MAGIC_ID: MagicId = 2;
const SANCHONET_MAGIC_ID: MagicId = 4;

#[derive(Error, Debug)]
pub enum CardanoNetworkError {
Expand Down Expand Up @@ -41,7 +40,6 @@ impl CardanoNetwork {
"testnet" => Ok(CardanoNetwork::TestNet(TESTNET_MAGIC_ID)),
"preview" => Ok(CardanoNetwork::TestNet(PREVIEW_MAGIC_ID)),
"preprod" => Ok(CardanoNetwork::TestNet(PREPROD_MAGIC_ID)),
"sanchonet" => Ok(CardanoNetwork::TestNet(SANCHONET_MAGIC_ID)),
"private" => {
if let Some(magic) = network_magic {
Ok(CardanoNetwork::TestNet(magic))
Expand Down Expand Up @@ -96,7 +94,6 @@ impl Display for CardanoNetwork {
TESTNET_MAGIC_ID => write!(f, "testnet"),
PREVIEW_MAGIC_ID => write!(f, "preview"),
PREPROD_MAGIC_ID => write!(f, "preprod"),
SANCHONET_MAGIC_ID => write!(f, "sanchonet"),
_ => write!(f, "private"),
},
}
Expand Down Expand Up @@ -145,14 +142,6 @@ mod tests {
CardanoNetwork::from_code("preprod".to_string(), Some(123)).unwrap(),
CardanoNetwork::TestNet(PREPROD_MAGIC_ID)
);
assert_eq!(
CardanoNetwork::from_code("sanchonet".to_string(), None).unwrap(),
CardanoNetwork::TestNet(SANCHONET_MAGIC_ID)
);
assert_eq!(
CardanoNetwork::from_code("sanchonet".to_string(), Some(123)).unwrap(),
CardanoNetwork::TestNet(SANCHONET_MAGIC_ID)
);
assert_eq!(
CardanoNetwork::from_code("testnet".to_string(), None).unwrap(),
CardanoNetwork::TestNet(TESTNET_MAGIC_ID)
Expand Down Expand Up @@ -204,16 +193,6 @@ mod tests {
.unwrap();
assert!(allow_unparsable_block);

let allow_unparsable_block = CardanoNetwork::TestNet(SANCHONET_MAGIC_ID)
.compute_allow_unparsable_block(false)
.unwrap();
assert!(!allow_unparsable_block);

let allow_unparsable_block = CardanoNetwork::TestNet(SANCHONET_MAGIC_ID)
.compute_allow_unparsable_block(true)
.unwrap();
assert!(allow_unparsable_block);

let allow_unparsable_block = CardanoNetwork::TestNet(TESTNET_MAGIC_ID)
.compute_allow_unparsable_block(false)
.unwrap();
Expand Down Expand Up @@ -248,7 +227,6 @@ mod tests {
assert_all_conversions_eq(CardanoNetwork::TestNet(TESTNET_MAGIC_ID), "testnet");
assert_all_conversions_eq(CardanoNetwork::TestNet(PREVIEW_MAGIC_ID), "preview");
assert_all_conversions_eq(CardanoNetwork::TestNet(PREPROD_MAGIC_ID), "preprod");
assert_all_conversions_eq(CardanoNetwork::TestNet(SANCHONET_MAGIC_ID), "sanchonet");
assert_all_conversions_eq(CardanoNetwork::TestNet(123456), "private");
}
}
4 changes: 2 additions & 2 deletions mithril-explorer/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion mithril-explorer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mithril-explorer",
"version": "0.7.30",
"version": "0.7.31",
"private": true,
"scripts": {
"dev": "next dev",
Expand Down
Loading
Loading