From 185d3ccff6ea7919f8f0e411fc6975376a452591 Mon Sep 17 00:00:00 2001 From: Roman Krasiuk Date: Thu, 1 Aug 2024 18:13:10 +0200 Subject: [PATCH] feat(engine-types): `PayloadError::PrePragueBlockWithEip7702Transactions` --- crates/rpc-types-engine/src/payload.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crates/rpc-types-engine/src/payload.rs b/crates/rpc-types-engine/src/payload.rs index 82269f3a378..d79701657be 100644 --- a/crates/rpc-types-engine/src/payload.rs +++ b/crates/rpc-types-engine/src/payload.rs @@ -813,6 +813,9 @@ pub enum PayloadError { /// cancun fields missing in post-cancun payload. #[error("cancun fields missing in post-cancun payload")] PostCancunWithoutCancunFields, + /// blob transactions present in pre-prague payload. + #[error("eip 7702 transactions present in pre-prague payload")] + PrePragueBlockWithEip7702Transactions, /// Invalid payload block hash. #[error("block hash mismatch: want {consensus}, got {execution}")]