This PR adds an extra check when reconstructing the pre-state tree.
The tree reconstruction must exhaust using all the proof of absence stem list, if that isn't the case it means that the proof contains unused stems which must signal an invalid proof.
This PR adds an extra check when reconstructing the pre-state tree.
The tree reconstruction must exhaust using all the proof of absence stem list, if that isn't the case it means that the proof contains unused stems which must signal an invalid proof.