paritytech / paritytech/try-runtime-cli
Fix encointer AURA slot
未关闭
还没有人认领这个 Issue。
- 主要语言
- Rust
- 星标
- 25
- 派生
- 29
- PR 合并指标
- 30 天内没有已合并 PR
描述
Something wrong, probably here:
panicked at /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cumulus-pallet-aura-ext-0.15.0/src/consensus_hook.rs:69:9:
assertion `left == right` failed: slot number mismatch
left: Slot(143998834)
right: Slot(287997668)
thread 'main' panicked at cli/main.rs:326:10:
Looks like it is off by 2x, occurred here: https://github.com/polkadot-fellows/runtimes/actions/runs/11168344347/job/31047391625?pr=463
We do have the --blocktime flag, but i think its not being used here.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从 core/src/common/empty_block/inherents/providers.rs 第 126 行附近开始,跟踪 --blocktime 标志如何传递到 AURA inherents provider。使用链接的 runtimes workflow 失败来复现 slot 不匹配问题。当使用配置的区块时间时,encointer AURA slot 与预期 slot 匹配,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- rust
- 领域
- blockchain, testing
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100