Add SDK tests for governance, lifecycle examples, health-check service, and error handling - #711
Merged
levi0005 merged 4 commits intoAug 31, 2026
Conversation
…nLedger-Foundation#639) Add comprehensive test suite for the governance proposal lifecycle including propose/vote/execute flows, parameter change management, multisig signer management, and governance error handling.
…enLedger-Foundation#640) Add comprehensive test suite for the complete SME-to-investor lifecycle including mint → list → fund → repay → withdraw flows, batch operations, pagination support, and error handling across the entire workflow.
…tion#641) Add comprehensive test suite for health-check service that wraps scripts/health-check.sh with alerting webhooks including configuration, startup, execution, deduplication, webhook integration, recovery notifications, and edge case handling.
…dger-Foundation#642) Add comprehensive test suite covering all KoraError and CommonError variants including Authorization (1-7), Invoice (10-19), Marketplace (20-28), Pool (30-36), Treasury (40-43), Risk Registry (50, 53, 129), General (90-99, 102), Upgrade (100-101), Governance (110-117), Marketplace Advanced (118-125), Multisig (126, 140-149), Timelock (150-153), Treasury Reserve (154-160), and Mint Rate Limit (161) errors. Ensures SDK surfaces every contract error variant correctly.
|
@colemaya95-ctrl Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR implements comprehensive unit and integration tests for four high-priority SDK features:
Test Coverage
Implementation Notes
Commits Included
Closes #641
Closes #639
Closes #640
Closes #642