feat(rpc): eth_transactionBy impls (#1664)

Co-authored-by: Sam Bukowski <sambukowski@Sams-MacBook-Pro.local>
This commit is contained in:
sambukowski
2023-03-11 02:54:11 -07:00
committed by GitHub
parent a0f195590c
commit 853da85c44
5 changed files with 71 additions and 29 deletions

View File

@ -6,7 +6,7 @@ use reth_rlp::{Decodable, DecodeError, Encodable};
/// transaction and used to determine the sender of
/// the transaction; formally Tr and Ts. This is expanded in Appendix F of yellow paper.
#[main_codec]
#[derive(Debug, Clone, PartialEq, Eq, Hash, Default)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash, Default)]
pub struct Signature {
/// The R field of the signature; the point on the curve.
pub r: U256,