[Feature] Manually impl serialisation for reth_rpc_types_eth::Transaction
#1409
Labels
debt
Tech debt which needs to be addressed
reth_rpc_types_eth::Transaction
#1409
Component
rpc
Describe the feature you would like
Manually impl serde
Serialization
andDeserialization
forreth_rpc_types_eth::Transaction
. For the fieldmax_fee_per_gas
, this should use the json labelgasPrice
if the tx type is< 2
, i.e. pre-eip1559. This way the fieldgas_price
can be removed from the struct, as it is redundantalloy/crates/rpc-types-eth/src/transaction/mod.rs
Lines 39 to 154 in 8d99c28
Additional context
No response
The text was updated successfully, but these errors were encountered: