-
Notifications
You must be signed in to change notification settings - Fork 983
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move is_data_available
check to fork-choice on_block
#3185
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left some relatively minor comments on file/definition organization
Also, the fact that we have no tests change here is a bit unnerving -- seeming we don't have any tests for is_data_available()
within fork-choice or state transition.
It might be good to upgtrade the fork-choice test format to include if a block is available. (and if not, be able to subsequently become available) but I'm not sure if we should do so here
Co-authored-by: Danny Ryan <dannyjryan@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
excellent!
We could do something like the way we hacked consensus-specs/tests/core/pyspec/eth2spec/test/bellatrix/fork_choice/test_on_merge_block.py Lines 29 to 50 in e9a7a6d
I'll open a ticket, but probably add it in the next next release? |
Address #3170
Note: need to check again the confidence level of this change.