-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implements a fuzzer that generates the valid Merkel Patricia Proofs. #729
Commits on May 8, 2019
-
Implements draft version of fuzzy proof generator
Resolves: OpenST#716 See also: OpenST#718, OpenST#719
Paruyr Gevorgyan committedMay 8, 2019 Configuration menu - View commit details
-
Copy full SHA for 5fd35f4 - Browse repository at this point
Copy the full SHA 5fd35f4View commit details -
Adds unit tests of Util module
Paruyr Gevorgyan committedMay 8, 2019 Configuration menu - View commit details
-
Copy full SHA for 620ba10 - Browse repository at this point
Copy the full SHA 620ba10View commit details -
Paruyr Gevorgyan committed
May 8, 2019 Configuration menu - View commit details
-
Copy full SHA for 1a1ba69 - Browse repository at this point
Copy the full SHA 1a1ba69View commit details
Commits on May 9, 2019
-
Fixes failing tests and using Buffer rather string
Fixes failing test cases after linter error cleanup. Replaces string usages by Buffer.
Paruyr Gevorgyan committedMay 9, 2019 Configuration menu - View commit details
-
Copy full SHA for 3909c30 - Browse repository at this point
Copy the full SHA 3909c30View commit details -
Tests FuzzyProofGenerator::assertPaternValidity
Paruyr Gevorgyan committedMay 9, 2019 Configuration menu - View commit details
-
Copy full SHA for fafe11b - Browse repository at this point
Copy the full SHA fafe11bView commit details
Commits on May 13, 2019
-
Fixed several issues, added more tests, cleanup
- .gitignore ignores generated files from typescript files. - MerklePatriciaProof::verify and MerklePatriciaProof::verifyDebug functions uses toData instead of toBytes during comparsion agaist value. - Improved pattern validity to correctly handle ending branch node. - Fixed an issue with branch, extension and leaf nodes serialization. - .travis.yml runs fuzzy_proof_generator tests.
Paruyr Gevorgyan committedMay 13, 2019 Configuration menu - View commit details
-
Copy full SHA for ef3806d - Browse repository at this point
Copy the full SHA ef3806dView commit details -
Merge branch 'develop' into 'fuzzy-proof-generator'
Paruyr Gevorgyan committedMay 13, 2019 Configuration menu - View commit details
-
Copy full SHA for 8be8b01 - Browse repository at this point
Copy the full SHA 8be8b01View commit details -
Implements FuzzyProofGenerator::generateByPattern
In addition, contains the followings: - Store values in rlp encoding. - Introduces sanity tests for FuzzyProofGenerator::generate and FuzzyProofGenerator::generateByPattern functions. - Adds run.sh script to run FuzzyProofGenerator tests. - Updates .travis.yml to run FuzzyProofGenerator tests.
Paruyr Gevorgyan committedMay 13, 2019 Configuration menu - View commit details
-
Copy full SHA for bf48e4a - Browse repository at this point
Copy the full SHA bf48e4aView commit details -
Merge branch develop into fuzzy-proof-generator
Paruyr Gevorgyan committedMay 13, 2019 Configuration menu - View commit details
-
Copy full SHA for 5b2adc3 - Browse repository at this point
Copy the full SHA 5b2adc3View commit details -
Documents Types and Util classes
Paruyr Gevorgyan committedMay 13, 2019 Configuration menu - View commit details
-
Copy full SHA for 112b0e7 - Browse repository at this point
Copy the full SHA 112b0e7View commit details -
Documents BranchNode, ExtensionNode and LeafNode
Paruyr Gevorgyan committedMay 13, 2019 Configuration menu - View commit details
-
Copy full SHA for 350d11e - Browse repository at this point
Copy the full SHA 350d11eView commit details -
Documents (high-level) FuzzyProofGenerator
Paruyr Gevorgyan committedMay 13, 2019 Configuration menu - View commit details
-
Copy full SHA for cc330bb - Browse repository at this point
Copy the full SHA cc330bbView commit details -
Replaces only-get accessors by readonly modifier
Paruyr Gevorgyan committedMay 13, 2019 Configuration menu - View commit details
-
Copy full SHA for 1af2352 - Browse repository at this point
Copy the full SHA 1af2352View commit details -
Reverts back changes of branch's value handling
In addition, within './tools/fuzzy_proof_generator_tool/test/run.sh' tests are disabled as currently failing.
Paruyr Gevorgyan committedMay 13, 2019 Configuration menu - View commit details
-
Copy full SHA for a5d72b9 - Browse repository at this point
Copy the full SHA a5d72b9View commit details
Commits on May 14, 2019
-
Adjusts proof's value with library verify behavior
Paruyr Gevorgyan committedMay 14, 2019 Configuration menu - View commit details
-
Copy full SHA for 29e846b - Browse repository at this point
Copy the full SHA 29e846bView commit details
Commits on May 17, 2019
-
- Fixes a bug in FuzzyProofGenerator::processExtension() function. - Moves Util::encodeCompactExtensionNode() function to ExtensionNode::encodeCompact(). - Moves Util::encodeCompactLeafNode() function to LeafNode::encodeCompact(). - Moves Util::generateRandomKeccak256 function to FuzzyProofGenerator::generateRandomKeccak256(). - Moves nibbles related functionality from Util.ts to NibblesUtil.ts. - Removes Util.ts. - Improves documentation for low-level bitwise operations within NibblesUtil.ts. - assert.throws() instances check against a specific error message. - Enhances generateByPattern test suites. - Fixes lint errors for tools/fuzzy_proof_generator ts files. - Checks "proof_generation" dir within `npm run lint`. - Disables eslint @typescript-eslint/camelcase" rule. - Adds .eslintignore file. - Updates dev dependencies within package.json.
Paruyr Gevorgyan committedMay 17, 2019 Configuration menu - View commit details
-
Copy full SHA for d16549c - Browse repository at this point
Copy the full SHA d16549cView commit details -
- Renames NibblesUtil to Nibbles. - Fixes bugs and stronger requirement checks for FuzzyProofGenerator::generateByPattern(). - Enhances code documentation and comments.
Paruyr Gevorgyan committedMay 17, 2019 Configuration menu - View commit details
-
Copy full SHA for 12689e6 - Browse repository at this point
Copy the full SHA 12689e6View commit details -
Fixes failing generateByPattern test
Paruyr Gevorgyan committedMay 17, 2019 Configuration menu - View commit details
-
Copy full SHA for 076b790 - Browse repository at this point
Copy the full SHA 076b790View commit details -
Introduces BranchKeys type to improve readability
Paruyr Gevorgyan committedMay 17, 2019 Configuration menu - View commit details
-
Copy full SHA for bfbc3b4 - Browse repository at this point
Copy the full SHA bfbc3b4View commit details -
Merge branch develop into fuzzy-proof-generator
Paruyr Gevorgyan committedMay 17, 2019 Configuration menu - View commit details
-
Copy full SHA for c39176a - Browse repository at this point
Copy the full SHA c39176aView commit details