Closed adraffy closed 1 month ago
we did a fix in the last release. could you try again ?
Yes, I believe that fixed the issue AFAICT. I'll get back to you with further analysis. Thank you!
Edit I haven't encountered any invalid proofs yet, seems fixed.
Description
linea_getProof
returns wrong values for storage values that don't exist in the trie.Steps to Reproduce (Bug)
Here is a simple demo, view-source to see what it's doing exactly, but it does account and storage proof verification for a single slot.
The default contract is USDC but you can change it with query paramater
address
.For slot
0xcb0cbc8493baf4a7b1972914ba0be89040e56e4a3c98d60268fe37b8c8e546d8
(the default): https://raffy.antistupid.com/eth/linea-proof-bug.htmlFor slot
0
, which isowner
and exists: https://raffy.antistupid.com/eth/linea-proof-bug.html?slot=0For slot
49
, which is also and does not exist: https://raffy.antistupid.com/eth/linea-proof-bug.html?slot=49