From 67dba233dad54892c1136d034f8155daf4a2cc62 Mon Sep 17 00:00:00 2001 From: Sally MacFarlane Date: Mon, 17 Apr 2023 08:56:52 +1000 Subject: [PATCH] uncomment GoQuorum column families (#5350) Signed-off-by: Sally MacFarlane --- .../storage/keyvalue/KeyValueSegmentIdentifier.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ethereum/core/src/main/java/org/hyperledger/besu/ethereum/storage/keyvalue/KeyValueSegmentIdentifier.java b/ethereum/core/src/main/java/org/hyperledger/besu/ethereum/storage/keyvalue/KeyValueSegmentIdentifier.java index 1a8d5e229e..559f1880c8 100644 --- a/ethereum/core/src/main/java/org/hyperledger/besu/ethereum/storage/keyvalue/KeyValueSegmentIdentifier.java +++ b/ethereum/core/src/main/java/org/hyperledger/besu/ethereum/storage/keyvalue/KeyValueSegmentIdentifier.java @@ -29,9 +29,12 @@ public enum KeyValueSegmentIdentifier implements SegmentIdentifier { ACCOUNT_STORAGE_STORAGE(new byte[] {8}, new int[] {2}), TRIE_BRANCH_STORAGE(new byte[] {9}, new int[] {2}), TRIE_LOG_STORAGE(new byte[] {10}, new int[] {2}), + // previously supported GoQuorum private states - // GOQUORUM_PRIVATE_WORLD_STATE(new byte[] {11}), - // GOQUORUM_PRIVATE_STORAGE(new byte[] {12}), + // no longer used but need to be retained for db backward compatibility + GOQUORUM_PRIVATE_WORLD_STATE(new byte[] {11}), + GOQUORUM_PRIVATE_STORAGE(new byte[] {12}), + BACKWARD_SYNC_HEADERS(new byte[] {13}), BACKWARD_SYNC_BLOCKS(new byte[] {14}), BACKWARD_SYNC_CHAIN(new byte[] {15}),