We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d047ad commit d771192Copy full SHA for d771192
crates/consensus/src/block/header.rs
@@ -560,6 +560,7 @@ impl<'a> arbitrary::Arbitrary<'a> for Header {
560
}
561
562
/// Trait for extracting specific Ethereum block data from a header
563
+#[auto_impl::auto_impl(&, Arc)]
564
pub trait BlockHeader {
565
/// Retrieves the parent hash of the block
566
fn parent_hash(&self) -> B256;
crates/consensus/src/transaction/mod.rs
@@ -53,6 +53,7 @@ pub mod serde_bincode_compat {
53
54
/// Represents a minimal EVM transaction.
55
#[doc(alias = "Tx")]
56
57
pub trait Transaction: fmt::Debug + any::Any + Send + Sync + 'static {
58
/// Get `chain_id`.
59
fn chain_id(&self) -> Option<ChainId>;
0 commit comments