mirror of
https://github.com/status-im/nim-eth.git
synced 2025-02-21 02:08:11 +00:00
`les_protocol.nim` failed to build, due to very silly Nim bugs nim-lang/Nim#8792 and nim-lang/Nim#17102. import ../../[rlp, keys], ../../common/eth_types, ../[rlpx, kademlia, blockchain_utils], ../private/p2p_types, The silly part is `../` has to be quoted if it's before a group of files, but not before a single file. Most places in PR #344 / 7624153 use the workaround `".."/` but it was missed in `les_protocol.nim`: nimbus-eth1/vendor/nim-eth/eth/p2p/rlpx_protocols/les_protocol.nim(14, 3) Error: cannot open file: ../../[rlp,keys] Signed-off-by: Jamie Lokier <jamie@shareable.org>