fix(hive): use 60M default gas limit for testing_buildBlockV1#11292
fix(hive): use 60M default gas limit for testing_buildBlockV1#11292newmanifold wants to merge 11 commits into
Conversation
|
@claude review please |
|
Claude finished @newmanifold's task in 2m 36s —— View job PR Review: fix(testing-rpc): use 60M default gas limit for testing_buildBlockV1Tasks
SummaryVerdict: ✅ Mergeable — 0 Critical · 0 High · 0 Medium · 3 Low The fix is correct, focused, and well-reasoned. Adding a local 60M fallback in The two failing hive tests ( FindingsLow — Shallow
|
947fc80 to
e852830
Compare
|
@claude review again |
|
Claude finished @newmanifold's task in 2m 34s —— View job PR Review: fix(testing-rpc): use 60M default gas limit for testing_buildBlockV1Tasks
SummaryVerdict: ✅ Mergeable — 0 Critical · 0 High · 0 Medium · 1 Low The fix is correct. Replacing Corrections to the previous review:
FindingsLow — Shallow
|
|
Claude finished @newmanifold's task in 2m 1s —— View job PR Review: fix(hive): use 60M default gas limit for testing_buildBlockV1Tasks
SummaryVerdict: ✅ Mergeable — 0 Critical · 0 High · 0 Medium · 1 Low The fix is correct. The change from injecting Correctness notes:
FindingsLow — Shallow
|
|
Other alternative
|
|
Claude finished @newmanifold's task in 2m 36s —— View job PR Review: fix(hive): use 60M default gas limit for testing_buildBlockV1Tasks
SummaryVerdict: ✅ Mergeable — 0 Critical · 0 High · 0 Medium · 1 Low The DI refactor correctly addresses LukaszRozmej's feedback. The keyed-singleton approach isolates the testing calculator from the global DI wiring is sound:
Corrections to previous review:
FindingsLow — Shallow
|
This reverts commit 725dee6.
|
@claude review please |
|
Claude finished @newmanifold's task in 2m 19s —— View job PR Review: fix(hive): use 60M default gas limit for testing_buildBlockV1Tasks
SummaryVerdict: ✅ Mergeable — 0 Critical · 0 High · 0 Medium · 2 Low The DI-based refactor is the right final shape. Key validation points:
FindingsLow —
|
|
@claude review again, addressed the comments |
PR Review: fix(hive): use 60M default gas limit for testing_buildBlockV1Tasks
|
|
@claude review please, you were stuck |
|
Claude finished @newmanifold's task in 1m 25s —— View job PR Review: fix(hive): use 60M default gas limit for testing_buildBlockV1Tasks
SummaryVerdict: ✅ Mergeable — 0 Critical · 0 High · 0 Medium · 1 Low The PR is in good shape. All actionable previous findings are resolved:
FindingsLow — Shallow
|
|
@newmanifold should we bring that up to date and merge it? |
|
@svlachakis There was a discussion in the eth Discord about having the target gas limit as part of the RPC request. So i was hoping they make gas limit part of spec, but if we need to match Geth's behavior here, then I can fix up the conflicts. |
|
@newmanifold can you please add one more entry to this table? #11412 we are going to discuss it in the RPC Standards call today. |
|
@svlachakis Added, though this is more of a spec addition than a discrepancy gasLimit isn't specifiable in the request currently. |
Resolutions: - scripts/known-failing-hive-tests.txt: drop testing_buildBlockV1 entries (fixed by this PR) while keeping master's new eth_simulateV1 block. - TestingRpcModule.cs: keep PR's ITestingRpcGasLimitCalculator dependency and XML doc; layer master's new testing_commitBlockV1 method, IDisposable, and IProcessExitSource/IBlockTree wiring on top. - TestingRpcModuleTests.cs: adopt master's CreateModuleWithMocks/ CreateBuildTestingModule/CreateCommitTestingModule/CreateDefaultParentHeader helpers, keep master's commit-flow tests, and re-add PR's Gas_limit_uses_configured_or_default_target test against the new helper structure (with a targetBlockGasLimit override threaded through).
|
Related: ethereum/hive#1496 |
|
ethereum/hive#1496 resolves the same issue upstream by setting Maybe leave it open as a fallback and tracking? If hive#1496 isn't merged in a reasonable amount of time we can land this PR's 60M default instead? |
So we expect to close this one? |

Closes #11156
Upstream fixture fix merged: ethereum/execution-apis#783
Changes
TestingRpcModulewhenTargetBlockGasLimitis not configuredtesting_buildBlockV1tests from known-failing hive testsTypes of changes
What types of changes does your code introduce?
Testing
Requires testing
If yes, did you write tests?
Notes on testing
TestingRpcModuleTests)testing_buildBlockV1: 5/5 pass locallyDocumentation
Requires documentation update
Requires explanation in Release Notes