mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-29 17:18:08 -05:00
fix: remove BlockExecutor default impl
This commit is contained in:
@@ -4,11 +4,9 @@ use thiserror::Error;
|
||||
|
||||
/// Takes block and executes it, returns error
|
||||
#[async_trait]
|
||||
pub trait BlockExecutor {
|
||||
pub trait BlockExecutor: Send + Sync {
|
||||
/// Execute block
|
||||
async fn execute(&self, _block: Block) -> Error {
|
||||
Error::VerificationFailed
|
||||
}
|
||||
async fn execute(&self, _block: Block) -> Error;
|
||||
}
|
||||
|
||||
/// BlockExecutor Errors
|
||||
|
||||
Reference in New Issue
Block a user