rm onreorg type

This commit is contained in:
Sina Mahmoodi 2024-12-03 16:44:26 +01:00
parent 4acea3bc8a
commit 018df6be5b

View file

@ -135,9 +135,6 @@ type (
// GenesisBlockHook is called when the genesis block is being processed. // GenesisBlockHook is called when the genesis block is being processed.
GenesisBlockHook = func(genesis *types.Block, alloc types.GenesisAlloc) GenesisBlockHook = func(genesis *types.Block, alloc types.GenesisAlloc)
// ReorgHook is called when a segment of the chain is reverted.
ReorgHook = func(reverted []*types.Block)
// OnSystemCallStartHook is called when a system call is about to be executed. Today, // OnSystemCallStartHook is called when a system call is about to be executed. Today,
// this hook is invoked when the EIP-4788 system call is about to be executed to set the // this hook is invoked when the EIP-4788 system call is about to be executed to set the
// beacon block root. // beacon block root.