From f38bce356deb5ad9b3f14e4b82e9b20c1bf70790 Mon Sep 17 00:00:00 2001 From: giuliorebuffo Date: Thu, 22 Sep 2022 18:05:02 +0200 Subject: [PATCH] added verkle tree buckets --- kv/tables.go | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/kv/tables.go b/kv/tables.go index 8f90d4adf..e07e0ece8 100644 --- a/kv/tables.go +++ b/kv/tables.go @@ -230,6 +230,12 @@ Invariants: const TrieOfAccounts = "TrieAccount" const TrieOfStorage = "TrieStorage" +// Mapping [block number] => [Verkle Root] +const VerkleRoots = "VerkleRoots" + +// Mapping [Verkle Root] => [Rlp-Encoded Verkle Node] +const VerkleTrie = "VerkleTrie" + const ( // DatabaseInfo is used to store information about data layout. DatabaseInfo = "DbInfo" @@ -532,6 +538,9 @@ var ChaindataTables = []string{ RStorageIdx, RCodeKeys, RCodeIdx, + + VerkleRoots, + VerkleTrie, } const (