-
Notifications
You must be signed in to change notification settings - Fork 4
Add a new interface to remove keys from proof #127
Conversation
a7584e9
to
130b1c7
Compare
Commit SHA:c670bf5652e7d6b28aa80332efddd058cbe73dde Test coverage results 🧪
|
Commit SHA:c670bf5652e7d6b28aa80332efddd058cbe73dde |
1e477af
to
b2e4e6d
Compare
Commit SHA:e31668b0a1518ecc373972a516827c829528c692 Test coverage results 🧪
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So far I only reviewed remove_keys_from_proof
. maybe it would be more descriptive if we create special type for some of the vector with mutation methods?
2e253ad
to
6567fdd
Compare
Commit SHA:37b54e0ec9ab50d4808fbc41b7a9541b357ff5f1 Test coverage results 🧪
|
c711de4
to
1c475c3
Compare
Commit SHA:0b07591131948673cefa9fe053de8249cb691955 Test coverage results 🧪
|
Commit SHA:ed283783876ed59ca52efa9b54ec8686129aea80 Test coverage results 🧪
|
Commit SHA:adb91010aff2d70efd657d82f84cd867e82bb18b Test coverage results 🧪
|
Commit SHA:b3863c0cb86e5b63878c4b088fbe93a3eb31b9e6 Test coverage results 🧪
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe it's better to use passive adjectives form instead of an active, so we could change below variable names:
adding_sibling_hashes
-> added_sibling_hashes
removing_sibling_hashes
-> removed_sibling_hashes
adding_sibling_hash_index
-> added_sibling_hash_index
removingKeys
-> removedKeys
get_removing_keys_parameters
-> get_removed_keys_parameters
removing_keys
-> removed_keys
parsed_removing_keys
-> parsed_removed_keys
Commit SHA:ac36e92d133cca3e8e360f353a92f2d6ab9cdecf Test coverage results 🧪
|
188f613
to
c0ce5fb
Compare
Commit SHA:20dca793a47c81208dbeb5b9d79d81da9b839915 Test coverage results 🧪
|
c0ce5fb
to
bf1ec0b
Compare
Commit SHA:70eae292db9c680e0b58ff937bf6da1db28e26ee Test coverage results 🧪
|
- Also add a new unit test
- Also remove redundant code from calculate_root
- Also remove redundant line form calculate_root function
- Also fix a clippy bug
bf1ec0b
to
0f527ec
Compare
Commit SHA:cb7cdfb68e52a644831063aaf4a94cc8e50db6c7 Test coverage results 🧪
|
Commit SHA:4462aa4fdd375d4fad9d5493acf247ce9f2f0c25 Test coverage results 🧪
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work! 🚀
What was the problem?
This PR resolves #124
How was it solved?
How was it tested?