Add `forest-cli state reward` to inspect the reward actor's stream ledger

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

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
58/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
rust
領域
blockchain, cli

調査の方向性

Read Lotus v1.37.0's StateRewardCmd in cli/state.go and the related Forest work in #7658 and #7709 to understand the command and ledger type. Implement forest-cli state reward with the specified tipset default, JSON option, and pre-NV29 error; done when both completion criteria pass.

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

説明

Type: Task

Summary

Lotus v1.37.0 has lotus state reward [--tipset <ref>] [--json]. It reads the reward actor's state at a tipset and prints the stream ledger

This complements Filecoin.StateRewardDistribution (#7709), which reports how one tipset's block rewards were split; this command shows the stream configuration that split comes from.

Completion Criteria

  • forest-cli state reward [--tipset <ref>] [--json] prints the reward actor's stream ledger at the given tipset (default: head)
  • Before NV29 the command fails with a clear error, as Lotus does (reward streams are unsupported in actors v18).

Additional Links & Resources

  • Lotus command: StateRewardCmd, ledger type
  • Related: #7658, #7709, FIP-0118.
主要言語
Rust
スター
700
フォーク
201
平均マージ
1日 17時間
マージ済み PR(30日)
65

環境構築

はじめの一歩

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

ChainSafe/forest のほかの issue

ChainSafe/forest の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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