Skip to content

Commit

Permalink
Update BlobTransactionRlp as per EIP specification
Browse files Browse the repository at this point in the history
  • Loading branch information
Nashtare committed Feb 19, 2024
1 parent 40b4c36 commit 546136a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion evm_arithmetization/src/generation/mpt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,8 @@ pub(crate) fn load_all_mpts(
}

pub mod transaction_testing {
use ethereum_types::H160;

use super::*;

#[derive(RlpEncodable, RlpDecodable, Debug, Clone, PartialEq, Eq)]
Expand Down Expand Up @@ -432,7 +434,8 @@ pub mod transaction_testing {
pub max_priority_fee_per_gas: U256,
pub max_fee_per_gas: U256,
pub gas: U256,
pub to: AddressOption,
// As per EIP-4844, blob transactions cannot have the form of a create transaction.
pub to: H160,
pub value: U256,
pub data: Bytes,
pub access_list: Vec<AccessListItemRlp>,
Expand Down

0 comments on commit 546136a

Please sign in to comment.