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

Fix #2746 lint #2750

Merged
merged 1 commit into from
Nov 30, 2021
Merged

Fix #2746 lint #2750

merged 1 commit into from
Nov 30, 2021

Conversation

hwwhww
Copy link
Contributor

@hwwhww hwwhww commented Nov 30, 2021

  1. Fix Simplify sync protocol and update to calculate optimistic heads #2746 lint errors
  2. Fix SAFETY_THRESHOLD_PERIOD definition. @vbuterin could you confirm it? 🙏


```python
def process_slot(store: LightClientStore, current_slot: Slot):
def process_slot_for_light_client_store(store: LightClientStore, current_slot: Slot) -> None:
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Function name process_slot has been taken by core beacon chain spec. Here I just renamed it to something else. Feel free to propose a better name.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@vbuterin vbuterin merged commit 7de1495 into vbuterin-patch-12 Nov 30, 2021
@hwwhww hwwhww deleted the sync-protocol-simplify-fix branch November 30, 2021 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants