Skip to content

Fix #2746 lint#2750

Merged
vbuterin merged 1 commit intovbuterin-patch-12from
sync-protocol-simplify-fix
Nov 30, 2021
Merged

Fix #2746 lint#2750
vbuterin merged 1 commit intovbuterin-patch-12from
sync-protocol-simplify-fix

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