Open stefantalpalaru opened 3 years ago
please minimize and test against devel (like all other bug reports)
test against devel
They (Status) use Nim 1.2.x and this was caught as a part of the testing of 1.2.12 RC.
Fixed by https://github.com/nim-lang/Nim/commit/6238f2ee1e83c83f6e5d3f923c118ddd536ef96d, will be available in the nightlies tomorrow morning.
@stefantalpalaru In the mean time, you can checkout version-1-2
branch and test it. I've tested locally, and for me the command you posted in OP works now.
this will probably unblock OP, but before closing this issue, we should still minimize and see whether root problem occurs on devel, because based on https://github.com/nim-lang/Nim/commit/6238f2ee1e83c83f6e5d3f923c118ddd536ef96d it's likely that https://github.com/nim-lang/Nim/pull/17255 would cause the problem on devel.
you can checkout version-1-2 branch and test it
Yes, it works now. Thanks!
we should still minimize
Easier said than done.
see whether root problem occurs on devel
I can't compile Nimbus-eth2 programs with Nim devel. First it fails with:
/mnt/sde1/storage/nimbus-eth2/vendor/nim-libp2p/libp2p/protocols/pubsub/gossipsub.nim(297, 38) Error: 't' is of type <lent string> which cannot be captured as it would violate memory safety, declared here: /mnt/sde1/storage/nimbus-eth2/vendor/nim-libp2p/libp2p/protocols/pubsub/gossipsub.nim(290, 11); using '-d:nimWorkaround14447' helps in some cases
then, after adding '-d:nimWorkaround14447', it fails in another way:
/mnt/sde1/storage/nimbus-eth2/beacon_chain/networking/eth2_network.nim(1283, 25) template/generic instantiation from here
/mnt/sde1/storage/nimbus-eth2/beacon_chain/networking/eth2_network.nim(1362, 29) Error: implementSendProcBody sendProc can raise an unlisted exception: Exception
replication instructions
stack trace