Commit 5d544f0
committed
feat: add extcodesize_setup scenario for deploying EXTCODESIZE benchmark contracts
This scenario deploys initcode contracts, CREATE2 factory contracts, and test
contracts of various sizes (0.5, 1, 2, 5, 10, 24 KB) for EXTCODESIZE benchmarks.
Features:
- Deploys initcode contracts that generate bytecode of specific sizes using
keccak256 expansion loops
- Deploys CREATE2 factory contracts that use EXTCODECOPY to deploy contracts
with unique bytecode
- Supports parallel deployment using multiple wallets (default 50)
- Dynamic gas calculation based on contract size and block gas limit
- Outputs factory addresses in stubs.json format for execution-spec-tests
- Supports pre-deployed addresses via YAML config1 parent 30299b1 commit 5d544f0
2 files changed
Lines changed: 985 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| 44 | + | |
43 | 45 | | |
44 | 46 | | |
45 | 47 | | |
| |||
0 commit comments