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

Archive state optimization #6935

Closed
twoeths opened this issue Jul 8, 2024 · 2 comments · Fixed by #7042
Closed

Archive state optimization #6935

twoeths opened this issue Jul 8, 2024 · 2 comments · Fixed by #7042
Assignees
Labels
meta-feature-request Issues to track feature requests.

Comments

@twoeths
Copy link
Contributor

twoeths commented Jul 8, 2024

Problem description

Right now we archive state using BeaconState.serialize() which is not optimized, see https://github.com/ChainSafe/lodestar/blob/unstable/packages/state-transition/test/perf/util/serializeState.test.ts#L20

Solution description

Additional context

No response

@twoeths twoeths added the meta-feature-request Issues to track feature requests. label Jul 8, 2024
@twoeths twoeths self-assigned this Aug 1, 2024
@twoeths
Copy link
Contributor Author

twoeths commented Aug 1, 2024

should be done after we turn on n-historical state by default
then we have a bufferPool on chain to be used for archiving state too

@twoeths
Copy link
Contributor Author

twoeths commented Aug 15, 2024

we done need this considering #7005

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
meta-feature-request Issues to track feature requests.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant