Commit Graph

2424 Commits

Author SHA1 Message Date
jangko a2de3067a9
add test for short rlp in block witness 2020-07-08 23:17:48 +07:00
jangko 883f03b732
update block witness docs 2020-07-08 21:14:19 +07:00
jangko 0d0bc35137
block witness spec changes: explicit short rlp encoding 2020-07-08 21:05:20 +07:00
andri lim f81b3d5b96
Merge pull request #518 from status-im/forkid
implement forkid calculation and tests for each supported network
2020-07-05 08:26:30 +07:00
jangko 376cbcdfd5
bump nim-eth 2020-07-04 17:16:56 +07:00
jangko e37cacd8f1
implement forkid calculation and tests for each supported network 2020-07-04 13:23:09 +07:00
andri lim 069e125f98
Merge pull request #517 from status-im/bump_modules
bump submodules
2020-06-24 23:11:55 +07:00
jangko 2ef8179ab0
fix libnimbus compilation errors related to eth/keys changes 2020-06-24 20:33:08 +07:00
jangko 12ddfee675
fix compilation error related to lib-secp256k1 changes 2020-06-24 17:07:33 +07:00
jangko 51f2017b03
add bearssl submodule 2020-06-24 13:10:09 +07:00
jangko 702977276b
bump vendor/news 2020-06-24 12:57:44 +07:00
jangko ef5a964b42
bump submodules 2020-06-24 11:44:09 +07:00
Ștefan Talpalaru 75b5d4effe
Makefile: move "nat-libs" to "deps" 2020-06-22 17:12:12 +02:00
andri lim 6ea488e037
Merge pull request #516 from status-im/validate_block_witness
syncing with PoA chain
2020-06-22 11:56:56 +07:00
jangko 438ad832cc
fix rpc/p2p.nim 2020-06-22 10:59:24 +07:00
jangko f401622782
cache miner address instead of recalculation 2020-06-22 07:48:23 +07:00
jangko 9d0b399213
fix accounts_cache: move overlayStorage to originalStorage when not clearCache 2020-06-20 18:45:09 +07:00
jangko 2385df7bae
miner address calculation for PoA consensus engine 2020-06-19 20:24:09 +07:00
jangko 2e583e9aa0
fix persist tool to support testnet 2020-06-19 17:52:19 +07:00
jangko 3931c1ff5c
fix tracer to support testnet 2020-06-19 17:51:53 +07:00
jangko bd7e1fe2e5
reuse VMState and AccountsCache for better performance 2020-06-18 13:16:38 +07:00
jangko 49460b6b1e
move buildWitness from test_blockchain_json to vm_state 2020-06-18 13:16:38 +07:00
jangko eabacb0a33
allow nimbus to read geth database 2020-06-18 13:16:25 +07:00
Ștefan Talpalaru 3eef659d19
Merge pull request #514 from status-im/Nim-1-2-2
Nim-1.2.2
2020-06-17 18:23:03 +02:00
Ștefan Talpalaru b4f5d8d62f
Nim-1.2.2 2020-06-17 15:10:07 +02:00
Ștefan Talpalaru 6fcf7f4ef4
add link to nimbus-build-system docs 2020-06-13 02:03:02 +02:00
andri lim 5eab20ccb9
Merge pull request #515 from status-im/block_witness
Stateless client experiment: Generate block witness after block validation
2020-06-09 10:03:07 +07:00
jangko 3947e9a853
piggyback generate block witness test on test_blockchain_json 2020-06-06 10:26:36 +07:00
jangko 7c026e1b48
modify VMState to enable witness data collection 2020-06-06 10:05:11 +07:00
jangko 50816f2ebb
implement block witness data collection in accounts_cache 2020-06-03 20:50:13 +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
andri lim fc271b3e8d
Merge pull request #512 from status-im/bump
bump vendor/nimbus-build-system
2020-06-02 11:24:20 +07:00
andri lim a5e9db6ee1
Merge pull request #511 from status-im/accounts_cache
stateless client experiment: switch `state_db` to `accounts_cache`
2020-06-02 09:31:07 +07:00
Ștefan Talpalaru d0d2b3dd8d
bump vendor/nimbus-build-system 2020-06-01 22:49:23 +02:00
jangko 8efcfd32d8
fix test_rpc: switch state_db to accounts_cache 2020-06-01 20:37:00 +07:00
jangko 8ee0ab4e89
fix macro_assembler -> add call to acounts_cache.persist 2020-06-01 13:58:14 +07:00
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