status-im / nimbus-eth2

Nim implementation of the Ethereum Beacon Chain
https://nimbus.guide
Other
543 stars 233 forks source link

"restart_nodes" comand error in "docker/manage_testnet_hosts.nims" #525

Closed stefantalpalaru closed 3 years ago

stefantalpalaru commented 5 years ago
cd docker
../env.sh nim manage_testnet_hosts.nims restart_nodes --network=testnet0
Hint: used config file '/mnt/sda3/storage/CODE/status/nim-beacon-chain/vendor/nimbus-build-system/vendor/Nim/config/nim.cfg' [Conf]
Hint: used config file '/mnt/sda3/storage/CODE/status/nim-beacon-chain/nim.cfg' [Conf]
Hint: used config file '/mnt/sda3/storage/CODE/status/nim-beacon-chain/vendor/nimbus-build-system/vendor/Nim/config/config.nims' [Conf]
Hint: used config file '/mnt/sda3/storage/CODE/status/nim-beacon-chain/docker/manage_testnet_hosts.nims' [Conf]
/mnt/sda3/storage/CODE/status/nim-beacon-chain/docker/manage_testnet_hosts.nims(2, 14) Warning: import os.nim instead; ospaths is deprecated [Deprecated]
/mnt/sda3/storage/CODE/status/nim-beacon-chain/vendor/nim-confutils/confutils.nim(710, 12) Hint: 'getArgCompletions' is declared but not used [XDeclaredButNotUsed]
/mnt/sda3/storage/CODE/status/nim-beacon-chain/vendor/nim-confutils/confutils.nim(734, 5) Hint: 'ArgKindFilter' is declared but not used [XDeclaredButNotUsed]
/mnt/sda3/storage/CODE/status/nim-beacon-chain/docker/manage_testnet_hosts.nims(32, 26) Hint: quit() called [QuitCalled]
/mnt/sda3/storage/CODE/status/nim-beacon-chain/vendor/nimbus-build-system/vendor/Nim/lib/system/fatal.nim(39) sysFatal
Error: unhandled exception: /mnt/sda3/storage/CODE/status/nim-beacon-chain/vendor/nimbus-build-system/vendor/Nim/compiler/int128.nim(71, 11) `arg.sdata(3) == 0` out of range [AssertionError]

Further more, "scripts/reset_testnet.sh" doesn't use our vendored Nim compiler here: https://github.com/status-im/nim-beacon-chain/blob/a1f5f3512be8cc02570fb9d699554be45e96c302/scripts/reset_testnet.sh#L109

arnetheduck commented 3 years ago

https://github.com/status-im/nimbus-eth2/pull/2329