Commit Graph

53 Commits

Author SHA1 Message Date
advaita-saha 837427902f
feat: new pointToHash as per EIP-6800 2024-04-02 03:14:52 +05:30
Advaita Saha b5812e6ab5
Merge pull request #23 from status-im/stable/stateless-1
add zeroField and BytesBE
2024-04-02 03:03:19 +05:30
Agnish Ghosh 8352eaded7
Merge branch 'develop' of github.com:status-im/nim-eth-verkle into stable/stateless-1 2024-04-02 01:40:19 +05:30
Daniel Lamberger 7da6604946 added support for updating multiple leaves under the same stem with faster commitment update 2024-03-28 21:54:45 +02:00
advaita-saha ff7b268ae6
performace test added for setValue 2024-03-28 17:25:02 +05:30
advaita-saha bca289fa53
feat: fromBEBytes to Field element 2024-03-19 14:56:38 +05:30
advaita-saha d48b92d69f
feat: add zeroField func 2024-03-18 10:38:12 +05:30
advaita-saha fca184b68d
fix: changed fixed array to openArray in ipaCommitToPoly 2024-03-18 02:00:07 +05:30
Agnish Ghosh da564251dd
fix: math funcs, bumped constantine to 976c8bb (#22) 2024-03-17 21:16:24 +05:30
Agnish Ghosh 1df111a2f3
fix: math funcs, bumped constantine to 976c8bb 2024-03-16 22:08:42 +05:30
Advaita Saha 3f7ac2708c
Merge pull request #18 from status-im/node-encodings 2024-02-27 09:33:16 +05:30
Advaita Saha acf4b1ec42
fix: add encoding comments + sanity check 2024-02-26 18:05:31 +05:30
Advaita Saha b754235139
fix: remove unused imports 2024-02-25 04:09:38 +05:30
Advaita Saha cc8e78313c
feat: parsing of branch nodes + tests 2024-02-25 04:04:10 +05:30
Advaita Saha c5e762df40
feat: parsing of values node 2024-02-25 02:45:52 +05:30
Advaita Saha cce103a769
tests + constantine update 2024-02-25 01:47:17 +05:30
Advaita Saha 572c7114c9
feat: serialize leafNodes 2024-02-23 06:25:49 +05:30
Advaita Saha ea6f791759
feat: BranchNode serialization 2024-02-23 00:41:29 +05:30
Daniel Lamberger 2d2f49a1d5 added depth to nodes.
some moethods now check they're called from tree root.
removed elvis.
added compile flag to not perform commitments, to run some tests faster.
2024-02-21 03:20:47 +02:00
Advaita Saha 6f5aef83eb
Merge pull request #15 from status-im/testing
Adds Tests to the Verkle Tree
2024-01-22 12:49:02 +05:30
Daniel Lamberger 352af3f7ed Fix for fetching wrong key 2024-01-21 11:37:04 +02:00
Advaita Saha 4f1800cd44
fix: isNil check commented + test comments 2024-01-21 13:17:18 +05:30
Daniel Lamberger 6f5784ad64 Fix for deletion erasing wrong key 2024-01-20 22:26:43 +02:00
Advaita Saha ce67f2766d
feat: deletion tests added 2024-01-20 22:21:12 +05:30
Advaita Saha 14ece1d0f0
fix: indentation fix 2024-01-20 20:56:23 +05:30
Advaita Saha 17f52bbfc0
feat: tests added for insertion correctness + commitment caching 2024-01-20 18:16:04 +05:30
Daniel Lamberger 13e8f65a93 Added fetch method 2024-01-20 12:39:51 +02:00
Daniel Lamberger dea3d8d843 restored tests 2024-01-18 22:02:07 +02:00
Daniel Lamberger e9b7d794cc Now pruning tree after deletions 2024-01-18 21:05:34 +02:00
Daniel Lamberger c5cdeac8db Updated go-verkle compatibility test 2024-01-17 14:58:18 +02:00
Daniel Lamberger 959dd283e1 Printing the tree in a more compact form 2024-01-17 14:10:16 +02:00
Daniel Lamberger 4fa0d61aa8
Update README.md 2024-01-17 12:25:12 +02:00
Daniel Lamberger 2310308663 Bugfixes & cleanup 2024-01-17 12:23:36 +02:00
Daniel Lamberger e78015b49f WIP 2024-01-17 12:23:36 +02:00
Advaita Saha f2fa2075c9 feat: cryptography integration trail 1 2024-01-17 12:23:36 +02:00
Advaita Saha 95ff0ca332 fix: added all types & consts under same indentation 2024-01-17 12:23:36 +02:00
Advaita Saha 088bd4f885 fix: indentation & refactoring 2024-01-17 12:23:36 +02:00
Agnish Ghosh 0eba087443 add: types for verkle and ipa 2024-01-17 12:23:36 +02:00
Advaita Saha a30441dc22 added constantine as submodule 2024-01-17 12:23:36 +02:00
Daniel Lamberger 5e01bf40e7 . 2023-11-01 00:23:19 +02:00
Daniel Lamberger 72684831b2 Now commiting to C1 and C2 2023-10-31 15:09:00 +02:00
Daniel Lamberger 9eb5c9e93c Added commitments support to the tree, excluding the actual math; that'll be added later. 2023-09-22 14:56:42 +03:00
Naman Garg 3d65d6e8e3 Add delete operation 2023-09-19 10:32:23 +03:00
Zahary Karadjov ec5c021198
Turn into a Nimble package
The directory structure was changed to conform to the Nimble packaging rules
2023-09-01 15:26:44 +03:00
Daniel Lamberger f794d8bf40
Update README.md 2023-08-25 02:24:59 +03:00
Daniel Lamberger 9dbb1da05a Initial tree
- Removed KZG sample code.
- Added verkle tree structure
- Support for insertions
- Support for printing tree
2023-08-24 23:38:41 +03:00
Daniel Lamberger 1dffaa9c4d . 2023-08-07 21:05:21 +03:00
Daniel Lamberger 4828637eed Added a basic compatibility test.
Added git submodules of forks of go-verkle and rust-verkle extended with a compatibility test.
2023-08-07 21:03:57 +03:00
Daniel Lamberger 6fe0944af8 reset git index 2023-08-07 19:19:48 +03:00
Daniel Lamberger 77db01cafa reset git index 2023-08-07 19:19:17 +03:00