engine_newPayload files

未关闭
#579 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
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. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

flashbots/contender 的其他 Issue

查看 flashbots/contender 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。