scenario file dependencies

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
rust
領域
testing

調査の方向性

まず、TestConfig が最上位のシナリオ TOML をどのように解析し、[create] と [setup] のステップがどのように表現されているかを追跡します。requires フィールドをサポートし、参照されたファイルが現在のシナリオのステップより前に、記載された順序で読み込まれるように実装します。合成されたシナリオでその順序が維持され、既存のシナリオも引き続き正しく解析されれば完了です。

索引モデルが issue の本文から書いたものです。

説明

enhancement

Is your feature request related to a problem? Please describe.

we could compose scenarios separately to make them more readable and reduce duplication.

Describe the solution you'd like

add a requires field to the top-level scenario spec.

requires=["weth.toml", "uniV2.toml"]

[spam]
# ...

Then when parsing a TestConfig add the [create] and [setup] steps from the requires files to the given scenario config, in order and before any steps in the given config.

主要言語
Rust
スター
144
フォーク
58
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

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

flashbots/contender のほかの issue

flashbots/contender の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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