Skip to content

Store fork-choice votes independently from proofs and signatures #504

Description

@MegaRedHand

Currently, we store proofs and signatures in memory and use them for computing fork-choice weights on the fly. We should instead store the proof-less attestations of each validator in an independent field, to avoid the FIFO eviction of proofs to affect the latest vote of each validator.

We want to have, in addition to signatures and payloads:

/// Map from validator index to its latest vote
votes: Vec<AttestationData>

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions