Since we will create chains of pedersen hashes in the main snark as well, it makes sense to pull it into its own method (separate file which will host a similar method for SHA chaining and SHA merkle tree as well).
Made sure we are not increasing total amount of constraints and added a unit test.
Since we will create chains of pedersen hashes in the main snark as well, it makes sense to pull it into its own method (separate file which will host a similar method for SHA chaining and SHA merkle tree as well).
Made sure we are not increasing total amount of constraints and added a unit test.