fix max_fee_per_blob_gas type (#5121)

This commit is contained in:
DoTheBestToGetTheBest
2023-10-23 04:40:06 -07:00
committed by GitHub
parent 55a78719bd
commit 2b71f0f6b0

View File

@ -73,7 +73,7 @@ impl TypedTransactionRequest {
value: tx.value.into(), value: tx.value.into(),
access_list: tx.access_list, access_list: tx.access_list,
blob_versioned_hashes: tx.blob_versioned_hashes, blob_versioned_hashes: tx.blob_versioned_hashes,
max_fee_per_blob_gas: tx.max_fee_per_blob_gas, max_fee_per_blob_gas: tx.max_fee_per_blob_gas.to(),
input: tx.input, input: tx.input,
}), }),
}) })
@ -131,7 +131,7 @@ pub struct Eip4844TransactionRequest {
pub value: U256, pub value: U256,
pub input: Bytes, pub input: Bytes,
pub access_list: AccessList, pub access_list: AccessList,
pub max_fee_per_blob_gas: u128, pub max_fee_per_blob_gas: U128,
pub blob_versioned_hashes: Vec<B256>, pub blob_versioned_hashes: Vec<B256>,
pub gas_price: U128, pub gas_price: U128,
pub sidecar: BlobTransactionSidecar, pub sidecar: BlobTransactionSidecar,