mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
Decode with EMPTY_STRING_CODE and buf.advance() (#7227)
This commit is contained in:
@ -79,7 +79,7 @@
|
||||
//! }
|
||||
//! }
|
||||
//!
|
||||
//! /// A [PayloadJob] is a a future that's being polled by the `PayloadBuilderService`
|
||||
//! /// A [PayloadJob] is a future that's being polled by the `PayloadBuilderService`
|
||||
//! impl Future for EmptyBlockPayloadJob {
|
||||
//! type Output = Result<(), PayloadBuilderError>;
|
||||
//!
|
||||
|
||||
@ -21,7 +21,7 @@ use std::convert::Infallible;
|
||||
///
|
||||
/// According to the [engine API specification](https://github.com/ethereum/execution-apis/blob/main/src/engine/README.md) the execution layer should build the initial version of the payload with an empty transaction set and then keep update it in order to maximize the revenue.
|
||||
/// Therefore, the empty-block here is always available and full-block will be set/updated
|
||||
/// afterwards.
|
||||
/// afterward.
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct EthBuiltPayload {
|
||||
/// Identifier of the payload
|
||||
|
||||
Reference in New Issue
Block a user