Skip to content

Commit

Permalink
chore: rm unused error variants (#12499)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse authored Nov 13, 2024
1 parent b7e8d5a commit 5c62d68
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions crates/payload/primitives/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ pub enum PayloadBuilderError {
/// If there's no payload to resolve.
#[error("missing payload")]
MissingPayload,
/// Build cancelled
#[error("build outcome cancelled")]
BuildOutcomeCancelled,
/// Error occurring in the blob store.
#[error(transparent)]
BlobStore(#[from] BlobStoreError),
Expand All @@ -33,9 +30,6 @@ pub enum PayloadBuilderError {
/// Unrecoverable error during evm execution.
#[error("evm execution error: {0}")]
EvmExecutionError(EVMError<ProviderError>),
/// Thrown if the payload requests withdrawals before Shanghai activation.
#[error("withdrawals set before Shanghai activation")]
WithdrawalsBeforeShanghai,
/// Any other payload building errors.
#[error(transparent)]
Other(Box<dyn core::error::Error + Send + Sync>),
Expand Down

0 comments on commit 5c62d68

Please sign in to comment.