server: support manual re-run of setup

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
62/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
rust
領域
api, frontend

調査の方向性

まず Contender::initialize と、orchestrator::Contender::scenario を通じて公開されている対応する TestScenario 関数を読みます。既存の RPC セッション操作とセッションペインのアクションを追跡し、その後、要求された 2 つの呼び出しとボタンを追加します。deployContracts(session_id) と runSetup(session_id) がウェブページからそれぞれの関数を正常に呼び出せれば完了です。

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

説明

enhancement

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

When you add a session via the contender RPC server, create/setup steps happen automatically (in Contender::initialize). Some scenarios might want to re-run their setup steps, or deploy new contracts.

Describe the solution you'd like

Add two new endpoints to the RPC server:

  • deployContracts(session_id)
  • runSetup(session_id)

Each of these has a corresponding function in TestScenario (via orchestrator::Contender::scenario); call the respective functions.

Add buttons to the session pane in the webpage to trigger these RPC calls.

主要言語
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 を短くまとめたダイジェスト。