Hi @androlo I have tried to add some tests for the Patricia tree contract. I am following the tests from go-ethereum/trie/trie_test.go, but have implemented it in JS.
The root produced is incorrect:
Root Expected: 0xd23786fb4a010da3ce639d66d5e904a11dbc02746d1ce25029e53290cabf28ab
Root Received: 0xe114ce969de5ac619a41bdb02ee5489d904389e803ca89461215a0b9a51528b5
Is this behaviour expected? I assume the implementation must be identical to that in go-ethereum...
Hi @androlo I have tried to add some tests for the Patricia tree contract. I am following the tests from go-ethereum/trie/trie_test.go, but have implemented it in JS.
My test is as follows:
The root produced is incorrect: Root Expected: 0xd23786fb4a010da3ce639d66d5e904a11dbc02746d1ce25029e53290cabf28ab Root Received: 0xe114ce969de5ac619a41bdb02ee5489d904389e803ca89461215a0b9a51528b5
Is this behaviour expected? I assume the implementation must be identical to that in go-ethereum...
Anyhow I will continue working at it :)