Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix eofcreate error typo #2120

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading