Handling test_framework's initial state assumptions
还没有人认领这个 Issue。
评估
调研方向
未指定任何文件或测试。首先比较 Warnet 的场景设置与 Bitcoin Core 的功能测试框架,并记录初始区块链、钱包和币状态假设有哪些不同;完成的标准是项目已经确定并测试了处理这些假设的方法。
由索引模型根据 Issue 内容生成。
描述
Issue
When I run scenarios that were built for Bitcoin Core's functional test framework, I get errors relating to wallet balance issues.
Cause
Core's functional test framework has a non-empty initial state. For example, it begins by populating the blockchain by default. This means that users of the framework write code that relies on the existence of blocks and wallets that already have coins.
Possible solutions
Recreate the functional test's initial state in Warnet, and then ...
A. ...allow users to explicitly run scenarios within that initial state by using command line flags.
B. ...implicitly create the state for any scenarios that live a specified folder.
C. ...scenario authors explicitly create the state by providing a hook that they manually add to any scenario that needs it.
- 主要语言
- Python
- 星标
- 153
- 派生
- 87
- 平均合并
- 5 天 7 小时
- 30 天内合并 PR
- 3
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
bitcoin-dev-project/warnet 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 55/100
bitcoin-dev-project/warnet#821 ·
-
难度 5/5 一周以上 新手友好度 35/100
bitcoin-dev-project/warnet#817 · 2 条评论 · 1 个 reaction ·
-
难度 5/5 一周以上 新手友好度 28/100
bitcoin-dev-project/warnet#807 · 1 条评论 ·
-
难度 5/5 一周以上 新手友好度 25/100
bitcoin-dev-project/warnet#802 · 5 条评论 · 2 个 reaction ·
-
难度 4/5 3-5 天 新手友好度 35/100
bitcoin-dev-project/warnet#781 · 1 条评论 ·
查看 bitcoin-dev-project/warnet 的全部 Issue
相似的 Issue
-
accepted
难度 2/5 1-3 小时 新手友好度 68/100
future-agi/future-agi#6392 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
memmapped_arange ignores the start value and drops the last point above the memmap threshold可能已有人在做 @prathameshfuke 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
StingraySoftware/HENDRICS#213 ·
-
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复
-
Bug
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 2 天内回复