LIT-3897 - Implement pruning of expired capacity token NFTs#15
Merged
MaximusHaximus merged 4 commits intomainfrom Jun 12, 2025
Merged
LIT-3897 - Implement pruning of expired capacity token NFTs#15MaximusHaximus merged 4 commits intomainfrom
MaximusHaximus merged 4 commits intomainfrom
Conversation
glitch003
approved these changes
Oct 25, 2024
Ansonhkg
suggested changes
Jun 11, 2025
Contributor
Ansonhkg
left a comment
There was a problem hiding this comment.
update to use the latest helper function
packages/lit-task-auto-top-up/src/actions/pruneExpiredCapacityTokenNFT.ts
Outdated
Show resolved
Hide resolved
…apacity token NFTs
Co-authored-by: Anson <ansonox@gmail.com>
…ntracts SDK (it has pruneExpired support)
60d374a to
5b60d1a
Compare
- Make pruning happen for every recipient, even if they have unexpired tokens - Make pruning an optional operation (no error thrown if it fails, just log the error) - Add logging of pruning operations for visibility that the process is working as expected - Update package manager dependency, node engines, and tsconfig references to match heroku reality -- and nvmrc too - Remove support for sunsetted networks (cayenne, habanero, manzano) - Update type check/parsing in `validateJSONRecipients.ts`
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
pruneExpired()function that will be called after minting a new NFT to a target address