zBlock-2 / summa-solvency-diffie

Apache License 2.0
0 stars 0 forks source link

Mixed endian usage in code #17

Open bbresearcher opened 3 months ago

bbresearcher commented 3 months ago

Describe the bug In the code here https://github.com/summa-dev/summa-solvency/blob/master/zk_prover/src/merkle_sum_tree/utils/operation_helpers.rs#L5-L17 , In specific big_intify_username uses big-endian and fp_to_big_uint uses little-endian.

Expected behavior The same endianness should be used throughout