ChainSafe / ChainSafe/gossamer

config: consolidate `*config/Config` and `*dot/Config`

Open
#1,848 0 comments 0 reactions 0 assignees View on GitHub
C-simple
Dominant language
Go
Stars
454
Forks
144
PR merge metrics
No merged PRs in 30d

Description

## Task summary

- we currently have two configuration types defined in gossamer, first is `*config/config.go` which is used to unmarshal the toml config file, and the second is `*dot/Config` which is used to create the internal node services
- consolidate these two types into 1, this will require toml custom unmarshalling for some fields as the types don't match, eg `LogLvl`, `Pruning`, `DiscoveryInterval`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.