engine_newPayload files

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
json, rust
領域
cli

調査の方向性

まず、既存の contender replay コマンドと、JSON エンコードされた engine_newPayload 呼び出しを送信するエントリポイントを見つけます。replay 入力とリクエストのペーシングが現在どのように処理されているかを確認します。新しいコマンドで、指定された呼び出し配列を読み込み、対象チェーンに送信し、レートまたはペーシングのオプションをドキュメント化して公開できれば完了です。

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

説明

enhancement

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

Wanna portably replicate mainnet traffic...
contender replay only works for chains on which you already have good orderflow/blockspace usage (forks of live chains, or chains that you've spammed heavily over a long period with contender).

The idea is to take blocks from one chain and run them on many chains with minimal effort.

Credit to @SozinM for suggesting this feature

Describe the solution you'd like

Add a new command that ingests a file containing a JSON-encoded array of engine_newPayload calls, and send them to the target chain.
To determine the rate at which to send them, we should have some param like --tps but I think there's room for new options here -- open to something more nuanced (high-level examples: "as many as fit in the block" or "target gas per block").

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