added finalized roots table (#915)

This commit is contained in:
Giulio rebuffo 2023-03-05 19:28:54 +01:00 committed by GitHub
parent 32eddc9df4
commit a790ec764a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -427,13 +427,10 @@ const (
BeaconState = "BeaconState" BeaconState = "BeaconState"
// [slot] => [signature + block without execution payload] // [slot] => [signature + block without execution payload]
BeaconBlocks = "BeaconBlock" BeaconBlocks = "BeaconBlock"
// [slot] => [attestation list (ssz)] // [slot] => [attestation list (custom encoding)]
Attestetations = "Attestetations" Attestetations = "Attestetations"
// [slot] => [Finalized block root]
// Erigon-CL indexing FinalizedBlockRoots = "FinalizedBlockRoots"
// [Slot] => [Root (block root/state root/eth1 root)]
SlotRootIndex = "SlotRootIndex"
// [Root (block root/state root/eth1 root)] => Slot // [Root (block root/state root/eth1 root)] => Slot
RootSlotIndex = "RootSlotIndex" RootSlotIndex = "RootSlotIndex"
@ -589,7 +586,7 @@ var ChaindataTables = []string{
// Beacon stuff // Beacon stuff
BeaconState, BeaconState,
BeaconBlocks, BeaconBlocks,
SlotRootIndex, FinalizedBlockRoots,
RootSlotIndex, RootSlotIndex,
Attestetations, Attestetations,
LightClient, LightClient,