From 0be6e22eafa003d12d2407ab4f2c6e1488cd85b7 Mon Sep 17 00:00:00 2001 From: Sina Mahmoodi Date: Thu, 31 Aug 2023 16:35:43 +0200 Subject: [PATCH] add comment to statedb logger --- core/state/statedb.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/state/statedb.go b/core/state/statedb.go index 3f52b9f736..b3ee524fc1 100644 --- a/core/state/statedb.go +++ b/core/state/statedb.go @@ -56,6 +56,8 @@ func (n *proofList) Delete(key []byte) error { // StateLogger is used to collect state update traces from EVM transaction // execution. +// The following hooks are invoked post execution. I.e. looking up state +// after the hook should reflect the new value. // Note that reference types are actual VM data structures; make copies // if you need to retain them beyond the current call. type StateLogger interface {