Skip to content

Fix TTL expiration testing documentation #2075

Closed

Description

@unboxedtype

On this page , the test suggests that the call to an expired smart contract will panic. It seems, starting from SDK v.23 this is no longer the case. In the testing environment, the TTL of a contract (and other persistent/instance storage items) will be automatically prolonged once you try to read them.

The test test_persistent_entry_archival() mentioned on the page does no longer exist , it was substituted with another test here that explains the new (quite the opposite, I would say) behavior.

Activity

  1. moved this to To Do in Dev Docson Dec 2, 2025
  2. moved this from To Do to In Progress in Dev Docson Jan 20, 2026
  3. added 2 commits that reference this issue on Jan 20, 2026
    62b0ae2
    13fc2d7
  4. ElliotFriend commented on Jan 27, 2026

    @ElliotFriend
    Contributor

    Thanks for the report, @unboxedtype! I've updated that page to reflect the most recent tag of the example contract.

  5. added a commit that references this issue on Jun 18, 2026
    05ef067
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

  • Status
    In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions