Skip to content

Commit

Permalink
feat: add error for pre prague requests (#1204)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse authored Aug 27, 2024
1 parent d663b1c commit b81dec1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crates/rpc-types-engine/src/payload.rs
Original file line number Diff line number Diff line change
Expand Up @@ -816,7 +816,9 @@ pub enum PayloadError {
/// blob transactions present in pre-prague payload.
#[error("eip 7702 transactions present in pre-prague payload")]
PrePragueBlockWithEip7702Transactions,

/// requests present in pre-prague payload.
#[error("requests present in pre-prague payload")]
PrePragueBlockRequests,
/// Invalid payload block hash.
#[error("block hash mismatch: want {consensus}, got {execution}")]
BlockHash {
Expand Down

0 comments on commit b81dec1

Please sign in to comment.