mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-30 03:01:58 -04:00
convert ``OptimismBlockExecution`` error variant into a general purpose error variant (#8100)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
@@ -523,9 +523,10 @@ mod tests {
|
||||
.expect_err(
|
||||
"Executing cancun block without parent beacon block root field should fail",
|
||||
);
|
||||
|
||||
assert_eq!(
|
||||
err,
|
||||
BlockExecutionError::Validation(BlockValidationError::MissingParentBeaconBlockRoot)
|
||||
err.as_validation().unwrap().clone(),
|
||||
BlockValidationError::MissingParentBeaconBlockRoot
|
||||
);
|
||||
|
||||
// fix header, set a gas limit
|
||||
|
||||
Reference in New Issue
Block a user