Skip to content

Implement Block-level access lists (EIP-7928)#10357

Merged
Marchhill merged 337 commits intomasterfrom
bal-devnet-2-bals-only
Mar 9, 2026
Merged

Implement Block-level access lists (EIP-7928)#10357
Marchhill merged 337 commits intomasterfrom
bal-devnet-2-bals-only

Conversation

@Marchhill
Copy link
Contributor

@Marchhill Marchhill commented Jan 30, 2026

Changes

Types of changes

What types of changes does your code introduce?

  • Bugfix (a non-breaking change that fixes an issue)
  • New feature (a non-breaking change that adds functionality)
  • Breaking change (a change that causes existing functionality not to work as expected)
  • Optimization
  • Refactoring
  • Documentation update
  • Build-related changes
  • Other: Description

Testing

Requires testing

  • Yes
  • No

If yes, did you write tests?

  • Yes
  • No

Documentation

Requires documentation update

  • Yes
  • No

Requires explanation in Release Notes

  • Yes
  • No

@flcl42 flcl42 force-pushed the bal-devnet-2-bals-only branch from 717e407 to 274638f Compare March 1, 2026 18:05
@github-actions
Copy link
Contributor

github-actions bot commented Mar 1, 2026

EVM Opcode Benchmark Diff

Aggregated runs: base=1, pr=1

Regressions (2)

Opcode Base Median (ns) PR Median (ns) Delta Abs Δ (ns) Base CV PR CV Threshold Uncertainty Effective
EXTCODECOPY 344.720 371.220 +7.69% 26.500 1.8% 1.6% ±5.0% ±1.9% ±5.0%
SELFBALANCE 198.570 219.780 +10.68% 21.210 2.4% 1.4% ±5.0% ±2.1% ±5.0%

Comment on lines +313 to +316
if (_balBuilder is not null && _balBuilder.TracingEnabled && IncludeAccountRead(authorizationResult))
{
_balBuilder.AddAccountRead(authority);
}
Copy link
Member

Choose a reason for hiding this comment

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

At least extension method. But maybe better it should be in IsValidForExecution directly? But maybe better why WorldState.HasCode and WorldState.GetNonce in IsValidForExecution don't do it by themselves?

@github-actions
Copy link
Contributor

github-actions bot commented Mar 9, 2026

Block Processing Benchmark Comparison

Run: View workflow run
Base: dd668933 | Head: aa45ba03

Method Base (us) PR (us) Delta Base CV PR CV Alloc Base Alloc PR Alloc Delta
AccessList_50 760.6 779.1 +2.4% 1.7% 1.7% 74.4 KB 72.4 KB -2.7%
ContractCall_200 1,751.8 1,833.9 +4.7% 🔼 1.6% 1.1% 374.8 KB 361.7 KB -3.5%
ContractDeploy_10 440.9 581.8 +32.0% 🔼 1.1% 3.7% 50.5 KB 51.5 KB +1.9%
Eip1559_200 1,706.4 1,953.5 +14.5% 🔼 3.1% 4.8% 357.9 KB 344.2 KB -3.8%
EmptyBlock 47.4 61.4 +29.5% 🔼 30.5% 23.6% 5.7 KB 7.2 KB +25.6%
MixedBlock 1,768.4 1,854.8 +4.9% 🔼 0.8% 1.3% 364.8 KB 351.2 KB -3.7%
SingleTransfer 135.4 143.1 +5.7% 🔼 21.7% 9.8% 16.7 KB 18.7 KB +11.9%
Transfers_200 1,731.7 1,918.7 +10.8% 🔼 2.0% 4.1% 357.9 KB 344.3 KB -3.8%
Transfers_50 755.5 787.1 +4.2% 🔼 1.5% 3.9% 65.6 KB 63.8 KB -2.7%
Detailed statistics
Method Metric Base PR Delta
AccessList_50 Mean 760.6 us 779.1 us +2.4%
AccessList_50 Median 761.3 us 781.0 us +2.6%
AccessList_50 P90 771.7 us 796.9 us +3.3%
AccessList_50 P95 775.1 us 797.9 us +2.9%
AccessList_50 Min 729.8 us 760.8 us +4.3%
AccessList_50 Max 778.6 us 798.8 us +2.6%
AccessList_50 StdDev 13.2 us 13.5 us +2.6%
ContractCall_200 Mean 1,751.8 us 1,833.9 us +4.7%
ContractCall_200 Median 1,753.1 us 1,833.6 us +4.6%
ContractCall_200 P90 1,776.6 us 1,863.2 us +4.9%
ContractCall_200 P95 1,789.9 us 1,864.7 us +4.2%
ContractCall_200 Min 1,710.9 us 1,811.0 us +5.8%
ContractCall_200 Max 1,803.3 us 1,866.3 us +3.5%
ContractCall_200 StdDev 27.9 us 20.3 us -27.2%
ContractDeploy_10 Mean 440.9 us 581.8 us +32.0%
ContractDeploy_10 Median 440.3 us 581.0 us +31.9%
ContractDeploy_10 P90 446.6 us 606.3 us +35.7%
ContractDeploy_10 P95 448.4 us 608.3 us +35.7%
ContractDeploy_10 Min 435.0 us 558.7 us +28.4%
ContractDeploy_10 Max 450.2 us 610.3 us +35.6%
ContractDeploy_10 StdDev 4.7 us 21.6 us +362.0%
Eip1559_200 Mean 1,706.4 us 1,953.5 us +14.5%
Eip1559_200 Median 1,723.0 us 1,947.5 us +13.0%
Eip1559_200 P90 1,755.0 us 2,067.5 us +17.8%
Eip1559_200 P95 1,760.2 us 2,085.8 us +18.5%
Eip1559_200 Min 1,614.4 us 1,808.0 us +12.0%
Eip1559_200 Max 1,765.3 us 2,104.2 us +19.2%
Eip1559_200 StdDev 52.5 us 94.5 us +80.2%
EmptyBlock Mean 47.4 us 61.4 us +29.5%
EmptyBlock Median 49.1 us 66.1 us +34.6%
EmptyBlock P90 64.4 us 71.3 us +10.7%
EmptyBlock P95 65.7 us 78.0 us +18.8%
EmptyBlock Min 25.0 us 35.9 us +43.6%
EmptyBlock Max 66.9 us 84.7 us +26.5%
EmptyBlock StdDev 14.5 us 14.5 us -0.1%
MixedBlock Mean 1,768.4 us 1,854.8 us +4.9%
MixedBlock Median 1,770.3 us 1,854.4 us +4.8%
MixedBlock P90 1,780.8 us 1,881.3 us +5.6%
MixedBlock P95 1,785.5 us 1,890.6 us +5.9%
MixedBlock Min 1,752.5 us 1,810.4 us +3.3%
MixedBlock Max 1,790.3 us 1,899.9 us +6.1%
MixedBlock StdDev 13.5 us 24.4 us +81.3%
SingleTransfer Mean 135.4 us 143.1 us +5.7%
SingleTransfer Median 136.7 us 135.8 us -0.7%
SingleTransfer P90 164.2 us 159.9 us -2.6%
SingleTransfer P95 164.7 us 165.4 us +0.4%
SingleTransfer Min 104.9 us 131.4 us +25.3%
SingleTransfer Max 165.1 us 170.8 us +3.4%
SingleTransfer StdDev 29.3 us 14.1 us -52.1%
Transfers_200 Mean 1,731.7 us 1,918.7 us +10.8%
Transfers_200 Median 1,735.3 us 1,914.4 us +10.3%
Transfers_200 P90 1,772.0 us 2,023.5 us +14.2%
Transfers_200 P95 1,782.2 us 2,025.5 us +13.7%
Transfers_200 Min 1,681.9 us 1,800.1 us +7.0%
Transfers_200 Max 1,792.4 us 2,027.5 us +13.1%
Transfers_200 StdDev 35.2 us 79.4 us +125.5%
Transfers_50 Mean 755.5 us 787.1 us +4.2%
Transfers_50 Median 760.0 us 800.0 us +5.3%
Transfers_50 P90 764.9 us 817.3 us +6.9%
Transfers_50 P95 766.0 us 818.6 us +6.9%
Transfers_50 Min 732.6 us 743.3 us +1.5%
Transfers_50 Max 767.1 us 819.9 us +6.9%
Transfers_50 StdDev 11.3 us 30.7 us +171.0%

@Marchhill Marchhill merged commit 463efb3 into master Mar 9, 2026
144 checks passed
@Marchhill Marchhill deleted the bal-devnet-2-bals-only branch March 9, 2026 17:11
@github-actions
Copy link
Contributor

github-actions bot commented Mar 9, 2026

EXPB Benchmark Comparison

Run: View workflow run

superblocks

Scenario: nethermind-halfpath-superblocks-bal-devnet-2-bals-only-delay0s

Metric PR Master (cached) Delta PR vs Master
AVG (ms) 1440.611700 1421.434700 +1.35%
MEDIAN (ms) 1128.350000 1122.105000 +0.56%
P90 (ms) 2468.86 2407.03 +2.57%
P95 (ms) 2586.20 2588.51 -0.09%
P99 (ms) 4049.22 3792.37 +6.77%
MIN (ms) 774.55 749.64 +3.32%
MAX (ms) 4289.55 4063.54 +5.56%

realblocks

Scenario: nethermind-halfpath-realblocks-bal-devnet-2-bals-only-delay0s

Metric PR Master (cached) Delta PR vs Master
AVG (ms) 41.238894 40.854120 +0.94%
MEDIAN (ms) 24.015000 24.025000 -0.04%
P90 (ms) 110.81 111.13 -0.29%
P95 (ms) 144.35 146.39 -1.39%
P99 (ms) 217.65 213.22 +2.08%
MIN (ms) 0.53 0.48 +10.42%
MAX (ms) 5725.14 4118.68 +39.00%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants