Priority: High
Crate: txwatch-config
Labels: enhancement
Description:
AlertRule derives Deserialize but not Serialize. The validate subcommand cannot serialise the parsed config to JSON for machine-readable output.
Tasks:
- Add
#[derive(Serialize)] to AlertRule, WatchedContract, AppConfig, and Network
- Add a test round-tripping a config through serialise → deserialise
Priority: High
Crate:
txwatch-configLabels:
enhancementDescription:
AlertRulederivesDeserializebut notSerialize. Thevalidatesubcommand cannot serialise the parsed config to JSON for machine-readable output.Tasks:
#[derive(Serialize)]toAlertRule,WatchedContract,AppConfig, andNetwork