Skip to content

Feat: Memory-Optimization and Refactor Transient Calculation State to Temporary Storage - #687

Merged
Sadeequ merged 2 commits into
StellarFlow-Network:mainfrom
Ofuree:issue_590
Jul 31, 2026
Merged

Feat: Memory-Optimization and Refactor Transient Calculation State to Temporary Storage#687
Sadeequ merged 2 commits into
StellarFlow-Network:mainfrom
Ofuree:issue_590

Conversation

@Ofuree

@Ofuree Ofuree commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Summary

Closes #590

  • Added an ephemeral storage namespace for transient swap route state.
  • Moved route snapshots, hop results, running amounts, and accumulated fees to temporary() storage.
  • Preserved durable fee-pool and balance accounting in instance() storage.
  • Kept replay-protection nonces in persistent() storage to prevent nonce replay after expiration.
  • Added documentation clarifying storage boundaries.

Testing

  • Runtime tests and resource profiling could not complete because:
    • The workspace contains pre-existing Rust parse errors in unrelated modules.

@drips-wave

drips-wave Bot commented Jul 28, 2026

Copy link
Copy Markdown

@Ofuree 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

@Sadeequ
Sadeequ merged commit 8cdc1b7 into StellarFlow-Network:main Jul 31, 2026
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.

⚡ Memory-Optimization | Refactor Transient Calculation State to Temporary Storage

2 participants