Sitelet https://web.archive.org/web/20210601215333/https://github.com/ethereum/eth2.0-specs/pull/2092
Skip to content
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

Simplify fork choice spec #2092

Merged
merged 2 commits into from Nov 3, 2020
Merged

Simplify fork choice spec #2092

merged 2 commits into from Nov 3, 2020

Conversation

@ralexstokes
Copy link
Member

@ralexstokes ralexstokes commented Oct 7, 2020

This change should be non-substantive as any blocks in blocks should be descendants (inclusive) of the store.justified_checkpoint (refer get_filtered_block_tree) so that in get_head all blocks considered as potential heads will have slot > justified_slot. Considering this condition universally applies, adding the and ... arm to the conditional is unnecessary overhead.

ralexstokes added 2 commits Oct 7, 2020
This change should be non-substantive as any blocks in `blocks` should be descendants (inclusive) of the `store.justified_checkpoint` (refer `get_filtered_block_tree`) so that in `get_head` all blocks considered as potential heads will have `slot > justified_slot`. Considering this condition universally applies, adding the `and ...` arm to the conditional is unnecessary overhead.
@djrtwo djrtwo changed the base branch from dev to v1.0-candidate Nov 3, 2020
@djrtwo
djrtwo approved these changes Nov 3, 2020
@djrtwo djrtwo merged commit bfaef68 into v1.0-candidate Nov 3, 2020
10 checks passed
10 checks passed
ci/circleci: build_deposit_contract Your tests passed on CircleCI!
Details
ci/circleci: checkout_specs Your tests passed on CircleCI!
Details
ci/circleci: codespell Your tests passed on CircleCI!
Details
ci/circleci: install_deposit_contract_web3_tester Your tests passed on CircleCI!
Details
ci/circleci: install_pyspec_test Your tests passed on CircleCI!
Details
ci/circleci: lint Your tests passed on CircleCI!
Details
ci/circleci: table_of_contents Your tests passed on CircleCI!
Details
ci/circleci: test Your tests passed on CircleCI!
Details
ci/circleci: test_deposit_contract Your tests passed on CircleCI!
Details
ci/circleci: test_deposit_contract_web3_tests Your tests passed on CircleCI!
Details
@djrtwo djrtwo deleted the ralexstokes-patch-1 branch Nov 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants