Handling test_framework's initial state assumptions

オープン
#358 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
python
領域
testing

調査の方向性

ファイルやテストは指定されていません。まず、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時間
マージ済み PR(30日)
3

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

bitcoin-dev-project/warnet のほかの issue

bitcoin-dev-project/warnet の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。