ssz icon indicating copy to clipboard operation
ssz copied to clipboard

Typescript implementation of Simple Serialize (SSZ)

Results 87 ssz issues
Sort by recently updated
recently updated
newest added

**Motivation** - Improve as-sha256 **Description** - Chain w computation in the same for loop of hashBlocks() - Use UintArray.slice() Closes #357

as-sha256
CI

Some improvement could be done: - Use latest assemblyscript yields better performance - Chain w computation to the main loop in hashBlocks() - Return result by using Uint8Array.slice() ``` digestTwoHashObjects...

## Current Hashing Approach Lodestar's architecture relies heavily on maintaining a full merkle tree of the beacon state. We represent the tree as a linked data structure, where each node...

meta-investigate

@nflaig noted that SSZ uses a browser compatible but slow implementation for fromHexString https://github.com/ChainSafe/ssz/blob/d0301303e0da5695b2e86d283f1763b27478a1d5/packages/ssz/src/util/byteArray.ts#L32-L35 We may use platform specific exports to get around it or have some logic to pick...

**Motivation** While doing gindex calculations on a BeaconState, noticed that there is a 'bug' in getting gindexes for validator entries. **Description** Remove the overridden getPropertyGindex that prevents calculation of gindices...

ssz

1. wasm is not supported in all environments. the library is used in ethereumjs, which means the use-cases can be extensive 2. as-sha256 is slower than pure-js audited implementation in...

**Describe the bug** ```ts import {ssz} from "@lodestar/types"; const {BeaconState} = ssz.phase0; console.log( BeaconState.getPathInfo(["validators", 0, "activationEpoch"]).gindex === BeaconState.getPathInfo(["validators", 0, "pubkey"]).gindex ); // true ``` **Expected behavior** `false`

prio-medium
meta-bug

The wasm is loaded using new Module() instead of required. This cannot be supported in a manifest 3 chrome extension since it requires wasm-unsafe-eval in the CSP and this is...

Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics) from 4.1.0 to 4.1.1. Commits 2449650 Update mocha 560b2d8 Don't use regex to trim whitespace b1bdb92 Remove linting package zoo c20dc7e Cache 308 See full diff in compare...

meta-dependencies

Bumps [ua-parser-js](https://github.com/faisalman/ua-parser-js) from 0.7.31 to 0.7.33. Changelog Sourced from ua-parser-js's changelog. Version 0.7.31 / 1.0.2 Fix OPPO Reno A5 incorrect detection Fix TypeError Bug Use AST to extract regexes and...

meta-dependencies