mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat(engine): invalid block hooks crate (#10629)
Co-authored-by: Dan Cline <6798349+Rjected@users.noreply.github.com>
This commit is contained in:
13
crates/engine/invalid-block-hooks/src/witness.rs
Normal file
13
crates/engine/invalid-block-hooks/src/witness.rs
Normal file
@ -0,0 +1,13 @@
|
||||
use reth_primitives::{Receipt, SealedBlockWithSenders, SealedHeader, B256};
|
||||
use reth_provider::BlockExecutionOutput;
|
||||
use reth_trie::updates::TrieUpdates;
|
||||
|
||||
/// Generates a witness for the given block and saves it to a file.
|
||||
pub fn witness(
|
||||
_block: &SealedBlockWithSenders,
|
||||
_header: &SealedHeader,
|
||||
_output: &BlockExecutionOutput<Receipt>,
|
||||
_trie_updates: Option<(&TrieUpdates, B256)>,
|
||||
) {
|
||||
unimplemented!("witness generation is not supported")
|
||||
}
|
||||
Reference in New Issue
Block a user