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

fix EthTransactionValidationBuilder::set_eip4844 and no_eip4844 #8586

Merged
Merged
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/transaction-pool/src/validate/eth.rs
Original file line number Diff line number Diff line change
Expand Up @@ -528,12 +528,12 @@ impl EthTransactionValidatorBuilder {

/// Disables the support for EIP-4844 transactions.
pub const fn no_eip4844(self) -> Self {
self.set_eip1559(false)
self.set_eip4844(false)
}

/// Set the support for EIP-4844 transactions.
pub const fn set_eip4844(mut self, eip1559: bool) -> Self {
self.eip1559 = eip1559;
pub const fn set_eip4844(mut self, eip4844: bool) -> Self {
self.eip4844 = eip4844;
self
}

Expand Down
Loading