Skip to content

Commit 1aab680

Browse files
jasagredoclaude
andcommitted
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/cardano-node.cabal

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,6 @@ library
189189
, transformers
190190
, transformers-except
191191
, typed-protocols:{typed-protocols, stateful} >= 1.2
192-
, yaml
193192

194193
executable cardano-node
195194
import: project-config

0 commit comments

Comments
 (0)