From 8e4430bb7741cc3c8fb02f42207d399f4e359010 Mon Sep 17 00:00:00 2001 From: jsvisa Date: Tue, 1 Jul 2025 23:57:20 +0800 Subject: [PATCH] core/rawdb: we use blockID instead of block_num Signed-off-by: jsvisa --- core/rawdb/schema.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/rawdb/schema.go b/core/rawdb/schema.go index eec25a8042..388a08f243 100644 --- a/core/rawdb/schema.go +++ b/core/rawdb/schema.go @@ -125,8 +125,8 @@ var ( StateHistoryIndexPrefix = []byte("m") // The global prefix of state history index data StateHistoryAccountMetadataPrefix = []byte("ma") // StateHistoryAccountMetadataPrefix + account address hash => account metadata StateHistoryStorageMetadataPrefix = []byte("ms") // StateHistoryStorageMetadataPrefix + account address hash + storage slot hash => slot metadata - StateHistoryAccountBlockPrefix = []byte("mba") // StateHistoryAccountBlockPrefix + account address hash + block_number => account block - StateHistoryStorageBlockPrefix = []byte("mbs") // StateHistoryStorageBlockPrefix + account address hash + storage slot hash + block_number => slot block + StateHistoryAccountBlockPrefix = []byte("mba") // StateHistoryAccountBlockPrefix + account address hash + blockID => account block + StateHistoryStorageBlockPrefix = []byte("mbs") // StateHistoryStorageBlockPrefix + account address hash + storage slot hash + blockID => slot block // VerklePrefix is the database prefix for Verkle trie data, which includes: // (a) Trie nodes