`tx hash` fails on fee-bump transactions
维护者通常 1 天内回复
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 72/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- rust
- 领域
- blockchain, cli
调研方向
Reproduce the issue with the provided stellar tx new, stellar tx decode, stellar tx encode, and stellar tx hash commands, then inspect the Rust implementation behind stellar tx hash and its transaction-version handling. Done means the fee-bump envelope produces its hash while the existing plain transaction case continues to work.
由索引模型根据 Issue 内容生成。
描述
What version are you using?
stellar-cli 28.1.0 (d0b26d9, built from main).
What did you do?
I wrapped a transaction in a fee bump and asked for its hash:
stellar tx new payment --source alice --destination bob --amount 1 \
--network testnet --build-only > tx.b64
stellar tx hash --network testnet < tx.b64
stellar tx decode < tx.b64 \
| jq -c --arg fs "$(stellar keys address bob)" \
'{tx_fee_bump:{tx:{fee_source:$fs,fee:10000,inner_tx:{tx:.tx},ext:"v0"},signatures:[]}}' \
| stellar tx encode \
| stellar tx hash --network testnet
What did you expect to see?
The fee-bump transaction's hash.
What did you see instead?
The plain transaction hashes fine, but the fee-bump envelope is rejected:
❌ error: only transaction v1 is supported
(exit status 1)
- 主要语言
- Rust
- 星标
- 129
- 派生
- 153
- 平均合并
- 1 天 14 小时
- 30 天内合并 PR
- 11
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
stellar/stellar-cli 的其他 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 72/100
stellar/stellar-cli#2887 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 65/100
stellar/stellar-cli#2880 ·
维护者通常 1 天内回复
-
arg_value_union panics on zero-arity union tuple case (unchecked type_[0] index)可能已有人在做 @hvoi 于 22 天前认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 72/100
stellar/stellar-cli#2806 · 1 条评论 ·
维护者通常 1 天内回复
-
contract extend panics on single-change resultMetaXdr (index out of bounds at extend.rs:306)可能重新可做 @duongynhi000005-oss 于 18 天前认领,目前没有进行中的 PR。 未关闭
难度 1/5 1 小时以内 新手友好度 90/100
stellar/stellar-cli#2796 · 1 条评论 ·
维护者通常 1 天内回复
-
Document stellar-cli's RPC trust boundary可能重新可做 关联的 PR 已关闭且未合并。 未关闭
难度 1/5 1-3 小时 新手友好度 85/100
stellar/stellar-cli#2781 · 1 条评论 ·
维护者通常 1 天内回复
查看 stellar/stellar-cli 的全部 Issue
相似的 Issue
-
feature request good first issue
难度 2/5 1-3 小时 新手友好度 88/100
TabularisDB/tabularis#1513 ·
维护者通常 2 天内回复
-
bug priority: medium
难度 2/5 1-3 小时 新手友好度 62/100
storytold/pdfcraft#7140 · 1 条评论 ·
维护者通常 2 天内回复
-
bug duplicate priority: low ui
难度 2/5 1-3 小时 新手友好度 70/100
storytold/vectorcraft#6956 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
-
PDF export issue未关闭bug priority: medium
难度 2/5 1-3 小时 新手友好度 63/100
storytold/designcraft#2712 · 1 条评论 ·
维护者通常 2 天内回复