8fee3b6922
* use hash_with_index(pos - 1) when checking the hash in the MMR * fix tests, get rid of todo related to duplicate commitments