Add the block producer to the Cardano relay topology of the signers in `mithril-infra`

Aperta
#3,740 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 3 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
54/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
blockchain, docker, terraform

Direzione di ricerca

Start with mithril-infra/mithril.signer.tf and inspect how signer relay topology and Docker network services are configured. Check Cardano node logs on a testing network before and after the topology change; done means each relay promotes its own block producer to hot right after startup. The issue calls for a testing network deployment and log verification, so this needs infrastructure access and several days of work.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

infrastructure :classical_building:

Why

In mithril-infra, the Cardano block producer of each signer lists its relay as a local root, but the relay topology is the official topology.json copied as is, so the relay does not list its own block producer, while the Cardano documentation requires it as a private local root (https://developers.cardano.org/docs/operators/relay-configuration/relay-node-configuration/). The same gap in the DMQ topology made each DMQ relay wait before pulling from its block producer, so the Cardano relays may also adopt their block producer late and delay the diffusion of the blocks minted by the test pools.

What

Each Cardano relay of a signer deployed by mithril-infra keeps its own block producer as a private local root (not advertised, not trustable) and connects to it as soon as it starts.

How

  • Check the Cardano node logs of a testing network to measure when the relay promotes its block producer to hot after a restart
  • Add the block producer (cardano-node-block-producer-signer-<id> on the mithril_network Docker network) as a separate localRoots group of the relay topology in mithril-infra/mithril.signer.tf, with advertise: false, trustable: false and valency: 1
  • Deploy on a testing network and check in the logs that the relay promotes its block producer to hot right after start
Lingua principale
Rust
Stelle
155
Fork
52
Merge medio
3g 9h
PR unite (30g)
33

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di IntersectMBO/mithril

Tutte le issue di IntersectMBO/mithril

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.