mirror of https://github.com/status-im/nim-eth.git
67bbd88616
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. |
||
---|---|---|
.. | ||
common | ||
db | ||
keyfile | ||
net | ||
p2p | ||
rlp | ||
trie | ||
utp | ||
async_utils.nim | ||
bloom.nim | ||
common.nim | ||
eip1559.nim | ||
keyfile.nim | ||
keys.nim | ||
p2p.nim | ||
rlp.nim | ||
trie.nim |