Open loziniak opened 8 months ago
Thanks for the feedback.
However, I can't really tell whether you'd like it to build the binaries in release or debug mode, because you are referencing a problem with both space and time. You can't have both. Either we build in debug mode and we use more space, or we build in release mode and it takes longer. Which do you prefer for the local network?
Perhaps I didn't make myself clear. By default, node_manager
is built in dev mode, and the binaries it builds itself, like safenode
or faucet
, are built with release mode. It makes all dependencies be built two times - once for release and once for dev. I see two solutions:
node_manager
build other binaries in dev mode.I prefer solution no.1, because release saves much more space, and takes only a little longer.
OK, thanks. I'll look into this.
When I'm running a local testnet using the command from README file:
The
safenode-manager
binary is built in debug mode, and thenfaucet
is built in release mode. This takes twice as much time, and twice the storage space, because most libraries are shared among subprojects. I have both release and debug folders insafe_network/target
.