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

[L-04] Instance TTL Not Updated on All Operations #62

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

ozgunozerk
Copy link
Collaborator

Fixes #39

PR Checklist

  • Tests
  • Documentation

Notes: now, every operation in Fungible* extends TTL, the only exception being Metadata, because it is slightly different than transaction operations, and users of the library may want to implement their own TTL strategy for that.

For some methods in Fungible*, you will see that extend_ttl() is not there. The reason is, the inner functions/methods these methods are calling have the extend_ttl(), hence, the duplication was not necessary.

@ozgunozerk ozgunozerk requested a review from brozorec February 14, 2025 08:03
@ozgunozerk ozgunozerk self-assigned this Feb 14, 2025
@@ -62,6 +62,11 @@
//! - **Composable Design**: The modular structure encourages developers to
//! extend functionality by combining provided primitives or creating custom
//! extensions.
//! - **TTL management**: This library handles the TTL of only `temporary` and
//! `persistent` storage entries declared by the library. The `instance` TTL
//! management is left to the implementor due to flexibility. Our library
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
//! management is left to the implementor due to flexibility. Our library
//! management is left to the implementor due to flexibility. The library

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Todo
Development

Successfully merging this pull request may close these issues.

[L-04] Instance TTL Not Updated on All Operations
2 participants