25 Commits

Author SHA1 Message Date
jangko
a2de3067a9
add test for short rlp in block witness 2020-07-08 23:17:48 +07:00
jangko
7d062e171b block witness: add test for unwanted multiple identical keys when constructing witness from trie 2020-06-02 12:27:13 +03:00
jangko
57e9bea4ec
add more test for invalid input 2020-05-24 11:41:20 +07:00
jangko
ed3434f38f
fix test_witness_json wrong code arrangement 2020-05-20 11:36:09 +07:00
jangko
61c60abdf2
block witness new spec impl 2020-05-14 11:09:01 +07:00
jangko
af28985f6e
fix error message in tests 2020-05-14 06:58:34 +07:00
andri lim
ba4360ba34
fix multikeys algorithm with multiple nibbles common prefix 2020-05-07 21:36:51 +07:00
andri lim
ea92951fc6
add missing export marker 2020-05-06 11:47:33 +07:00
andri lim
e5c4c7d16f
fix typo 2020-05-06 10:36:00 +07:00
andri lim
9c999ffa9c
enable block witness test 2020-05-05 20:46:17 +07:00
andri lim
743759a979
wrong address ignored 2020-05-05 15:05:17 +07:00
andri lim
e9191fefa1
witness builder major transformation, support multiproof 2020-05-05 13:50:31 +07:00
andri lim
6a9555b2b9
add raises to public API 2020-05-03 08:47:14 +07:00
andri lim
1ef3f60b40
validate the branch of the constructed trie beside validate rootHash 2020-05-03 08:11:04 +07:00
andri lim
7c2ed75b09
treebuilder will raise exception on parsing error 2020-04-29 16:22:39 +07:00
andri lim
fdb750f67e
implement witness header encoding decoding and implement buildForest 2020-04-29 15:29:25 +07:00
andri lim
90c2ede43b
deals with EIP170 error 2020-04-29 13:06:27 +07:00
andri lim
c325ce1863
fix contract code retrieval from db 2020-04-29 13:06:27 +07:00
andri lim
4974ca49db
fix buildWitness API 2020-04-29 13:06:27 +07:00
andri lim
d95ded217b
implement account storage encoding and decoding 2020-04-29 13:06:26 +07:00
andri lim
4de8eaa81d
implement account code encoding and decoding 2020-04-29 13:06:26 +07:00
andri lim
692bed176e
allow test_block_witness to run single test 2020-04-29 13:06:24 +07:00
andri lim
649597e714
cleanup unused code 2020-04-29 13:06:23 +07:00
andri lim
73c487fdb0
switch back to InputStream 2020-04-29 13:06:22 +07:00
andri lim
323204d939
deals with short node len < 32 2020-04-29 13:06:22 +07:00