-
Notifications
You must be signed in to change notification settings - Fork 972
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
Prysm phase 1 feedback #1850
Comments
Agreed with it’s not elegant, but a bit hesitant since we have a lot of
All sound good to me too 👍
(I don’t feel strongly about it)
Correct! |
Update: the remaining items:
|
This is what I have implemented for Prysm: https://github.com/terencechain/prysm-phase1/blob/phase1/beacon-chain/core/helpers/shard.go#L278-L334 They are helpers to group attestations by 1.) These helpers are similar to |
Quick update regarding phase 1 work with Prysm. I’ve implemented most of what’s in phase 1 spec today except for custody, light client and fraud proof logic. With the proper validator shard duties in place, without networking, we can begin to simulate shard transition and crosslink in a local enviroment. This work is currently getting done here and it will get migrated to the official Prysm repo post beacon chain mainnet. Here’s some preliminary feedback from our end after implemented shard transition logic:
Shard
toAttestationData
, always having to callget_shard
is not elegant. Being able to quickly validateShard
correctness for any incoming attestation is valuableShard
toShardBlock
, same reason as above. Able to quickly validateShard
correctness for a shard block is valuableprocess_crosslink_for_shard
. Would love to seeprocess_crosslink_for_shard
get split to be more granular.AttestationData
’shead_shard_root
toshard_head_root
, it resonates better withshard_transition_root
. Both prefix shard.is_shard_attestation
tois_ontime_shard_attestation
since attestation needs to be on time as wellverify_shard_transition_false_positives
toverify_empty_shard_transition
or something better 😅unpack_compact_validator
inside light client spec since it’s not used within the scope in phase1 beacon chainonline_countdown
as it’s on field inBeaconState
rather than having eachValidator
track own online countdownThe text was updated successfully, but these errors were encountered: