Error message is wrong when block-height it too low when executing script
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 45/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- go
- 领域
- blockchain, cli
调研方向
从 flow scripts execute 路径开始,在 access 或 archive node 上针对第一个区块之前的区块高度重现该命令。跟踪数据不可用错误的生成位置;当消息将请求的高度与最早的索引高度而不是最新高度进行比较时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
Instructions
❌ Invalid argument: could not execute script: data unavailable for block height: the requested height (39290353) is beyond the highest indexed height(57976549)
Problem
the error message compares this agains the latest height not the earliest height
Steps to Reproduce
run any script against a block before the first block in a access/archive node
- 主要语言
- Go
- 星标
- 209
- 派生
- 88
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
onflow/flow-cli 的其他 Issue
-
Simplify MCP contract sorting with slices helpers可能已有人在做 @luangucun 于 48 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
-
`flow cadence lint` lints imports可能已有人在做 @holyfuchs 于 187 天前认领。 未关闭Bug Improvement
难度 2/5 1-3 小时 新手友好度 78/100
-
Bug
难度 3/5 1-2 天 新手友好度 48/100
-
flow test prints unreadable output可能已有人在做 @holyfuchs 于 185 天前认领。 未关闭
难度 3/5 1-2 天 新手友好度 55/100
-
Feature
难度 3/5 1-2 天 新手友好度 48/100
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 2 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 83/100
devlikeapro/waha#2322 ·
维护者通常 2 天内回复
-
validateDeclaredPath lets control characters through into the Gradle init script's Groovy literal未关闭agent-butler-finding agent-research bug ready-for-agent
难度 2/5 1-3 小时 新手友好度 78/100
jordansmall/spindrift#5821 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 1 天内回复
-
[rmqctl][Bug] Windows build script fails when the output directory is absent可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
apache/rocketmq-dashboard#7243 ·
维护者通常 3 天内回复