Skip to content

Commit

Permalink
Add BlobTransactionRlp for the parsing phase of the test runner
Browse files Browse the repository at this point in the history
  • Loading branch information
Nashtare committed Feb 19, 2024
1 parent 1bcf799 commit 708ac2a
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions evm_arithmetization/src/generation/mpt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -424,4 +424,22 @@ pub mod transaction_testing {
pub r: U256,
pub s: U256,
}

#[derive(RlpEncodable, RlpDecodable, Debug, Clone, PartialEq, Eq)]
pub struct BlobTransactionRlp {
pub chain_id: u64,
pub nonce: U256,
pub max_priority_fee_per_gas: U256,
pub max_fee_per_gas: U256,
pub gas: U256,
pub to: AddressOption,
pub value: U256,
pub data: Bytes,
pub access_list: Vec<AccessListItemRlp>,
pub max_fee_per_blob_gas: U256,
pub blob_versioned_hashes: Vec<H256>,
pub y_parity: U256,
pub r: U256,
pub s: U256,
}
}

0 comments on commit 708ac2a

Please sign in to comment.