Open
Description
Summary
Create a new config file to house any provenance-specific configuration.
Problem Definition
We currently have a --testnet
flag that would be easier to manage if it were an option in a config file. Also, with #952, there are some streaming
configuration pieces that we would also want in that file.
While it would technically be possible to put them in the app.toml
or config.toml
files, any such entries would be removed if the provenanced config
set
, pack
or unpack
commands are used. That's because the writing of those files uses a template that's outside of our control, and doesn't have those custom additional fields.
Proposal
- Create our own configuration struct.
- Create our own configuration file template.
- Add this new config file and struct to the existing config reading/writing. That includes the
config
commands and packing/unpacking the config. - Make sure that the
testnet
config field is looked for early enough to be usable everywhere that currently looks for the--testnet
flag.
For Admin Use
- Not duplicate issue
- Appropriate labels applied
- Appropriate contributors tagged
- Contributor assigned/self-assigned
Metadata
Assignees
Labels
Type
Projects
Status
Backlog