mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-08 03:01:12 -04:00
Add Withdrawals struct (#6267)
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
//! ```no_run
|
||||
//! # use reth_rpc_types::engine::{PayloadAttributes as EthPayloadAttributes, PayloadId};
|
||||
//! # use reth_rpc_types::Withdrawal;
|
||||
//! # use reth_primitives::{B256, ChainSpec, Address};
|
||||
//! # use reth_primitives::{B256, ChainSpec, Address, Withdrawals};
|
||||
//! # use reth_node_api::{EngineTypes, EngineApiMessageVersion, validate_version_specific_fields, AttributesValidationError, PayloadAttributes, PayloadBuilderAttributes, PayloadOrAttributes};
|
||||
//! # use reth_payload_builder::{EthPayloadBuilderAttributes, EthBuiltPayload};
|
||||
//! # use serde::{Deserialize, Serialize};
|
||||
@@ -108,7 +108,7 @@
|
||||
//! self.0.prev_randao
|
||||
//! }
|
||||
//!
|
||||
//! fn withdrawals(&self) -> &Vec<reth_primitives::Withdrawal> {
|
||||
//! fn withdrawals(&self) -> &Withdrawals {
|
||||
//! &self.0.withdrawals
|
||||
//! }
|
||||
//! }
|
||||
|
||||
Reference in New Issue
Block a user