Skip to content

Conversation

@etan-status
Copy link
Contributor

  • Sync committee is determined by signature_slot
  • Signature fork version is determined by max(signature_slot, 1) - 1
  • Attested block fork version can be anything < signature_slot

Old logic incorrectly derived signature fork version from signature_slot and did not subtract a slot. Extended tests to check this edge case.

- Sync committee is determined by signature_slot
- Signature fork version is determined by max(signature_slot, 1) - 1
- Attested block fork version can be anything < signature_slot

Old logic incorrectly derived signature fork version from signature_slot
and did not subtract a slot. Extended tests to check this edge case.
etan-status added a commit to status-im/nimbus-eth2 that referenced this pull request Mar 8, 2023
etan-status added a commit to status-im/nimbus-eth2 that referenced this pull request Mar 8, 2023
EmilIvanichkovv added a commit to metacraft-labs/DendrETH that referenced this pull request Mar 9, 2023
zah pushed a commit to metacraft-labs/DendrETH that referenced this pull request Mar 9, 2023
Copy link
Member

@dapplion dapplion left a comment

Choose a reason for hiding this comment

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

Copy link
Contributor

@hwwhww hwwhww left a comment

Choose a reason for hiding this comment

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

lgtm

this light client fork version thing is so unfortunately so tricky

@hwwhww hwwhww merged commit de57f2a into ethereum:dev Mar 16, 2023
@etan-status etan-status deleted the lc-forkversion branch March 16, 2023 11:53
bluele added a commit to datachainlab/ethereum-light-client-rs that referenced this pull request Oct 27, 2024
Signed-off-by: Jun Kimura <jun.kimura@datachain.jp>
bluele added a commit to datachainlab/ethereum-light-client-rs that referenced this pull request Oct 27, 2024
Signed-off-by: Jun Kimura <jun.kimura@datachain.jp>
block-druidxrew3 added a commit to block-druidxrew3/DendrETH that referenced this pull request Oct 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants