Repository navigation
docs: extend new code after an upgrade - #171
Open
0xdevcollins wants to merge 1 commit into
Open
0xdevcollins wants to merge 1 commit into
0xdevcollins wants to merge 1 commit into
Conversation
New code starts with the network's minimum lifetime, about 7 days on testnet, and the contracts renew it only when a call lands in its last day. Testnet's events 2.1.0 code was archived that way in October 2026. Note the backend keepalive that now renews it, and the manual command for when it is not running.
Plan expiredYour subscription has expired. Please renew your subscription to continue using CI/CD integration and other features. |
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.
What
One paragraph at the end of section 1 of
docs/upgrade-runbook.md: how long new code lives on each network, that the backend's dailyContractTtlKeepaliveCronnow renews the code each contract runs (boundlessfi/boundless-nestjs#970), and thestellar contract extendcommand to run by hand where that job is not running. On testnet it says to extend 60 days at a time, because 180 days of rent for the events code does not fit in one transaction fee.Why
New code gets the network minimum: ~120 days on mainnet, ~7 on testnet. The contracts renew it only when a call lands in its last day (
touch_instance). After the 8 Oct testnet upgrade, the events 2.1.0 code was archived once QA traffic stopped, and every staging escrow op then had to restore ~63 KB first. It was restored and extended by hand on 20 Oct.Docs only; no contract change.