Skip to content

[109] ISSUE-082: Add Soroban Transaction Time Bounds Example - #147

Merged
Dantama022 merged 2 commits into
Dantama022:mainfrom
esthertitilayo-dev:fix/109-add-soroban-transaction-time-bounds-example
Jul 29, 2026
Merged

[109] ISSUE-082: Add Soroban Transaction Time Bounds Example#147
Dantama022 merged 2 commits into
Dantama022:mainfrom
esthertitilayo-dev:fix/109-add-soroban-transaction-time-bounds-example

Conversation

@esthertitilayo-dev

Copy link
Copy Markdown
Contributor

Summary

  • Adds src/examples/82-transaction-time-bounds.ts: connects to Soroban RPC, computes/validates a time-bounds window, simulates/signs/submits a contract invocation within it, then deliberately builds an already-expired window (no real-time wait) to demonstrate rejection, and a deliberately invalid config to demonstrate graceful validation. Exports pure, network-free helpers (computeTimeBounds, validateTimeBounds, isExpired, isNotYetValid, describeValidityWindow, explainTimeBoundsFailure) for unit testing.
  • Adds tests/transaction-time-bounds.test.ts covering all the pure helpers plus runner/README registration.
  • Registers 82-transaction-time-bounds in src/runner/catalog.ts and documents it in README.md (roadmap list + Direct Run section).
  • Adds a validation.config.json exclusion for the new live-network example.
  • Also fixes a pre-existing JSON syntax bug in src/validation/validation.config.json (the 67-soroban-contract-events exclusion entry was missing its closing }, and the next entry's opening {, which broke JSON parsing for the whole config).

Closes #109

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@drips-wave

drips-wave Bot commented Jul 29, 2026

Copy link
Copy Markdown

@esthertitilayo-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! 🚀

Learn more about application limits

@Dantama022
Dantama022 merged commit 4ebc181 into Dantama022:main Jul 29, 2026
0 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ISSUE-082: Add Soroban Transaction Time Bounds Example

2 participants