Skip to content

t8n: Output the block access list - #1758

Merged
chfast merged 1 commit into
masterfrom
t8n/bal
Oct 14, 2026
Merged

chfast merged 1 commit into
masterfrom
t8n/bal

Conversation

@chfast

@chfast chfast commented Oct 13, 2026 •

Copy link
Copy Markdown
Member

From Amsterdam, output the block access list (EIP-7928) and its hash,
and report a block exceeding the item bound as
BlockException.BLOCK_ACCESS_LIST_GAS_LIMIT_EXCEEDED. A failure of the
requests, which are processed before, takes precedence.

Pass no block reward from Paris (EIP-3675): a reward of 0 still touches
the coinbase, which then is read and lands in the BAL of a block
without transactions.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Rejected input transactions cause incorrect BAL indices and hashes.

1 open finding
What changed in this PR

Adds Amsterdam block access list output to t8n and aligns post-Paris finalization with proof-of-stake rules.

Changes:

  • Disables block rewards from Paris onward.
  • Outputs the BAL, its hash, and gas-limit exception from Amsterdam.
File Description
test/​utils/​t8n.cpp Updates reward handling and Amsterdam BAL result fields.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread test/utils/t8n.cpp
@codspeed

codspeed Bot commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

Merging this PR will not alter performance

✅ 899 untouched benchmarks


Comparing t8n/bal (0445843) with master (273b09a)

Open in CodSpeed

@codecov

codecov Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 95.23810% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 98.15%. Comparing base (273b09a) to head (0445843).

Files with missing lines Patch % Lines
test/utils/t8n.cpp 85.71% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1758      +/-   ##
==========================================
- Coverage   98.16%   98.15%   -0.01%     
==========================================
  Files         184      184              
  Lines       17078    17097      +19     
  Branches     3906     3912       +6     
==========================================
+ Hits        16764    16782      +18     
  Misses        234      234              
- Partials       80       81       +1     
Flag Coverage Δ
eest-develop-gmp 26.80% <0.00%> (-0.03%) ⬇️
eest-legacy 17.00% <0.00%> (-0.02%) ⬇️
eest-libsecp256k1 28.96% <0.00%> (-0.04%) ⬇️
eest-stable 84.19% <0.00%> (-0.08%) ⬇️
evmone-unittests 94.09% <95.23%> (+0.01%) ⬆️

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

Components Coverage Δ
core 96.42% <ø> (ø)
tooling 94.72% <85.71%> (-0.04%) ⬇️
tests 99.81% <100.00%> (+<0.01%) ⬆️
Files with missing lines Coverage Δ
test/unittests/tooling_t8n_test.cpp 100.00% <100.00%> (ø)
test/utils/t8n.cpp 96.96% <85.71%> (-0.65%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The BAL check overwrites earlier request errors, and the new test unintentionally relies on that behavior.

2 open findings
1 resolved since last review

🧠 Review effort: Balanced

Comment thread test/unittests/tooling_t8n_test.cpp
Comment thread test/utils/t8n.cpp Outdated

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Request failures currently produce an incomplete block access list and hash.

1 open finding
2 resolved since last review

🧠 Review effort: Balanced

Comment thread test/utils/t8n.cpp

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

A failing request contract can leak reverted state changes into the partial state diff.

1 open finding
1 resolved since last review

🧠 Review effort: Balanced

Comment thread test/state/system_contracts.cpp Outdated
From Amsterdam, output the block access list (EIP-7928) and its hash,
and report a block exceeding the item bound as
BlockException.BLOCK_ACCESS_LIST_GAS_LIMIT_EXCEEDED. A failure of the
requests, which are processed before, takes precedence.

Pass no block reward from Paris (EIP-3675): a reward of 0 still touches
the coinbase, which then is read and lands in the BAL of a block
without transactions.
@chfast
chfast merged commit c084c0b into master Oct 14, 2026
29 of 30 checks passed
@chfast
chfast deleted the t8n/bal branch October 14, 2026 09:13
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.

2 participants