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

オープン
#3,748 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 3 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
rust

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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?

主要言語
Rust
スター
155
フォーク
52
平均マージ
3日 9時間
マージ済み PR(30日)
33

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

IntersectMBO/mithril のほかの issue

IntersectMBO/mithril の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。