maidsafe / safe_network

66 stars 40 forks source link

feature(safenode-manager): Ability to pass '--features' when using 'local run --build' #1867

Open happybeing opened 1 month ago

happybeing commented 1 month ago

To run a local testnet with BETA compatible code (e.g. stable-4thJune2024) requires the faucet to be built with features=gifting but at the moment this can only be done by editing the sn_faucet/Cargo.toml as below:

[features]
-default = ["initial-data"]
+default = ["gifting"]

To save having to do this I suggest adding the ability to pass a list of features with --build and modifying the README example to show this in action.

At the moment following the README instructions doesn't result in a usable local network, unless you first edit the default features for sn_faucet.