Add Support for Cosmos SDK 0.50.1
Description: This PR updates the Panic Monitoring Dashboard to support the latest Cosmos SDK, ensuring compatibility with modern validator setups across the Cosmos ecosystem.
Changes:
- Refactored monitoring logic to align with the new Cosmos SDK updates.
- Improved alerting mechanisms for validator health and uptime.
- Optimized queries for better performance with updated Cosmos chains.
- Added persistency to the dashboard database.
Motivation: This update is part of a collaborative effort between Node.Monster’s Quick Grant Program and Secret Network to enhance monitoring capabilities for Cosmos validators. By upgrading Panic, we contribute to a more robust and decentralized validator ecosystem.
Developer: 👨💻 VogonAnthology (https://github.com/VogonAnthology)
Also please make sure that all tests pass:
Running the PANIC test suite
To run the tests for the alerter component within PANIC, do the following:
docker-compose kill # To stop any running containers (to avoid conflicts)
docker-compose -p panic-tests -f docker-compose-tests.yml up --build -d # To build the tests container
docker-compose -p panic-tests -f docker-compose-tests.yml logs test-suite # To see the result of the tests
docker-compose -p panic-tests -f docker-compose-tests.yml kill # To remove test environment
To run the tests for the API component within PANIC, navigate to the
/api directory and do the following:
npm install # Install API project dependencies
npm test # Run API unit tests
To run the tests for the Substrate API component within PANIC, navigate to the
/substrate-api directory and do the following:
npm install # Install API project dependencies
npm test # Run API unit tests
To run the tests for the UI component within PANIC, navigate to the
/ui directory and do the following:
npm install # Install UI project dependencies
npm test # Run UI E2E and unit tests