Skip to content

Commit 6dd7ff4

Browse files
authored
fix: set gas_price to None for EIP4844 and EIP7702 in essentials() (#11233)
1 parent 7d03472 commit 6dd7ff4

File tree

1 file changed

+2
-2
lines changed
  • crates/anvil/core/src/eth/transaction

1 file changed

+2
-2
lines changed

crates/anvil/core/src/eth/transaction/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -801,7 +801,7 @@ impl TypedTransaction {
801801
input: t.tx().tx().input.clone(),
802802
nonce: t.tx().tx().nonce,
803803
gas_limit: t.tx().tx().gas_limit,
804-
gas_price: Some(t.tx().tx().max_fee_per_blob_gas),
804+
gas_price: None,
805805
max_fee_per_gas: Some(t.tx().tx().max_fee_per_gas),
806806
max_priority_fee_per_gas: Some(t.tx().tx().max_priority_fee_per_gas),
807807
max_fee_per_blob_gas: Some(t.tx().tx().max_fee_per_blob_gas),
@@ -815,7 +815,7 @@ impl TypedTransaction {
815815
input: t.tx().input.clone(),
816816
nonce: t.tx().nonce,
817817
gas_limit: t.tx().gas_limit,
818-
gas_price: Some(t.tx().max_fee_per_gas),
818+
gas_price: None,
819819
max_fee_per_gas: Some(t.tx().max_fee_per_gas),
820820
max_priority_fee_per_gas: Some(t.tx().max_priority_fee_per_gas),
821821
max_fee_per_blob_gas: None,

0 commit comments

Comments
 (0)