status-im/nim-web3

"-d:debug" breaks beacon_node compilation

stefantalpalaru opened this issue · 0 comments

In the nim-beacon-chain repo:

make NIMFLAGS="-d:debug" V=1 beacon_node
[...]
stack trace: (most recent call last)
/mnt/sda3/storage/CODE/status/nim-beacon-chain/vendor/nim-web3/web3.nim(523, 30) contract
/mnt/sda3/storage/CODE/status/nim-beacon-chain/vendor/nim-web3/web3.nim(513, 10) parseContract
/mnt/sda3/storage/CODE/status/nim-beacon-chain/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim(134, 21) $
/mnt/sda3/storage/CODE/status/nim-beacon-chain/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim(117, 13) collectionToString
/mnt/sda3/storage/CODE/status/nim-beacon-chain/vendor/nimbus-build-system/vendor/Nim/lib/system.nim(4322, 11) addQuoted
/mnt/sda3/storage/CODE/status/nim-beacon-chain/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim(90, 15) $
/mnt/sda3/storage/CODE/status/nim-beacon-chain/vendor/nimbus-build-system/vendor/Nim/lib/system.nim(4322, 11) addQuoted
/mnt/sda3/storage/CODE/status/nim-beacon-chain/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim(134, 21) $
/mnt/sda3/storage/CODE/status/nim-beacon-chain/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim(117, 13) collectionToString
/mnt/sda3/storage/CODE/status/nim-beacon-chain/vendor/nimbus-build-system/vendor/Nim/lib/system.nim(4322, 11) addQuoted
/mnt/sda3/storage/CODE/status/nim-beacon-chain/vendor/nimbus-build-system/vendor/Nim/lib/system/dollars.nim(88, 21) $
/mnt/sda3/storage/CODE/status/nim-beacon-chain/vendor/nimbus-build-system/vendor/Nim/lib/system.nim(4322, 11) addQuoted
/mnt/sda3/storage/CODE/status/nim-beacon-chain/vendor/nimbus-build-system/vendor/Nim/lib/core/macros.nim(1273, 5) $
/mnt/sda3/storage/CODE/status/nim-beacon-chain/beacon_chain/mainchain_monitor.nim(33, 9) template/generic instantiation of `contract` from here
/mnt/sda3/storage/CODE/status/nim-beacon-chain/beacon_chain/mainchain_monitor.nim(34, 114) Error: Invalid node kind nnkBracketExpr for macros.`$`