-
Notifications
You must be signed in to change notification settings - Fork 39
[WIP] Committee aggregation #282
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
base: main
Are you sure you want to change the base?
Changes from all commits
b5b6d8a
4867d7d
7bcedca
980b5e8
60468af
213504a
4fac983
f2651d8
cc7548c
cb1a21b
e398823
90fc114
cdae6a4
b24d3ed
5c952ff
8a0c121
cb952f8
9d721bd
baddbeb
6556e81
3477d6e
9174f5b
3115ef5
3fffe71
d0462aa
e2fd644
d40199c
d46dd08
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -20,6 +20,7 @@ | |
| from lean_spec.subspecs.ssz import hash_tree_root | ||
| from lean_spec.types import Bytes32, Container, Uint64 | ||
|
|
||
| from ...xmss.aggregation import AggregatedSignatureProof | ||
| from ...xmss.containers import Signature | ||
| from ..checkpoint import Checkpoint | ||
| from .aggregation_bits import AggregationBits | ||
|
|
@@ -107,3 +108,10 @@ def aggregate_by_data( | |
| ) | ||
| for data, validator_ids in data_to_validator_ids.items() | ||
| ] | ||
|
|
||
| class SignedAggregatedAttestation(Container): | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @anshalshukla / @GrapeBaBa do we already have this type?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. also better to use message, signature terminlogy
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think we also need aggregated bit vector here as well,
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
AggregatedSignatureProof contains
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
no |
||
| data: AttestationData | ||
| """Combined attestation data similar to the beacon chain format.""" | ||
|
|
||
| proof: AggregatedSignatureProof | ||
| """Aggregated signature proof covering all participating validators.""" | ||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this global bit is not required, once the aggregtors publish signed attestations in the 2nd interval, they can be imported by all validators in the 3rd interval
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunately, without global topic for attestations, we might not be able to receive proofs in time to update safe target during interval 2: