Skip to content

Conversation

@CPerezz
Copy link
Contributor

@CPerezz CPerezz commented Jan 20, 2026

Summary

EIP-7825 Transaction Splitting

  • Add support for EIP-7825 transaction gas limit cap (16M gas) to bloatnet benchmark tests
  • When gas_benchmark_value exceeds tx_gas_limit, tests now automatically split into multiple transactions
  • Add tx_gas_limit fixture parameter to all bloatnet test functions
  • Track salt_offset for factory-based tests to ensure unique contract addresses across transactions

Token Address Stubs (stubs.json)

  • Add stubs.json with 297 entries mapping test names to mainnet ERC-20 contract addresses
  • Fixed 22 incorrect addresses that had no deployed code
  • Removed WELL token (doesn't exist on Ethereum mainnet)
  • All 99 unique addresses verified via eth_getCode

danceratopz and others added 3 commits December 10, 2025 13:23
Add support for EIP-7825 transaction gas limit cap (16M gas) to bloatnet
benchmark tests. When gas_benchmark_value exceeds tx_gas_limit, tests now
automatically split into multiple transactions.

Changes:
- Add tx_gas_limit fixture parameter to all bloatnet test functions
- Calculate num_txs based on gas_benchmark_value / tx_gas_limit
- Split attack contracts across multiple transactions with proper
  iteration count distribution
- Track salt_offset for factory-based tests to ensure unique contract
  addresses across transactions

This ensures bloatnet tests work correctly with gas values > 16M while
maintaining EIP-7825 compliance.
Add stubs.json mapping test names to mainnet ERC-20 contract addresses:
- 297 entries for 99 unique tokens (excluding 30GB_ERC20)
- Fixed 22 incorrect addresses (ALT, AOA, cETH, CHZ, CRO, ENA, ETHFI,
  GTC, IMT, IMX, KOK, LEND, LOOKS, LYM, MITx, Monfter/Monavale, ONDO,
  POLY, WEPE, ZETA, ZSC)
- Removed WELL token (doesn't exist on Ethereum mainnet)
- All addresses verified to have deployed code via eth_getCode
@CPerezz CPerezz changed the title enhance(bloatnet): add EIP-7825 tx splitting and stubs.json feat(test-benchmark): add EIP-7825 tx splitting and fix & include stubs.json Jan 20, 2026
@CPerezz
Copy link
Contributor Author

CPerezz commented Jan 20, 2026

cc: @kamilchodola

@codecov
Copy link

codecov bot commented Jan 21, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.87%. Comparing base (d1e7e6b) to head (9fb8529).
⚠️ Report is 164 commits behind head on forks/amsterdam.

Additional details and impacted files
@@               Coverage Diff                @@
##           forks/amsterdam    #2052   +/-   ##
================================================
  Coverage            83.87%   83.87%           
================================================
  Files                  402      402           
  Lines                25101    25101           
  Branches              2285     2285           
================================================
  Hits                 21053    21053           
  Misses                3609     3609           
  Partials               439      439           
Flag Coverage Δ
unittests 83.87% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@LouisTsai-Csie
Copy link
Collaborator

@CPerezz Could you help change the base branch from forks/osaka to forks/amsterdam? We've already switched the default branch and might need some rebase effort here.

@CPerezz CPerezz changed the base branch from forks/osaka to forks/amsterdam February 2, 2026 06:37
@CPerezz CPerezz closed this Feb 2, 2026
dapplion pushed a commit to gnosischain/execution-specs that referenced this pull request Feb 4, 2026
This modexp test case is exceptionally slow in EVM implementations
using Go standard library `"math/big"`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants