Ensure all configuration files contain required fields, maintain proper structure, and follow consistent formatting standards. Configuration files should be complete with all mandatory nodes present, properly sorted for consistency, and preserve critical values that shouldn’t be auto-updated.
Key practices:
jq . config.json -S | sponge config.json
Example of proper structure validation:
{
"deployments": {
"chain_id": "required-value",
"ibc_interface": "required-interface",
"channels": [1, 2, 3],
"core": {
"address": "0x...",
"height": 22242649 // should not auto-update
}
}
}
This prevents runtime errors, ensures environment consistency, and maintains configuration integrity across deployments.
Enter the URL of a public GitHub repository