Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

BUG - spo-stake-distribution

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

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
haskell
領域
blockchain, cli

調査の方向性

まず、2つのプールハッシュに対して query spo-stake-distribution を再現し、レポートに記載されたretirementエポックと報酬アドレスのエポックを比較します。コマンドによるstake-poolのretirementと保留中のプール更新の処理を追跡します。完了の基準は、出力が投票委任についてプロジェクトが意図するエポックのセマンティクスに一貫して従うことです。

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

説明

While comparing some governance proposal numbers from DBSync with output from cardano-cli (10.13.1.0), it mostly matches down to the lovelace for all the different buckets I sum up for DRep and SPOs.

However, for the SPO tally, I noticed something strange regarding the always abstain status.

1.
Querying the cli query spo-stake-distribution I can see that pool with hash d68eed68381b65beb04fc7984dfa156c4dbf53c7911e900af6a535ef has the following data:
["d68eed68381b65beb04fc7984dfa156c4dbf53c7911e900af6a535ef",339284886531,null]
Ie it still has active stake according to the output, but is not marked as vote-delegated to always abstain.
It is set to expire in 601 (current epoch).
Its reward stake key is vote-delegated to Abstain and hasn't been deregistered or delegated to another DRep.

Most explorers have already marked the pool as retired.
Is the pool considered retired already, or is it first after the end of the current epoch?
DBSync also still has an entry for the pool in its pool_stat table for the current epoch.

Is the retiring epoch inclusive or exclusive?
If the stake is still active until the end of the epoch, shouldn't it then also still be marked as being vote-delegated to always abstain?

2.
Pool with hash 982f926165ebf6699df8704a16d11c9e13c88c4e02f63e3fe5af7181 has a pool update with a new reward address in epoch 599 set to go active in 602 (next epoch). The old rewards address was vote-delegated to CF, while the new one (for the update yet to take effect) is vote-delegated to Abstain.

Yet, in query spo-stake-distribution, it's listed as vote-delegated to always abstain, even though the update is not yet active.

主要言語
Haskell
スター
72
フォーク
24
平均マージ
1日 5時間
マージ済み PR(30日)
9

環境構築

はじめの一歩

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

IntersectMBO/cardano-cli のほかの issue

IntersectMBO/cardano-cli の issue をすべて見る

似ている issue

Haskell の issue をもっと見る

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

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