Closed advaita-saha closed 10 months ago
All the operations are working perfectly fine from the correctness point of view. Except for the deletion of values with similar key path, for example let the tree have the following keys inserted with some values
0x0105000000000000000000000000000000000000000000000000000000000000
0x0405000000000000000000000000000000000000000000000000000000000000
Now if we go ahead and try to delete the key 0x0107000000000000000000000000000000000000000000000000000000000000
, this deletion should NOT take place, but for now deletion of this key is NOT giving any error.All the operations are working perfectly fine from the correctness point of view. Except for the deletion of values with similar key path, for example let the tree have the following keys inserted with some values
Fixed in 6f5784ad6498c8433948e94dae3eec16efa98f03
The above tests are executed successfully in comparison the the go-verkle
codebase
Testing
The current Verkle Trie implementation is capable of all the trie operations but does not support the Stateless feature, it is yet to be added.
Tests
The correctness of the tree root commiment have already been tested w.r.t
go-verkle
For testing the on the broader perspective we are supposed to test the followsFor test vectors, it can be generated on our own also few can be taken from the
go-verkle
implementation fromtree_test.go
.