Commit Graph

1866 Commits

Author SHA1 Message Date
jangko 61c60abdf2
block witness new spec impl 2020-05-14 11:09:01 +07:00
jangko 4a0b3c4f16
bump more submodules 2020-05-14 10:28:07 +07:00
jangko a5d805aac5
bump submodules 2020-05-14 07:50:39 +07:00
jangko af28985f6e
fix error message in tests 2020-05-14 06:58:34 +07:00
andri lim 7a0215608e
Merge pull request #496 from status-im/stateless_client_experiment
[WIP] Stateless client experiment: The Block Witness
2020-05-08 19:58:50 +07:00
andri lim 758ebabd87
working test_witness_json prototype 2020-05-08 12:16:24 +07:00
andri lim 3cfabeeb3d
optimize multi keys of branch node algorithm 2020-05-08 10:18:41 +07:00
kdeme 769228418e Remove wakunode and waku rpc code from repository 2020-05-07 20:49:14 +03:00
andri lim 798de46ca7
fix json_from_tree 2020-05-07 22:12:34 +07:00
andri lim 36c93aacb1
update developers guide 2020-05-07 22:03:20 +07:00
andri lim bac4913a5a
tidying up branch node code 2020-05-07 22:03:00 +07:00
andri lim ba4360ba34
fix multikeys algorithm with multiple nibbles common prefix 2020-05-07 21:36:51 +07:00
andri lim 57355c98fd
add multi keys developers guide 2020-05-07 17:51:17 +07:00
andri lim 12b6d805cf
fix some invalid doAssert 2020-05-07 11:28:11 +07:00
andri lim 238b440040
json test generator prototype 2020-05-06 12:34:54 +07:00
andri lim ea92951fc6
add missing export marker 2020-05-06 11:47:33 +07:00
andri lim 78f06426db
add more comments for both witness builder and tree builder 2020-05-06 11:45:21 +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 64af577d8d
tidying up witness builder 2020-05-05 20:30:28 +07:00
andri lim aa572696c5
fix account node with 'CodeUntouched' type 2020-05-05 20:07:38 +07:00
andri lim 37db9a55ee
deals with touched/not touched account code 2020-05-05 15:21:39 +07:00
andri lim 743759a979
wrong address ignored 2020-05-05 15:05:17 +07:00
andri lim 1f76b2e69d
add test log 2020-05-05 13:50:50 +07:00
andri lim e9191fefa1
witness builder major transformation, support multiproof 2020-05-05 13:50:31 +07:00
andri lim c3548d63a5
add account storage keys support to multikeys 2020-05-05 09:01:15 +07:00
andri lim 7080ca40da
multi keys prototype 2020-05-04 18:52:45 +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 775f298699
Merge pull request #503 from status-im/upgrade_js
upgrade jquery to 3.5.0, uikit to 3.4.0 and silence github security alert
2020-05-01 12:38:42 +07:00
andri lim eb29b305e1
Merge pull request #502 from status-im/fix_accounts_cache
fix accounts cache init API
2020-05-01 11:26:39 +07:00
andri lim 02db881eea
upgrade jquery to 3.5.0, uikit to 3.4.0 and silence github security alert 2020-05-01 11:24:49 +07:00
andri lim 6ccb2d65cd
tidier readbytes exception 2020-04-29 16:59:38 +07:00
andri lim 41753a55e9
fix typo 2020-04-29 16:26:09 +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 4e12ba825c
separate underdeveloped stack based witness builder source code from recursive code 2020-04-29 13:06:26 +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 2ae02fd629
implement account serializer and deserializer 2020-04-29 13:06:25 +07:00
andri lim a540b8cbeb
InputStream still unstable, use seq[byte] again 2020-04-29 13:06:25 +07:00
andri lim 692bed176e
allow test_block_witness to run single test 2020-04-29 13:06:24 +07:00
andri lim a1a6b7b9c4
add some remarks on interesting findings during experiment 2020-04-29 13:06:24 +07:00
andri lim 9589f9cd90
remove shallowcopy from witness builder 2020-04-29 13:06:24 +07:00
andri lim 8db1109515
remove 17th elem code from branch node parser/encoder 2020-04-29 13:06:23 +07:00
andri lim 649597e714
cleanup unused code 2020-04-29 13:06:23 +07:00
andri lim cecb8986a4
readU32 new spec, change LE to BE 2020-04-29 13:06:23 +07:00