Skip to content

Commit 914f1ce

Browse files
committed
Add a blog post for era switch
1 parent 7054e90 commit 914f1ce

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed
144 KB
Loading
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
title: Mithril Era Switch
3+
authors:
4+
- name: Mithril Team
5+
tags: [era, era activation, era markers, era switch, hard fork]
6+
---
7+
8+
### An new Era Switch behavior will be introduced soon to the Mithril networks
9+
10+
**Epic**: `Implement eras behavior switch #707](Implement eras behavior switch` [#707](https://github.com/input-output-hk/mithril/issues/707)
11+
12+
:warning: The Era Switch is not deployed yet to the `pre-release-preview` and `release-preprod` network. A special announcement will be made on the **moria** Discord channel when a new release condaidate distribution is ready.
13+
14+
In order to guarantee that any breaking change of the Mithril nodes does not break the Certificate Chain and the that new snapshots are consistently produced, the Mithril team has developped an Era Switch Behavior. This mechanism enables to embed new features in the signer and aggregator nodes prior ro releasing them. Also the activation of these new features will take place in a coordinated manner: all the eligible nodes will hot switch to a new era at the same Cardano epoch transition. To do so, the nodes rely on a transaction that is stored on the Cardano chain that provides era markers with the associated activations epochs for the eras.
15+
16+
:fire: Activating this feature will require an update of configuration of the signer nodes after updating their binary:
17+
- The `ERA_READER_ADAPTER_TYPE` env var must be set to `cardano-chain`
18+
- The `ERA_READER_ADAPTER_PARAMS` env var must be set to the result of the command `jq -nc --arg address $(wget -q -O - **YOUR_ERA_READER_ADDRESS**) --arg verification_key $(wget -q -O - **YOUR_ERA_READER_VERIFICATION_KEY**) '{"address": $address, "verification_key": $verification_key}'` (the ****YOUR_ERA_READER_ADDRESS**** and ****YOUR_ERA_READER_VERIFICATION_KEY**** are values provided in the networks configuration matrix)
19+
20+
All theses information will be available at the updated [`Run a Mithril Signer node (SPO)`](https://mithril.network/doc/manual/getting-started/run-signer-node) guide.
21+
22+
Here is a schema that illustrates the era switch behavior:
23+
![Era Switch Schema](./img/schema.jpg)
24+
25+
More information is also available at this [ADR](https://mithril.network/doc/adr/4).
26+
27+
Feel free to reach out to us on the [Discord channel](https://discord.gg/5kaErDKDRq) for questions and/or help.

0 commit comments

Comments
 (0)