oasisprotocol / oasisprotocol/oasis-core
Strict checking of node yaml config
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 369
- Forks
- 151
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 6
Description
Node initialization should fail when yaml cofiguration contains any entries that do not map to defined flags (similarly as node fails when an invalid flag is passed).
This would prevent missconfigurations when using yaml config format, which are currently sometimes hard to detect due to absence of strict checking.
Not sure if viper supports this.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at node initialization and the YAML configuration/flag parsing path, then check whether Viper supports rejecting unknown configuration entries. Done means YAML entries without defined flags fail initialization in the same way as invalid command-line flags.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, yaml
- Domain
- backend, blockchain
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100