Kim De Mey
d57a1094b1
Remove all Defect raises to avoid unnecessary warnings ( #607 )
...
As this module dropped support for Nim versions < 1.6, all Defect
raises can be removed to avoid unnecessary warnings
2023-05-10 15:50:04 +02:00
KonradStaniec
059d319c16
Safer mpt proof verification ( #536 )
...
* Safer mpt proof verification
2022-09-14 19:02:05 +02:00
tersec
92b14b43eb
--styleCheck:error ( #520 )
...
* --styleCheck:error
* testcase -> testCase
* more testcase -> testCase
* remove unused imports
* MessageKind enum name consistency in tests
* rest of fuzz_decode_message
* rlpEncodeEIP155 -> rlpEncodeEip155
2022-07-21 08:58:17 +00:00
Kim De Mey
9d7e4b031a
Clean-up of several compiler warnings ( #519 )
2022-07-09 10:55:15 +02:00
Kim De Mey
2c236f6495
Style fixes according to --styleCheck:usages ( #452 )
...
Currently only setting `--styleCheck:hint` as there are some
dependency fixes required and the compiler seems to trip over the
findnode MessageKind, findnode Message field and the findNode
proc. Also over protocol.Protocol usage.
2021-12-20 13:14:50 +01:00
Ștefan Talpalaru
2088d7568d
CI: test with multiple Nim version ( #429 )
...
* CI: test with multiple Nim version
* clean up the testing tree a little
* replace "unittest" with "unittest2"
2021-12-11 19:12:55 +01:00
KonradStaniec
aa3fbbd95d
Add proof verification to public api ( #390 )
2021-08-12 16:15:02 +02:00
Kim De Mey
762415319c
Add build_dcli target and add it to CI ( #344 )
...
* Add build_dcli target and add it to CI
* Fix local imports for dcli
* And use local imports for all other files too
* Use local imports in tests and rlpx protocols
2021-04-06 13:33:24 +02:00
Jacek Sieka
205b57fe71
port kvstore from nim-beacon-chain ( #230 )
...
* port kvstore from nim-beacon-chain
* remove old database backends
* use kvstore in trie database
* add sqlite dep
* avoid template param double evaluation
* clean up heterogenous lookup todo
2020-04-27 15:16:11 +02:00
Jacek Sieka
fd6caa0fdc
Rlp experimental ( #227 )
...
* rlp: remove experimental features
* avoid range library
* trie: avoid reference-unsafe bitrange type
2020-04-20 20:14:39 +02:00
Jacek Sieka
1646d78d83
cleanups ( #226 )
2020-04-18 10:17:59 +02:00
Zahary Karadjov
2b7a25175b
Prepare for Nim 1.2
2020-03-24 14:05:30 +02:00
andri lim
e0e49b1711
implement hexary trie replicate iterator
2019-12-11 11:50:45 +02:00
andri lim
942bfb7ea5
support trie with multiple root
2019-12-03 01:41:57 +02:00
kdeme
44400ee549
Fix nim v1.0.2 compile issues
2019-10-29 14:44:26 +02:00
Jacek Sieka
75c7c62651
std_shims -> stew
2019-07-07 11:56:01 +02:00
Ștefan Talpalaru
9146e8e2f0
assert() -> doAssert()
2019-03-13 23:15:26 +01:00
andri lim
daafd991d5
address cheatfate comments
2019-02-18 13:14:43 +02:00
andri lim
96f29a971d
more robust dbtx dispose
2019-02-18 13:14:43 +02:00
Ștefan Talpalaru
cd8364045d
tests/trie/examples.nim -> tests/trie/test_examples.nim
2019-02-15 17:18:45 +02:00
Ștefan Talpalaru
2864d8ce21
clean up the test suite
...
by removing test wrappers that are no longer used and renaming a helper
file that had a name starting with the "test_" prefix
2019-02-15 17:18:45 +02:00
Ștefan Talpalaru
95b93eb5aa
convert zeroBytesRange and zeroNibblesRange into threadvars
...
fixes https://github.com/status-im/nim-eth/issues/6
2019-02-15 16:33:40 +02:00
Yuriy Glukhov
32998f0dc1
Moved rlp and trie to eth
2019-02-05 14:01:10 +02:00