ssz
ssz copied to clipboard
Typescript implementation of Simple Serialize (SSZ)
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...
**Motivation** **Description** Closes #issue_number **Steps to test or reproduce**
**Is your feature request related to a problem? Please describe.** There's a 30% overhead cost converting things back a forth to wasm friendly formats For context this is only really...
**Is your feature request related to a problem? Please describe.** We'd like to streamline our release process to avoid manual bumping of versions and publishing. **Describe the solution you'd like**...
NodeJS represents Uint8Arrays inefficiently when they have small sizes. The validators object have pubkey and withdrawal_credentials that can be thought as an append-only list which take ~140MB in a single...
Play around and audit the logic of this function which batch add nodes to tree for performance: https://github.com/ChainSafe/ssz/blob/b51ae5c4ee3b64b5a8b0775b246ed561ca43cc58/packages/persistent-merkle-tree/src/tree.ts?_pjax=%23js-repo-pjax-container%2C%20div%5Bitemtype%3D%22http%3A%2F%2Fschema.org%2FSoftwareSourceCode%22%5D%20main%2C%20%5Bdata-pjax-container%5D#L450 as requested by @dapplion
In discussion with @potuz, it was discovered that there is scope for using capabilities of SIMD enabled processors, use case: ssz merkalization of the lists for which @potuz has reported...
Lodestar's 64 bytes hashing is similar performance to lighthouse while the ssz full state hashing has different outcomes with lighthouse doing much better. Investigate and chart the course to bring...
**Is your feature request related to a problem? Please describe.** Right now these utils convert to BigInt unnecessarily and we know that we have performance issue with using BigInt **Describe...
We have built many additional caches in Lodestar CachedBeaconState to make the beacon state transition as fast as it needs to be. However those structures are very verbose, repetitive in...