You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nimbus uses a very nice optimization that we should implement too:
When serializing state, don't serialize + deserialize Validator object fields withdrawal_credentials and pubkey. Instead store this data is a separate global append-only list.
Reduce disk size usage significantly
Reduce serialization + de-serialization time by +50%
Ensure data de-duplication when doing regen
To implement in SSZ, Container type must have some option to exclude certain fields from serialization. Then after reading the state, all validator object values must be iterated and mutated to append the immutable properties.
Nimbus uses a very nice optimization that we should implement too:
When serializing state, don't serialize + deserialize Validator object fields
withdrawal_credentials
andpubkey
. Instead store this data is a separate global append-only list.To implement in SSZ, Container type must have some option to exclude certain fields from serialization. Then after reading the state, all validator object values must be iterated and mutated to append the immutable properties.
Nimbus references:
WIP branch
The text was updated successfully, but these errors were encountered: