zkevm-chain icon indicating copy to clipboard operation
zkevm-chain copied to clipboard

PatriciaValidator: implement non-inclusion for storage proof

Open pinkiebell opened this issue 2 years ago • 0 comments

The Patricia validator contract only supports validating storage proofs for non-zero values (valid leaves). However, the dropMessage method requires to proof that a storage value is zero (not in the storage tree).

This can be a dedicated function instead of being merged in _validatePatriciaProof if that is easier to implement.

pinkiebell avatar Sep 06 '22 15:09 pinkiebell