Add payment batch scheduling, transaction rollback simulation, invoice forensics, and price oracle helpers - #956
Merged
Kingsman-99 merged 4 commits intoSep 28, 2026
Conversation
|
@kodaodife-dev 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
Add payment batch scheduling, transaction rollback simulation, invoice forensics, and price oracle helpers
What was solved
#926 — Implement payment batch scheduling
Implement payment batch scheduling as a new core module in the Stellar SDK codebase, providing the ability to schedule groups of payment operations for future execution with proper event emission and comprehensive test coverage. The feature should follow existing module patterns (e.g., invoiceBatchProcessor, batchVerifier) and integrate with the existing event/telemetry conventions.
Addressed:
#927 — Add SDK transaction rollback simulation
Implement SDK transaction rollback simulation: add a core module that simulates rolling back a Stellar transaction (restoring account/ledger state, emitting rollback lifecycle events), wire it into the existing SDK surface with proper event handling, and add comprehensive tests. Scope is limited to the rollback simulation feature described in the issue; no unrelated refactors.
Addressed:
#928 — Implement invoice forensics tools
Implement invoice forensics tools in the Stellar SDK repo. The issue is high-level and lacks concrete API details, so the contribution should add a focused, self-contained invoice forensics module (e.g., src/invoiceForensics.ts) that analyzes invoice records for tampering/anomalies, plus a matching test file under src/tests/invoiceForensics.test.ts. Scope should stay limited to the new module and its tests, following existing patterns in src/ (TypeScript, typed exports, no new deps).
Addressed:
#929 — Add SDK price oracle integration helpers
Add SDK price oracle integration helpers to the Stellar SDK codebase. The issue is high-level and asks for core functionality, event handling, and comprehensive tests for price oracle integration. Given the existing module structure (src/ with feature modules and src/tests/), the contribution should introduce a focused price oracle helper module plus its test file, following existing patterns like ammCalculator.ts and its test.
Addressed:
Changes
src/paymentBatchScheduler.ts(create)src/autoRecovery.ts(modify)src/autoResolveSimulator.ts(modify)src/broadcaster.ts(modify)src/invoiceForensics.ts(create)src/priceOracle.ts(modify)src/__tests__/priceOracle.test.ts(create)src/ammCalculator.ts(modify)Approach
Issues
Closes #926
Closes #927
Closes #928
Closes #929