Skip to content

Commit

Permalink
fix invalid executionRequest error
Browse files Browse the repository at this point in the history
  • Loading branch information
rjnrohit committed Oct 24, 2024
1 parent 24ffe2f commit 1a6b6d9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,6 @@ private static IEnumerable<TestCaseData> BadSuggestedBlocks()
Build.A.Block
.TestObject,
new CustomSpecProvider(((ForkActivation)0, Prague.Instance)),
Substitute.For<ISpecProvider>(),
"MissingRequests: Requests cannot be null in block when EIP-6110 or EIP-7002 are activated.");
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,10 @@ public ValidationResult ValidateParams(IReleaseSpec spec, int version, out strin
return ValidationResult.Fail;
}

// Ensures that the execution requests has exactly three items
if (ExecutionRequests.Length != 3)
{
error = "Execution requests must have exactly three items";
return ValidationResult.Fail;
return ValidationResult.Invalid;
}

}
Expand Down

0 comments on commit 1a6b6d9

Please sign in to comment.