Closed EvgenKor closed 1 year ago
Fix issues related to Merkle tree building for multinote transactions:
add_leafs_and_commitments
get_virtual_subtree
It's strongly need to test the changes introduced by this pull request!
To test this branch you could use the following toolchain:
zkbob-client-js
zkbob-console
To build multinote transaction use transfer-shielded-multinote shielded_address note_amount notes_count command in the console, e.g.:
transfer-shielded-multinote shielded_address note_amount notes_count
Fix issues related to Merkle tree building for multinote transactions:
add_leafs_and_commitments
function: fix virtual_nodes building, fix next_index calculation for full tx (with 127 notes)get_virtual_subtree
function: the similar changes withadd_leafs_and_commitments
It's strongly need to test the changes introduced by this pull request!
To test this branch you could use the following toolchain:
zkbob-client-js
-> branch feature/multinote-txzkbob-console
-> branch feature/multinote-txTo build multinote transaction use
transfer-shielded-multinote shielded_address note_amount notes_count
command in the console, e.g.: