From a790ec764a83743ee545154d9233969d186bda24 Mon Sep 17 00:00:00 2001 From: Giulio rebuffo Date: Sun, 5 Mar 2023 19:28:54 +0100 Subject: [PATCH] added finalized roots table (#915) --- kv/tables.go | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/kv/tables.go b/kv/tables.go index 77ee6eb04..2445c1c45 100644 --- a/kv/tables.go +++ b/kv/tables.go @@ -427,13 +427,10 @@ const ( BeaconState = "BeaconState" // [slot] => [signature + block without execution payload] BeaconBlocks = "BeaconBlock" - // [slot] => [attestation list (ssz)] + // [slot] => [attestation list (custom encoding)] Attestetations = "Attestetations" - - // Erigon-CL indexing - - // [Slot] => [Root (block root/state root/eth1 root)] - SlotRootIndex = "SlotRootIndex" + // [slot] => [Finalized block root] + FinalizedBlockRoots = "FinalizedBlockRoots" // [Root (block root/state root/eth1 root)] => Slot RootSlotIndex = "RootSlotIndex" @@ -589,7 +586,7 @@ var ChaindataTables = []string{ // Beacon stuff BeaconState, BeaconBlocks, - SlotRootIndex, + FinalizedBlockRoots, RootSlotIndex, Attestetations, LightClient,