mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 19:09:54 +00:00
feat: implement EIP-6110 (#8507)
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com> Co-authored-by: Oliver Nordbjerg <onbjerg@users.noreply.github.com> Co-authored-by: Dan Cline <6798349+Rjected@users.noreply.github.com>
This commit is contained in:
@ -11,6 +11,7 @@ repository.workspace = true
|
||||
workspace = true
|
||||
|
||||
[dependencies]
|
||||
# reth
|
||||
reth-consensus.workspace = true
|
||||
reth-primitives.workspace = true
|
||||
reth-storage-errors.workspace = true
|
||||
|
||||
@ -77,15 +77,24 @@ pub enum BlockValidationError {
|
||||
/// The error message.
|
||||
message: String,
|
||||
},
|
||||
/// Provider error during the [EIP-2935](https://eips.ethereum.org/EIPS/eip-2935) block hash account loading.
|
||||
/// Provider error during the [EIP-2935] block hash account loading.
|
||||
///
|
||||
/// [EIP-2935]: https://eips.ethereum.org/EIPS/eip-2935
|
||||
#[error(transparent)]
|
||||
BlockHashAccountLoadingFailed(#[from] ProviderError),
|
||||
/// EVM error during withdrawal requests contract call
|
||||
/// EVM error during withdrawal requests contract call [EIP-7002]
|
||||
///
|
||||
/// [EIP-7002]: https://eips.ethereum.org/EIPS/eip-7002
|
||||
#[error("failed to apply withdrawal requests contract call: {message}")]
|
||||
WithdrawalRequestsContractCall {
|
||||
/// The error message.
|
||||
message: String,
|
||||
},
|
||||
/// Error when decoding deposit requests from receipts [EIP-6110]
|
||||
///
|
||||
/// [EIP-6110]: https://eips.ethereum.org/EIPS/eip-6110
|
||||
#[error("failed to decode deposit requests from receipts: {0}")]
|
||||
DepositRequestDecode(String),
|
||||
}
|
||||
|
||||
/// BlockExecutor Errors
|
||||
|
||||
Reference in New Issue
Block a user