From 8a4402993a4eb2c3bcf0cb899be3d589d47fed3e Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Wed, 5 Feb 2025 00:39:37 +0100 Subject: [PATCH] core/tracing: add note about WrapWithJournal in comments --- core/tracing/hooks.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/tracing/hooks.go b/core/tracing/hooks.go index ac5ebf1a0d..94b32d9b71 100644 --- a/core/tracing/hooks.go +++ b/core/tracing/hooks.go @@ -260,7 +260,7 @@ const ( BalanceDecreaseSelfdestructBurn BalanceChangeReason = 14 // BalanceChangeRevert is emitted when the balance is reverted back to a previous value due to call failure. - // It is only emitted when the tracer has opted in to use the journaling wrapper. + // It is only emitted when the tracer has opted in to use the journaling wrapper (WrapWithJournal). BalanceChangeRevert BalanceChangeReason = 15 ) @@ -357,6 +357,6 @@ const ( NonceChangeAuthorization NonceChangeReason = 5 // NonceChangeRevert is emitted when the nonce is reverted back to a previous value due to call failure. - // It is only emitted when the tracer has opted in to use the journaling wrapper. + // It is only emitted when the tracer has opted in to use the journaling wrapper (WrapWithJournal). NonceChangeRevert NonceChangeReason = 6 )