Is there an upper bound on the size of a (mainnet) stake distribution certificate?

Aperta
#3,748 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à
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
rust

Direzione di ricerca

Start by tracing how the Mithril aggregator builds and serializes stake distribution certificates, then inspect the signer registration, quorum, and lottery-index limits for the stated protocol parameters. Determine whether signer growth can exceed the 512 KiB JSON limit and document any enforced or guaranteed bounds; the issue does not name specific files or tests.

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

Descrizione

The Cardano IBC light client accepts up to 512 KiB of certificate JSON as served by the Mithril aggregator. We’re trying to establish whether that limit accommodates every Cardano stake distribution certificate the mainnet aggregator can emit with k = 1944, m = 16948, phi_f = 0.2.

In the epoch 671 certificate the aggregate verification key committed to 231 registered signers. The metadata listed 172 signers and the proof included 61 signers contributing 1951 distinct lottery wins. I'd just like to confirm a few things:

  1. Is there any enforced maximum on the number of registered signers in an epoch, or on the number that can appear in a single certificate’s metadata or proof? Is it possible for all registered signers appear in both?

  2. If the aggregator adds a signer’s winning indices together and stops once it reaches quorum, is there a tighter bound on the total indices it can emit than the full lottery range? The epoch 671 certificate already shows the total can exceed k.

  3. Is there a known/guaranteed maximum serialized size for the compact certificate JSON? If there’s no guarantee could signer growth on its own make a certificate go over 512 KiB with the same protocol parameters?

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.