You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Okay, I think I fixed it — I need extra logic based on the nodeType that ZkTrieVerifier is missing.
Nope, I cannot distinguish between a terminal node with a valid leaf and a non-existent leaf (that fails the hash check). I can always supply the same path with an invalid leaf to imply a zero value.
System information
Mainnet RPC: https://rpc.scroll.io/
Steps to reproduce the behaviour
eth_getProof 0x09D2233D3d109683ea95Da4546e7E9Fc17a6dfAF [9, 69]
Live Demo: https://raffy.antistupid.com/eth/scroll.html
verifyZkTrieProof()
errors withStorageKeyMismatch
Details
The text was updated successfully, but these errors were encountered: