Repository navigation
feat(eoatx): support configurable receiver address list / CREATE2 target pools - #289
Open
LouisTsai-Csie wants to merge 1 commit into
Open
LouisTsai-Csie wants to merge 1 commit into
LouisTsai-Csie wants to merge 1 commit into
Conversation
LouisTsai-Csie
marked this pull request as draft
September 18, 2026 10:47
LouisTsai-Csie
force-pushed
the
eoatx-address-list
branch
from
September 29, 2026 06:55
33ffa3e to
70001d5
Compare
LouisTsai-Csie
marked this pull request as ready for review
September 29, 2026 07:29
jochem-brouwer
left a comment
Contributor
There was a problem hiding this comment.
Two initial comments, questions, thanks @LouisTsai-Csie 😄 👍
| LogTxs bool `yaml:"log_txs"` | ||
| TotalCount uint64 `yaml:"total_count"` | ||
| Throughput uint64 `yaml:"throughput"` | ||
| MaxPending uint64 `yaml:"max_pending"` |
Contributor
There was a problem hiding this comment.
The style changes here, are these necessary (more whitespace)? It increases the diff of this PR which I do not think is necessary?
| "0x3000000000000000000000000000000000000003", | ||
| "0x4000000000000000000000000000000000000004", | ||
| }, | ||
| Order: "shuffle", |
Contributor
There was a problem hiding this comment.
I am somewhat confused why we need the shuffle order. What is the use case for this?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a configurable receiver target pool to the
eoatxscenario, so transactions can be sent to a predefined set of addresses instead of only a single--to, a random address, or the sender itself.A target pool can combine:
targets.addresses)targets.create2_patterns), each derived from a factory address, an initcode source, astart_saltand acountDetails
targets(daemon / config-file use) and new flag--targets-filefor direct CLI use.initcode,initcode_file, orinitcode_hash. Relativeinitcode_filepaths resolve relative to the targets file.start_saltuses the same uint64 big-endian bytes32 encoding as thefactorydeploytxscenario.orderissequential(default) orshuffle; shuffling is deterministic for a givenseed.repeat: falselimits the run to one transaction per target — an omittedtotal_countis capped at the pool size, and an explicittotal_countlarger than the pool is rejected.repeat: truewraps around in the selected order.targets/--targets-fileare mutually exclusive with--to,--random-targetand--self-tx-only, and with each other; unknown YAML fields are rejected.Testing
scenarios/eoatx/targets_test.gocovering pool building, CREATE2 address derivation, initcode source validation, ordering/shuffle determinism, and the repeat /total_countconstraints.gofmt -l .andgo vet ./...are clean repo-wide;staticcheck ./...reports no findings forscenarios/eoatx(the 6 remainingSA1019deprecation warnings are pre-existing, in the generatedplugin/symbolsfiles).Docs
scenarios/eoatx/README.mddocuments the new flag, thetargetsblock, and a full YAML example.Related Issue: ethpandaops/gas-lighting-tracker#80, for
P0 ETH transfers to on-chain receiversscenario.