This went undetected because we haven't properly tested v2 storage proofs. Notably, we had a TestStorageProofRoot test, but it was basically just a regression test -- it compared the output to whatever storageProofRoot returned the first time we ran the test, so it didn't detect the faulty logic.
This went undetected because we haven't properly tested v2 storage proofs. Notably, we had a
TestStorageProofRoot
test, but it was basically just a regression test -- it compared the output to whateverstorageProofRoot
returned the first time we ran the test, so it didn't detect the faulty logic.