Skip to content

Commit

Permalink
chore: fix eofcreate error typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Rjected committed Feb 26, 2025
1 parent 1967753 commit fdffac1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/context/interface/src/result.rs
Original file line number Diff line number Diff line change
Expand Up @@ -351,8 +351,8 @@ pub enum InvalidTransaction {
},
/// Blob transaction contains a versioned hash with an incorrect version
BlobVersionNotSupported,
/// EOF crate should have `to` address
EofCrateShouldHaveToAddress,
/// EOF create should have `to` address
EofCreateShouldHaveToAddress,
/// EIP-7702 is not enabled.
AuthorizationListNotSupported,
/// EIP-7702 transaction has invalid fields set.
Expand Down Expand Up @@ -429,7 +429,7 @@ impl fmt::Display for InvalidTransaction {
write!(f, "too many blobs, have {have}, max {max}")
}
Self::BlobVersionNotSupported => write!(f, "blob version not supported"),
Self::EofCrateShouldHaveToAddress => write!(f, "EOF crate should have `to` address"),
Self::EofCreateShouldHaveToAddress => write!(f, "EOF crate should have `to` address"),
Self::AuthorizationListNotSupported => write!(f, "authorization list not supported"),
Self::AuthorizationListInvalidFields => {
write!(f, "authorization list tx has invalid fields")
Expand Down

0 comments on commit fdffac1

Please sign in to comment.