You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The block gets added to the store before checking it's a descendant of the finalized block and later than the finalized epoch slot. Any reason it is added before those verifications?
The appropriate spot looks to be after state transition
The text was updated successfully, but these errors were encountered:
terencechain
changed the title
Blocks added to the store before a few checks
Blocks added to the store before some verifications
Jul 11, 2019
Because with the current algorithm, the given block would be queried in get_ancestor(store: Store, root: Hash, slot: Slot) function recursively.
I had the same question before: #1068 (comment), but we haven't figured out a better solution yet.
We do want to make the fork choice rule spec more abstract in the spec level, however for sanity testing, the Store is exposed as status quo. IMO it might need more iterations past spec freeze to make it better.
The block gets added to the store before checking it's a descendant of the finalized block and later than the finalized epoch slot. Any reason it is added before those verifications?
The appropriate spot looks to be after state transition
The text was updated successfully, but these errors were encountered: