nim-eth/tests
jangko 67bbd88616
Replace exception with assertion in rlp.append of BlockHeader
Using exception in rlp.append turn out creates more problem than it solve.
`blockHash` operation is literally everywhere in nimbus-eth1, nimbus-eth2, and fluffy-code.
The compiler begins to complain about unlisted exception.
Rlp bytes coming from network and test vectors already verified by the decoder.
So, any invalid optional fields of blockheader that come into rlp.append means
programming error. Assertion will be more apropiate in this situation and less problematic.
2023-05-25 15:27:37 +07:00
..
common EIP-4399 changes: random -> prevRandao 2022-02-27 11:40:15 +07:00
db Defect fixes in kvstore (#589) 2023-02-21 18:54:30 +01:00
fuzzing Add rlpx metrics and avoid immediate peer reconnections (#585) 2023-03-16 16:45:12 +01:00
keyfile Style fixes according to --styleCheck:usages (#452) 2021-12-20 13:14:50 +01:00
keys no more wild constants and rename ecdhSecret to ecdhSharedSecret 2023-04-21 16:08:57 +07:00
p2p Remove all Defect raises to avoid unnecessary warnings (#607) 2023-05-10 15:50:04 +02:00
rlp Replace exception with assertion in rlp.append of BlockHeader 2023-05-25 15:27:37 +07:00
trie Remove all Defect raises to avoid unnecessary warnings (#607) 2023-05-10 15:50:04 +02:00
utp Remove all Defect raises to avoid unnecessary warnings (#607) 2023-05-10 15:50:04 +02:00
nim.cfg Default compile all tests and binaries with TRACE log level (#549) 2022-11-10 09:01:58 +01:00
stubloglevel.nim Default compile all tests and binaries with TRACE log level (#549) 2022-11-10 09:01:58 +01:00
test_async_utils.nim
test_bloom.nim