Commit Graph

1888 Commits

Author SHA1 Message Date
jangko 844071033a
fix at various places related to missing accounts_cache.persist call 2020-06-01 13:45:32 +07:00
jangko 079579c1cb
fix test_blockchain_json -> add a call to accounts_cache.persist 2020-06-01 12:00:36 +07:00
jangko 46e9c11d3f
fix test_generalstate_json -> add a call to accounts_cache.persist 2020-06-01 11:49:56 +07:00
jangko 9cce8d695b
fix test_helpers -> add a call to accounts_cache.persist 2020-06-01 11:28:27 +07:00
jangko 8a4c8c6273
fix buggy isAlive from accounts_cache 2020-06-01 10:54:25 +07:00
jangko 71514a0a66
replace state_db with accounts_cache 2020-05-30 10:14:59 +07:00
andri lim 50fb5e5bc6
Merge pull request #510 from status-im/fix_crash
block witness tree builder: Fix crash found by libFuzzer
2020-05-26 10:25:01 +07:00
jangko 57e9bea4ec
add more test for invalid input 2020-05-24 11:41:20 +07:00
jangko e130cab959
remove unused artefact 2020-05-24 11:40:01 +07:00
andri lim bd4069d5ca
Merge pull request #509 from status-im/state
small NimbusState refactoring
2020-05-21 12:39:54 +07:00
andri lim 6aa962cd76
Merge pull request #508 from status-im/fuzz
add fuzz test tool
2020-05-21 12:39:41 +07:00
Ștefan Talpalaru cf2a6fb621
small NimbusState refactoring 2020-05-21 03:33:11 +02:00
jangko 7c0d24a648
add instruction comment for test_fuzz 2020-05-20 12:41:05 +07:00
jangko 9d101948ab
use 'const' instead of 'let' for module names in all_tests 2020-05-20 11:43:46 +07:00
jangko ed3434f38f
fix test_witness_json wrong code arrangement 2020-05-20 11:36:09 +07:00
jangko 048c8a41f1
all_tests now print the name of failed module instead of only index number 2020-05-20 11:35:27 +07:00
jangko 0f9b31a958
add fuzz test tool 2020-05-19 11:34:40 +07:00
andri lim 47295c7f54
Merge pull request #507 from status-im/fuzz
block witness: add more tests contain invalid data
2020-05-19 11:31:27 +07:00
jangko 6c583c8e32
block witness: add more tests contain invalid data 2020-05-19 09:27:53 +07:00
andri lim 4505d87849
Merge pull request #506 from status-im/leb128
block witness: switch uint encoding to uvarint LEB128 encoding
2020-05-18 10:41:05 +07:00
jangko 612192cf86
block witness: switch uint encoding to uvarint LEB128 encoding 2020-05-16 13:18:05 +07:00
andri lim f512fcc1e3
Merge pull request #505 from status-im/update_block_witness
Block Witness new spec implementation
2020-05-14 16:44:31 +07:00
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