Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add builtin to extend TTL for Soroban storage variables #1669

Open
salaheldinsoliman opened this issue Oct 5, 2024 · 0 comments
Open

Add builtin to extend TTL for Soroban storage variables #1669

salaheldinsoliman opened this issue Oct 5, 2024 · 0 comments

Comments

@salaheldinsoliman
Copy link
Contributor

salaheldinsoliman commented Oct 5, 2024

Soroban has a mechanism that ensures the active ledger state doesn't grow indefinitely. Every stored contract key has a certain TTL (Time to Live) that can be extended by calling a Soroban host function.

This can be handled by adding a Solang builtin extend_ttl(var).

Relative docs: https://developers.stellar.org/docs/build/guides/storage/choosing-the-right-storage

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

No branches or pull requests

1 participant