Repository navigation
feat: add bloated eoa scenario - #296
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
force-pushed
the
storage-operation
branch
from
October 2, 2026 07:47
6daa588 to
bd6e160
Compare
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.
Adds a new
bloated-eoascenario under the Bloatnet category. It ports the EELS bloatnet benchmarkstest_sload_bloatedandtest_sstore_bloated(tests/benchmark/stateful/bloatnet/) to spamoor.How it works
--authority-privkey) is delegated to the attack contract through an EIP-7702 setcode tx.s[i] = i.Modes:
sload: the slot counter lives in slot 0, so each tx continues where the previous one stopped.--keep-counterresumes a previous run.sstore: each tx gets its own[start, end)slot range in calldata, so the ranges never overlap.--slots-per-txsets the range size; the default is derived from the gas limit and includes EIP-8037 state gas.Variants are selected with
--existing-slotsand--write-new-value(same value, increment, or zero writes).Structure
scenarios/scenarios.go: registers the scenario in the Bloatnet category.README.md: adds the scenario to the list.