Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace lodestarTypes Update tests Add Union and None types Update spec tests Remove old src and lodestar dependencies Improve JSON parsing for tests Load YAML with lodestar utils schema Commit ArrayComposite before getAll Re-write toJson fromJson test Fix uint json conversions Print tree in valid test if requested Fix hashTreeRoot for ByteList Add RENDER_ROOTS option Fix typos Use numerical sort in array commit Fix value_serializedSizeArrayComposite Pass ssz_generic tests Allow to select tests to run in ssz_static Fix container bytes offset Rename fixedLen to fixedSize Sort deserailization methods Print json stringified in test Review logic Clean up tests Define JSON casing at constructor time only Add casing maps for merge types Update casing in unit tests Re-organize utils Fix merge casing FIx offset calculation Pass all spec test pre-merge Bump merge test Extend timeout for mainnet tests Pass all unit tests Return defaultValue in simpleserialize random Remove @chainsafe/lodestar-spec-test-util dependency Copy yaml schema from lodestar-utils Fix benchmark type issues Skip createProof benchmark Skip old benchmark without runner Remove postinstall script Re-add UintBigint optimization Fix set_exitEpoch_and_hashTreeRoot benchmark Add List of Number benchmark Use DataViews for faster deserialization Use DataViews for tree serialization too Update workflows build after install Update packedNode tests Review Tree API Validate length in ByteArrays FIx benchmarks in persistent-merkle-tree Simplify LeafNode constructor Refactor subtreeFillToContents Run struct <-> tree_backed benchmarks Update test types Fix Uint64 DataView benchmarks Add benchmarks for full state serialization Use consistent initialization in DataView Optimize toView for ByteArray Add clone method for safer ContainerTreeViewDU Add documentation to all public methods Update SSZ README Simplify testTypes Update persistent-merkle-tree README Add unit test push x5 Fix heigh typo Add note Supports index up to Number.MAX_SAFE_INTEGER. Address PR comments Add more benchmarks (#227) Remove merkleizeSingleBuff Add more documentation Add typeName to all containers Add eth2 JSON casing Rename merge to bellatrix Fix missing renames of merge to bellatrix Update ssz readme Export byteArrayEquals Add more BitArray functionality Various fixes Test type UX of allForks types Abstract logic into BitArray and ByteArray Add .equals functionality Don't run allForks code Rename receiptRoot Update ssz docstrings Multiple fixes Remove non-existent variable Add proof api Fix int conversion in node.getUintBigint Add Proofs functionality Run Proof tests on ssz_static minimal Add length node for proofs of lists Require rootNode only when necessary in Array proofs Fix rebase issues Move Node navigation to functions Add treeZeroAfterIndex fn Add sliceTo method in CompositeList ViewDU Use Uint64NumInf only where necessary Add Eth1Block type Use defaultView and defaultViewDU methods Support BranchNodeStruct in proofs Run proof tests Post process proof nodes Fix proof generation for all types Fix ContainerNodeStructType proof unit test Stop tracking complimentary benchmarks Fix typo in Union maxSize Add test for maxSize and minSize for all data structures Export helper functions Fix length param in Vector Prevent setting values in ViewDU beyond length Add more test cases Improve ListBasicTreeViewDU.push logic Fix Composite ViewDU commit nodes logic Fix cache logic in ViewDU Use type guards and simply set composite Fix allForks test Fix recursive call in BitArray Ensure data consistency in ArrayCompositeViewDU Better error in BitArray.set FIx typo in populateAllNodes Add more BitArray unit tests TreeViewDU.commit should not return node Better error messages in fromHexString Auto-commit on ViewDU Fix perf types Fix proof generation for Validator type Benchmark more eth2 ssz objects Track raw cost of hashing vc list Add more coverage WIP More coverage WIP Prevent pushing over length More coverage Ensure consistent mutability behaviour Ensure correct mutability in ContainerNodeStruct Move isViewMutable to CompositeType Prevent keeping references for immutable views Fix ContainerNodeStruct valid tests Fix types in Uint constructor Increase bitArray coverage Guard against new BitList checks Fix readVariableOffsetsArrayComposite
- Loading branch information