From e77f25bce63f5b04fd0fba943e90bc78060065e4 Mon Sep 17 00:00:00 2001 From: ledgerwatch Date: Mon, 4 Jul 2022 08:11:49 +0100 Subject: [PATCH] [erigon2.2] Temporary tables for state reconstitution (#512) * Add temporary table for Plain state reconstitution * Add 2 more temp tables Co-authored-by: Alexey Sharp --- kv/tables.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/kv/tables.go b/kv/tables.go index e16cc0b6f..28ad49d0f 100644 --- a/kv/tables.go +++ b/kv/tables.go @@ -369,6 +369,10 @@ const ( RStorageIdx = "RStorageIdx" RCodeKeys = "RCodeKeys" RCodeIdx = "RCodeIdx" + + PlainStateR = "PlainStateR" // temporary table for PlainState reconstitution + CodeR = "CodeR" // temporary table for Code reconstitution + PlainContractR = "PlainContractR" // temporary table for PlainContract reconstitution ) // Keys @@ -495,6 +499,10 @@ var ChaindataTables = []string{ RStorageIdx, RCodeKeys, RCodeIdx, + + PlainStateR, + CodeR, + PlainContractR, } const (