Skip to content

feat(stellar): add trace logging for expiresIn → expiry_ledger conversion#146

Open
GBOYEE wants to merge 2 commits into
bridgelet-org:mainfrom
GBOYEE:feat/expiry-trace-logging-144
Open

feat(stellar): add trace logging for expiresIn → expiry_ledger conversion#146
GBOYEE wants to merge 2 commits into
bridgelet-org:mainfrom
GBOYEE:feat/expiry-trace-logging-144

Conversation

@GBOYEE

@GBOYEE GBOYEE commented Jun 21, 2026

Copy link
Copy Markdown

Summary

Adds runtime trace logging in createEphemeralAccount() to verify the expiresIn → expiry_ledger conversion is working correctly.

Changes

  • Log the full conversion: expiresIn (seconds) → expiryLedger (ledger sequence)
  • Includes currentLedger and offset for debugging
  • Helps operators verify accounts are initialized with correct expiry in production

Verification

The full chain CreateAccountDto.expiresIn → AccountsService.create() → StellarService.createEphemeralAccount() → toExpiryLedger() → contract call is already correctly wired. This PR adds observability to confirm it at runtime.

Related to #144

root added 2 commits June 21, 2026 05:06
…sion

- Add runtime log in createEphemeralAccount showing expiresIn, expiryLedger, currentLedger, and offset
- Helps operators verify the conversion is working correctly in production

Related to bridgelet-org#144
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.

1 participant