Repository navigation
Add dependent root check to proposer preferences validation (alpha.13) - #9760
Conversation
|
Some required checks have failed. Could you please take a look @eserilev? 🙏 |
6557de5 to
dcecf6b
Compare
dcecf6b to
d5d70b0
Compare
|
Some required checks have failed. Could you please take a look @eserilev? 🙏 |
d5d70b0 to
f56251b
Compare
| }); | ||
| } | ||
|
|
||
| let proto_array = fork_choice_read.proto_array().core_proto_array(); |
There was a problem hiding this comment.
Can this entire logic not live in a fork choice instead?
08ce7ae to
0a1c104
Compare
chong-he
left a comment
There was a problem hiding this comment.
I can see that the 2 checks in ethereum/consensus-specs#5443 are added in this PR. Specifically:
- check for the dependent_root slot to be < start slot of an epoch (strictly less than), or Lighthouse will return error:
DependentRootToRecent - check for function
is_valid_dependent_root, failing which Lighthouse will return error:InvalidDependentRoot
Looks great overall, just some minor comments.
40fd451 to
d92f47e
Compare
chong-he
left a comment
There was a problem hiding this comment.
Nice, I see that Pawan's comment has been addressed where the get children code is moved to fork_choice.rs, which is cleaner.
85ba2b1 to
fa000a4
Compare
|
Queued — the merge queue status continues in this comment ↓. |
fa000a4 to
6cdb51b
Compare
6a0c168 to
da61d0b
Compare
Merge Queue Status
This pull request spent 53 minutes 21 seconds in the queue, including 20 minutes 12 seconds running CI. ReasonPull request #9760 has been dequeued by @pawanjay176 with a Requeued — the merge queue status continues in this comment ↓. |
|
@mergify dequeue |
Merge Queue Status🛑 Queue command has been cancelled |
|
@mergify dequeue |
Merge Queue Status
This pull request spent 1 hour 24 minutes 3 seconds in the queue, including 50 minutes 56 seconds running CI. Required conditions to merge
|
Issue Addressed
ethereum/consensus-specs#5443