Commit Graph

1975 Commits

Author SHA1 Message Date
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
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
andri lim 9cebceaf8e
hex prefix encoding minor optimization 2020-04-29 13:06:21 +07:00
andri lim 2b00c1923a
block witness test using jsonTest new feature 2020-04-29 13:06:21 +07:00
andri lim ef038c6125
witness_from_tree minor refactor 2020-04-29 13:06:21 +07:00
andri lim c33fb4deed
block witness: trie node encoding roundtrip test success using recursive functions 2020-04-29 13:06:20 +07:00
andri lim 809f9d13bd
move witness types from tree_from_witness.nim to witness_types.nim 2020-04-29 13:06:20 +07:00
andri lim 5ae1bac115
implement crude block witness tester 2020-04-29 13:05:20 +07:00
andri lim 785e1dadce
implement crude witness builder 2020-04-29 13:05:19 +07:00
andri lim 2a4228c7a7
use stew/endians2/fromBytesLE to parse uint32 2020-04-29 13:05:14 +07:00
Zahary Karadjov 8ab61abacd
Use the latest FastStreams API 2020-04-29 12:47:56 +07:00
andri lim c943c699f2
implement tree builder [skip ci] ***NO_CI*** 2020-04-29 12:47:56 +07:00
andri lim c9e49bf68a
fix accounts cache init API 2020-04-29 12:00:44 +07:00
Jacek Sieka ff028982d6 bump 2020-04-27 18:40:45 +03:00
Jacek Sieka d441687488 bump 2020-04-27 18:40:45 +03:00
Jacek Sieka ed7dbab70f db: use kvstore from nim-eth 2020-04-27 18:40:45 +03:00
Kim De Mey 1cf9fa1f0b
Merge pull request #499 from status-im/bump-waku
Bump waku
2020-04-21 15:33:34 +02:00
kdeme 327750ed23
Update Waku readme [skip ci] 2020-04-21 15:31:32 +02:00
kdeme 55fb4987d7
Bump chronicles + adjust some raises in libnimbus 2020-04-21 14:17:08 +02:00
kdeme 905102c736
Bump nim-eth for waku v1 changes 2020-04-21 14:16:19 +02:00
andri lim 8747fe1ecd add optional outputName to jsonTest macro 2020-04-21 12:05:46 +03:00
Oskar Thorén 6667f943cf
Waku: Style: Fix {. .} syntax in objects (#498)
"Pragma syntax" for objects are now enclosed in {. .}, which means syntax
highlighting in e.g. NeoVim nim.nvim works.
2020-04-21 08:55:35 +02:00
Jacek Sieka 4ade5797ee
rlp: don't use ranges / experimental features (#495) 2020-04-20 20:12:44 +02:00
Ștefan Talpalaru 73e9199ebf
new initial submodule update strategy (#494)
* new initial submodule update strategy

* Azure: increase timeout

* Makefile: change comment [skip ci]
2020-04-18 14:56:40 +02:00
Jacek Sieka 45a9933d83
vendor: bump (#493) 2020-04-18 00:11:42 +02:00
andri lim 5b7742d09b
Merge pull request #490 from status-im/reduce_warning
reduce unused import warnings
2020-04-16 10:05:18 +07:00
Ștefan Talpalaru 9c0922cc16
Azure test (#492)
* Azure test

* can't build libnimbus on Windows
2020-04-16 03:31:00 +02:00
Ștefan Talpalaru 1694f7097f
add azure-pipelines.yml
- remove redundant flags from nimbus.nimble
- clean up .appveyor.yml comments
2020-04-16 00:34:07 +02:00
Ștefan Talpalaru a783b096fe
bump vendor/nimbus-build-system (#491)
* bump vendor/nimbus-build-system

- add the Nim compiler header to the Nimbus header
- also support the USE_LIBBACKTRACE env var

* "go-checks" target no longer available
2020-04-16 00:21:58 +02:00
andri lim af02a3b1b2
reduce unused import warnings 2020-04-15 19:05:57 +07:00
andri lim ad28b641cd
Merge pull request #488 from status-im/tofork_reform
toFork reform
2020-04-15 16:46:17 +07:00
andri lim 860d8e9705
fix rpc/p2p 2020-04-13 09:41:18 +07:00
andri lim 5e694c6874
fix test_blockchain_json 2020-04-12 19:02:03 +07:00
andri lim d2b0ca62b2
fix GlacierMuir to MuirGlacier typo 2020-04-12 18:13:22 +07:00
andri lim 5ca7370407
add ropsten difficulty test 2020-04-12 18:09:18 +07:00
andri lim 87bae2bb78
switch to new toFork 2020-04-12 18:02:59 +07:00
andri lim e324a7342d
move toFork to config.nim 2020-04-12 17:07:09 +07:00
andri lim a864967c4f
more to update chain config [skip ci] 2020-04-11 16:59:46 +07:00
andri lim 6591893158
change FkGlacierMuir to FkMuirGlacier [skip ci] 2020-04-11 16:02:15 +07:00
andri lim b3a519398e bump nim-eth 2020-04-09 19:13:17 +03:00
andri lim d69ede6060 add goerli testnet genesis data[skip ci] 2020-04-09 19:13:17 +03:00