-
Notifications
You must be signed in to change notification settings - Fork 677
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
Electra: Remaining Consensus Data Structures #5712
base: unstable
Are you sure you want to change the base?
Conversation
* update * experiment * superstruct changes * revert * superstruct changes * fix tests * indexed attestation * indexed attestation superstruct * updated TODOs
* `superstruct` Attester Fork Variants * Push a little further * Deal with Encode / Decode of AttesterSlashing * not so sure about this.. * Stop Encode/Decode Bounds from Propagating Out * Tons of Changes.. * More Conversions to AttestationRef * Add AsReference trait (#15) * Add AsReference trait * Fix some snafus * Got it Compiling! :D * Got Tests Building * Get beacon chain tests compiling --------- Co-authored-by: Michael Sproul <micsproul@gmail.com>
| ForkName::Capella | ||
| ForkName::Deneb => Self::Base(ssz_decode_file(path)?), | ||
ForkName::Electra => Self::Electra(ssz_decode_file(path)?), | ||
}) | ||
} |
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.
something is strange here.. the EF attester_slashing
tests pass even when I make this always decode Electra
| ForkName::Altair | ||
| ForkName::Bellatrix | ||
| ForkName::Capella | ||
| ForkName::Deneb => { |
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.
here too.. the EF tests pass even if i make this always decode electra
..
* Upgrade `superstruct` to `0.8.0` * superstruct `AggregateAndProof`
Merge unstable into Electra attestation changes
* fix get attesting indices * better errors * fix compile * only get committee index once
* attestation related ef test fixes * delete commented out stuff
* Fix Aggregation Pool for Electra * Remove Outdated Interface
* fix get attesting indices (#5742) * fix get attesting indices * better errors * fix compile * only get committee index once * Ef test fixes (#5753) * attestation related ef test fixes * delete commented out stuff * Fix Aggregation Pool for Electra (#5754) * Fix Aggregation Pool for Electra * Remove Outdated Interface * fix ssz (#5755) --------- Co-authored-by: realbigsean <sean@sigmaprime.io>
This reverts commit ab9e58a.
…/lighthouse into electra_op_pool
* add compute_on_chain_agg impl to op pool changes * fmt * get op pool tests to pass
Optimise Electra op pool aggregation
* subscribe to the correct att subnets for electra * subscribe to the correct att subnets for electra
…merge_unstable Merge `unstable` into `electra_attestation_changes`
Fix validator logic
…g-handling Electra slashing handling
* Remove Crappy Decode impl for Attestation * Remove Inefficient Attestation Decode impl * Implement Schema Upgrade / Downgrade * Update beacon_node/beacon_chain/src/schema_change/migration_schema_v20.rs Co-authored-by: Michael Sproul <micsproul@gmail.com> --------- Co-authored-by: Michael Sproul <micsproul@gmail.com>
…5810) * - get attestation related beacon chain tests to pass - observed attestations are now keyed off of data + committee index - rename op pool attestationref to compactattestationref - remove unwraps in agg pool and use options instead - cherry pick some changes from ef-tests-electra * cargo fmt * fix failing test * Revert dockerfile changes * make committee_index return option * function args shouldnt be a ref to attestation ref * fmt * fix dup imports --------- Co-authored-by: realbigsean <seananderson33@GMAIL.com>
Issue Addressed
This PR implements the remaining consensus data structure changes in
Electra
. It can't be merged until we cut a release for5.2.0