Skip to content

Feat: Timelocked-Upgrades and Mandatory 48-Hour Delay Window on WASM Replacement - #686

Open
Ofuree wants to merge 2 commits into
StellarFlow-Network:mainfrom
Ofuree:issue_633
Open

Feat: Timelocked-Upgrades and Mandatory 48-Hour Delay Window on WASM Replacement#686
Ofuree wants to merge 2 commits into
StellarFlow-Network:mainfrom
Ofuree:issue_633

Conversation

@Ofuree

@Ofuree Ofuree commented Jul 28, 2026

Copy link
Copy Markdown

Summary

closes #633

  • Added a mandatory 48-hour delay for WASM upgrades.
  • Stored the proposal timestamp and calculated execution deadline.
  • Prevented execute_upgrade() from running before the deadline.
  • Added timelock policy helpers and boundary/overflow tests.

Testing

  • Added tests verifying execution fails one second before the deadline and succeeds at the deadline.
  • Full test suite is currently blocked by pre-existing repository syntax errors and Rust toolchain issues.

@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

@Ofuree

Ofuree commented Jul 30, 2026

Copy link
Copy Markdown
Author

Fixed the conflict

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.

⏱️ Timelocked-Upgrades | Mandatory 48-Hour Delay Window on WASM Replacement

1 participant