feat: add 14 new scenarios and full-spectrum campaign#475
Open
vbuilder69420 wants to merge 1 commit intoflashbots:mainfrom
Open
feat: add 14 new scenarios and full-spectrum campaign#475vbuilder69420 wants to merge 1 commit intoflashbots:mainfrom
vbuilder69420 wants to merge 1 commit intoflashbots:mainfrom
Conversation
Add scenario TOML files covering a broad range of EVM gas patterns and real-world DeFi/infrastructure interactions: - erc721: NFT mint and transfer - erc1155: multi-token mint, transfer, and batch transfer - erc4626vault: vault deposit/withdraw with share accounting - governance: proposal creation and voting - lending: collateral deposit, borrow, and repay - simpleAMM: constant-product swaps with 0.3% fee - stablecoin: ETH-backed mint/burn/flash mint - nameRegistry: ENS-like name registration and renewal - multisig: multi-sig submit/confirm/execute - staking: stake/unstake/claim/compound rewards - precompiles/hashPrecompiles: SHA256, RIPEMD160, Identity stress - bridge: L1→L2 deposit simulation (ETH + ERC20) - dutchAuction: time-based pricing with ETH refunds - orderBook: on-chain limit orders with partial fills Also adds campaigns/full-spectrum.toml: a 4-stage campaign (warmup → DeFi ramp → full load → cooldown) that mixes all new scenarios for comprehensive chain stress testing. All contracts are self-contained Solidity 0.8.26, compiled with solc --optimize --optimize-runs 200. Each scenario includes deploy, setup (liquidity/approvals/funding), and fuzzed spam. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This was referenced Mar 21, 2026
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
full-spectrum.toml) that mixes all scenarios across 4 stagessolc --optimize --optimize-runs 200New scenarios
erc721.tomlerc1155.tomlerc4626vault.tomlgovernance.tomllending.tomlsimpleAMM.tomlstablecoin.tomlnameRegistry.tomlmultisig.tomlstaking.tomlhashPrecompiles.tomlbridge.tomldutchAuction.tomlorderBook.tomlNew campaign
campaigns/full-spectrum.toml— 4-stage progressive load test:Test plan
contender setup scenario:<name>.toml)🤖 Generated with Claude Code