-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Lightclient, BeaconState and aggregation #308
Comments
|
I think some of this confusion might be because of how the signature serialization is specified: as an open-ended list of |
@djrtwo Can we specify the signature as a (Typo edited.) |
|
As a fixed tuple? We don't currently have support for this in SSZ Could define a new container type {
'z1': 'uint384',
'z2': 'uint384',
} This would also require slight modifications to either the functions in |
@djrtwo More verbose but feels like a small win :) |
I guess this is where I have to make the mandatory notice that an object adds 4 bytes to the serialization over a custom type ( |
one option is to move away from hash32 (in bytes) and uint384 (in bits) and instead settle on a single, fixed-length array type (bytesNN) that we could use for situations like this. |
In summary:
Any other options? If we use (4), IMO I don't want to mix SSZ serialization object into BLS spec, it's should be isolated. |
Option 5: same as option 4 but with |
I'm in favor of defining Agreed @hwwhww. Should keep SSZ datastructures isolated in the core spec |
This is being addressed by #348. I think the consensus is to use |
Looking at the current BeaconState (https://github.com/ethereum/eth2.0-specs/blob/c1a3b29145c84c6ac4422314b7b54898ac9f6693/specs/core/0_beacon-chain.md), the fields are defined the following way:
And BeaconBlocks are defined this way:
Notice that it's mentioning
signature
and notaggregate_signature
like inSlashableVoteData
andAttestation
so it may be quite huge.What is the state that light clients must keep track of?
The text was updated successfully, but these errors were encountered: