-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
Milestone
Description
We only start validating block.Time when Height > 1, because there is no commit to compute the median timestamp from for the first block. This means a faulty proposer could make the first block with whatever time they want.
Instead, we should require the timestamp of block 1 to match the genesis time.
I discovered this while refactoring the ValidateBlock tests to be table-driven while working on tests for #2560.
Reactions are currently unavailable