confio / proofs-ethereum

Convert ethereum trie proofs into confio/proofs format
GNU General Public License v3.0
0 stars 0 forks source link

Verify hash of returned proofs #5

Closed ethanfrey closed 5 years ago

ethanfrey commented 5 years ago

VerifyProof tests now work for all the test cases where we generate proofs.

Reverse engineered hashing algorithm of ethereum with lots of tests, patience, and good old fmt.Printf

ethanfrey commented 5 years ago

Code may not be pretty and has lots of fmt.Printf lying around...

I want to make sure it works in more cases before removing that

husio commented 5 years ago

I'm sorry but I have a hard time working with ethereum. I still have to write a proof of concept implementation of their merkle tree implementation to make sure I understand it well. I can look at the code tomorrow, but I think I can review mostly the style and not the implementation details.