mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat: implement EIP-2935 (#8431)
Co-authored-by: Oliver Nordbjerg <onbjerg@users.noreply.github.com> Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
This commit is contained in:
@ -67,7 +67,9 @@ pub enum BlockValidationError {
|
||||
/// The beacon block root
|
||||
parent_beacon_block_root: B256,
|
||||
},
|
||||
/// EVM error during beacon root contract call
|
||||
/// EVM error during [EIP-4788] beacon root contract call.
|
||||
///
|
||||
/// [EIP-4788]: https://eips.ethereum.org/EIPS/eip-4788
|
||||
#[error("failed to apply beacon root contract call at {parent_beacon_block_root}: {message}")]
|
||||
BeaconRootContractCall {
|
||||
/// The beacon block root
|
||||
@ -75,6 +77,9 @@ 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.
|
||||
#[error(transparent)]
|
||||
BlockHashAccountLoadingFailed(#[from] ProviderError),
|
||||
}
|
||||
|
||||
/// BlockExecutor Errors
|
||||
|
||||
Reference in New Issue
Block a user