Commit 1aab680
Remove the node's bespoke configuration-file parsing
With cardano-node, the chairman, tx-generator and cardano-testnet all
routing through cardano-config, nothing parses the node configuration
file via the node's own machinery anymore. Drop:
* instance FromJSON PartialNodeConfiguration (and all its helpers),
* instance AdjustFilePaths PartialNodeConfiguration (path resolution
is now done in the Adapter),
* parseNodeConfigurationFP,
together with the imports they pulled in (including the yaml package
dependency) and the two POM tests that exercised the JSON decoding. The
PartialNodeConfiguration / NodeConfiguration model and makeNodeConfiguration
are kept: they remain the node's resolved configuration type and the target
of Cardano.Node.Configuration.Adapter.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent ead5d8a commit 1aab680
3 files changed
Lines changed: 4 additions & 468 deletions
File tree
- cardano-node
- src/Cardano/Node/Configuration
- test/Test/Cardano/Node
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
192 | | - | |
193 | 192 | | |
194 | 193 | | |
195 | 194 | | |
| |||
0 commit comments