From 74cc372deced783d79d62500a4b4a02bff0e2ee5 Mon Sep 17 00:00:00 2001 From: Gary Rong Date: Wed, 26 Mar 2025 13:15:46 +0800 Subject: [PATCH] core/state: polish Signed-off-by: jsvisa --- core/state/stateupdate.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/core/state/stateupdate.go b/core/state/stateupdate.go index 210e704346..f9fd0b23cb 100644 --- a/core/state/stateupdate.go +++ b/core/state/stateupdate.go @@ -55,9 +55,10 @@ type accountUpdate struct { // The map key refers to the **HASH** of the raw storage slot key. storages map[common.Hash][]byte - // storagesOrigin store the original values of mutated slots in prefix-zero-trimmed RLP format. - // if `rawStorageKey` is true, the map key refers to the **RAW** storage slot key, - // else the **HASH** of the raw storage slot key. + // storagesOrigin store the original values of mutated slots in + // prefix-zero-trimmed RLP format. + // - the map key refers to the **RAW** slot key if `rawStorageKey` is true + // - the map key refers to the **HASH** of slot key if `rawStorageKey` is false storagesOrigin map[common.Hash][]byte }