You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Gossamer writes its current configuration to a config file without being asked to do so.
Expected Behavior
When the node is run with a certain CLI flag, the value of that flag is applied to the configuration of the running process.
When the node is run again, without passing this CLI flag, the configuration value is taken from the config file or its default value.
Current Behavior
When the node is run with a certain CLI flag, the value of that flag is applied to the configuration of the running process and the config file is overwritten with the same config.
When the node is run again, without passing this CLI flag, the previously passed value is read from the config file and applied.
Possible Solution
Don't write a configuration file.
To Reproduce
Steps to reproduce the behaviour:
run gossamer and terminate the process
run grep peers config/config.toml in the gossamer data directory and note the value of min peers
run gossamer --min-peers N with an N that is not the number from step 2 and terminate the process
run grep peers config/config.toml in the gossamer data directory and find the value of min peers to be the one passed in step 3
The text was updated successfully, but these errors were encountered:
Describe the bug
Gossamer writes its current configuration to a config file without being asked to do so.
Expected Behavior
When the node is run with a certain CLI flag, the value of that flag is applied to the configuration of the running process.
When the node is run again, without passing this CLI flag, the configuration value is taken from the config file or its default value.
Current Behavior
When the node is run with a certain CLI flag, the value of that flag is applied to the configuration of the running process and the config file is overwritten with the same config.
When the node is run again, without passing this CLI flag, the previously passed value is read from the config file and applied.
Possible Solution
Don't write a configuration file.
To Reproduce
Steps to reproduce the behaviour:
gossamer
and terminate the processgrep peers config/config.toml
in the gossamer data directory and note the value of min peersgossamer --min-peers N
with an N that is not the number from step 2 and terminate the processgrep peers config/config.toml
in the gossamer data directory and find the value of min peers to be the one passed in step 3The text was updated successfully, but these errors were encountered: