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

implement SingleAttestation #6783

Open
wants to merge 2 commits into
base: unstable
Choose a base branch
from
Open

implement SingleAttestation #6783

wants to merge 2 commits into from

Conversation

tersec
Copy link
Contributor

@tersec tersec commented Dec 22, 2024

Copy link

github-actions bot commented Dec 22, 2024

Unit Test Results

       12 files  ±0    1 822 suites  ±0   57m 25s ⏱️ -55s
  5 327 tests ±0    4 980 ✔️ ±0  347 💤 ±0  0 ±0 
29 521 runs  ±0  29 077 ✔️ ±0  444 💤 ±0  0 ±0 

Results for commit 659d03d. ± Comparison against base commit 06cf78a.

♻️ This comment has been updated with latest results.

warn "No shuffling for attestation - report bug",
attestation = shortLog(attestation), target = shortLog(target)
return errIgnore("Attestation: no shuffling")
beacon_committee = get_beacon_committee(
Copy link
Member

Choose a reason for hiding this comment

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

here, ideally we'd have a fast and a slow path - the fast path is for when the shuffling is cached - then we check beacon committee and other "fast" checks and finally sig..

if instead the committee is unknown, we first check the signature and only then do we compute the shuffling to check the other fields

Copy link
Contributor Author

Choose a reason for hiding this comment

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

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