mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat: replace reth native AccessList type (#7636)
This commit is contained in:
@ -28,7 +28,7 @@ pub fn to_primitive_transaction(
|
||||
to: to_primitive_transaction_kind(tx.kind),
|
||||
value: tx.value,
|
||||
input: tx.input,
|
||||
access_list: tx.access_list.into(),
|
||||
access_list: tx.access_list,
|
||||
}),
|
||||
TypedTransactionRequest::EIP1559(tx) => Transaction::Eip1559(TxEip1559 {
|
||||
chain_id: tx.chain_id,
|
||||
@ -38,7 +38,7 @@ pub fn to_primitive_transaction(
|
||||
to: to_primitive_transaction_kind(tx.kind),
|
||||
value: tx.value,
|
||||
input: tx.input,
|
||||
access_list: tx.access_list.into(),
|
||||
access_list: tx.access_list,
|
||||
max_priority_fee_per_gas: tx.max_priority_fee_per_gas.to(),
|
||||
}),
|
||||
TypedTransactionRequest::EIP4844(tx) => Transaction::Eip4844(TxEip4844 {
|
||||
@ -49,7 +49,7 @@ pub fn to_primitive_transaction(
|
||||
max_priority_fee_per_gas: tx.max_priority_fee_per_gas.to(),
|
||||
to: to_primitive_transaction_kind(tx.kind),
|
||||
value: tx.value,
|
||||
access_list: tx.access_list.into(),
|
||||
access_list: tx.access_list,
|
||||
blob_versioned_hashes: tx.blob_versioned_hashes,
|
||||
max_fee_per_blob_gas: tx.max_fee_per_blob_gas.to(),
|
||||
input: tx.input,
|
||||
|
||||
Reference in New Issue
Block a user