Add `forest-cli state reward` to inspect the reward actor's stream ledger
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 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 内容生成。
描述
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 小时
- 30 天内合并 PR
- 65
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ChainSafe/forest 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
Bug
难度 3/5 1-2 天 新手友好度 20/100
维护者通常 1 天内回复
-
[automated] `cargo deny check advisories` failure @ 20/11/26 00:01可能已有人在做 @akaladarshi 今天认领。 未关闭Bug
难度 1/5 1 小时以内 新手友好度 15/100
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 58/100
维护者通常 1 天内回复
-
FIP-0119 implementation in `builtin-actors`可能已有人在做 @LesnyRumcajs 于 2 天前认领。 未关闭Type: Task
ChainSafe/forest#7886 · 已指派 1 人 ·
维护者通常 1 天内回复
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 5 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
eandualem/agent-interface#290 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
benchmark-review
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复