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

Revert Arced pubkey optimization #5536

Conversation

dapplion
Copy link
Collaborator

@dapplion dapplion commented Apr 9, 2024

Issue Addressed

Features an optimization to de-duplicate the pubkey when an individual validator record is mutated. Since this optimization is not critical for tree states, let's drop it from the original PR to make the changes easier to digest.

Proposed Changes

Revert Arced pubkey optimization + compact beacon state

@dapplion dapplion force-pushed the tree-states-memory-revert-pubkey branch from 84e54bf to 8b6ecdd Compare April 10, 2024 02:48
@michaelsproul michaelsproul added the tree-states Upcoming state and database overhaul label Apr 11, 2024
@michaelsproul michaelsproul merged commit 8fda723 into sigp:tree-states-memory Apr 11, 2024
16 of 28 checks passed
@dapplion dapplion deleted the tree-states-memory-revert-pubkey branch April 11, 2024 06:34
mergify bot pushed a commit that referenced this pull request Apr 24, 2024
* Consensus changes

* EF tests

* lcli

* common and watch

* account manager

* cargo

* fork choice

* promise cache

* beacon chain

* interop genesis

* http api

* lighthouse

* op pool

* beacon chain misc

* parallel state cache

* store

* fix issues in store

* IT COMPILES

* Remove some unnecessary module qualification

* Revert Arced pubkey optimization (#5536)

* Merge remote-tracking branch 'origin/unstable' into tree-states-memory

* Fix caching, rebasing and some tests

* Remove unused deps

* Merge remote-tracking branch 'origin/unstable' into tree-states-memory

* Small cleanups

* Revert shuffling cache/promise cache changes

* Fix state advance bugs

* Fix shuffling tests

* Remove some resolved FIXMEs

* Remove StateProcessingStrategy

* Optimise withdrawals calculation

* Don't reorg if state cache is missed

* Remove inconsistent state func

* Fix beta compiler

* Rebase early, rebase often

* Fix state caching behaviour

* Update to milhouse release

* Fix on-disk consensus context format

* Merge remote-tracking branch 'origin/unstable' into tree-states-memory

* Squashed commit of the following:

commit 3a16649
Author: Michael Sproul <michael@sigmaprime.io>
Date:   Thu Apr 18 14:26:09 2024 +1000

    Fix on-disk consensus context format

* Keep indexed attestations, thanks Sean

* Merge branch 'on-disk-consensus-context' into tree-states-memory

* Merge branch 'unstable' into tree-states-memory

* Address half of Sean's review

* More simplifications from Sean's review

* Cache state after get_advanced_hot_state
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tree-states Upcoming state and database overhaul
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants