From b44c182cbd613de92aca8b9900a42cd31e58a756 Mon Sep 17 00:00:00 2001 From: Jared Wasinger Date: Fri, 17 Oct 2025 19:26:08 +0800 Subject: [PATCH] more odds-and-ends --- core/tracing/hooks.go | 6 ------ core/vm/evm.go | 1 - 2 files changed, 7 deletions(-) diff --git a/core/tracing/hooks.go b/core/tracing/hooks.go index 789436c5b8..cc1735e1b8 100644 --- a/core/tracing/hooks.go +++ b/core/tracing/hooks.go @@ -183,12 +183,6 @@ type ( // StorageChangeHook is called when the storage of an account changes. StorageChangeHook = func(addr common.Address, slot common.Hash, prev, new common.Hash) - // ColdStorageReadHook is called before a previously-unread storage slot is read. - ColdStorageReadHook = func(common.Address, common.Hash) - - // ColdAccountReadHook is called before an previously-unread account is read. - ColdAccountReadHook = func(address common.Address) - SelfDestructHook = func(address common.Address) // LogHook is called when a log is emitted. diff --git a/core/vm/evm.go b/core/vm/evm.go index b9a96e8d71..69061b5130 100644 --- a/core/vm/evm.go +++ b/core/vm/evm.go @@ -77,7 +77,6 @@ type TxContext struct { BlobHashes []common.Hash // Provides information for BLOBHASH BlobFeeCap *big.Int // Is used to zero the blobbasefee if NoBaseFee is set AccessEvents *state.AccessEvents // Capture all state accesses for this tx - Index uint64 // the index of the transaction within the block being executed (0 if executing a standalone call) } // EVM is the Ethereum Virtual Machine base object and provides