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
We may use platform specific exports to get around it or have some logic to pick between implementations depending on platform.
Important to note that many consumers of SSZ assume everything is a Uint8Array. Buffer.slice() has different behaviour than Uint8Array.slice, so we must audit all downstream code to prevent surprises.
The text was updated successfully, but these errors were encountered:
@nflaig noted that SSZ uses a browser compatible but slow implementation for fromHexString
ssz/packages/ssz/src/util/byteArray.ts
Lines 32 to 35 in d030130
We may use platform specific exports to get around it or have some logic to pick between implementations depending on platform.
Important to note that many consumers of SSZ assume everything is a Uint8Array. Buffer.slice() has different behaviour than Uint8Array.slice, so we must audit all downstream code to prevent surprises.
The text was updated successfully, but these errors were encountered: