Skip to content

Commit

Permalink
fix test case error
Browse files Browse the repository at this point in the history
  • Loading branch information
rjnrohit committed Oct 25, 2024
1 parent 8a02510 commit 0f7468b
Showing 1 changed file with 0 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -184,19 +184,6 @@ private static IEnumerable<TestCaseData> BadSuggestedBlocks()
.TestObject,
new CustomSpecProvider(((ForkActivation)0, Cancun.Instance)),
"InsufficientMaxFeePerBlobGas");

yield return new TestCaseData(
Build.A.Block
.WithHeader(Build.A.BlockHeader.WithRequestsHash(Keccak.Zero).TestObject)
.TestObject,
Substitute.For<ISpecProvider>(),
"RequestsNotEnabled: Requests must be null in block when EIP-6110 and EIP-7002 are not activated.");

yield return new TestCaseData(
Build.A.Block
.TestObject,
new CustomSpecProvider(((ForkActivation)0, Prague.Instance)),
"MissingRequests: Requests cannot be null in block when EIP-6110 or EIP-7002 are activated.");
}

[TestCaseSource(nameof(BadSuggestedBlocks))]
Expand Down

0 comments on commit 0f7468b

Please sign in to comment.