feat(ledger-suite-orchestrator): disable archiving for newly installed ledger suites - #11417
Merged
gregorydemay merged 2 commits intoSep 7, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
The focused configuration change is correct and adequately tested.
Pull request overview
Disables archiving for newly installed ledger suites by raising the archive trigger threshold.
Changes:
- Sets the default threshold to 4.2 billion blocks.
- Adds a unit test verifying the new default.
File summaries
| File | Description |
|---|---|
src/scheduler/mod.rs |
Updates the default archive threshold. |
src/scheduler/tests.rs |
Tests the disabled-archiving configuration. |
Review details
- Files reviewed: 2/2 changed files
- Comments generated: 0
- Review effort level: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Base automatically changed from
ic_DEFI-2986_disable-archiving-for-the-ckevm-ledger-suites
to
master
September 2, 2026 09:44
…d ledger suites A token added while archiving is disabled (DEFI-2986) would otherwise get a fresh ledger with trigger_threshold 2_000 and start archiving once past it, reintroducing the double-mint commit point (DEFI-2967) for that token. Raise the default to 4_200_000_000, the same value as the ckBTC ledger upgrade (proposal 143757). To be reverted once DEFI-2967 lands. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01S568wBREAARUA9GvGP5JMP
gregorydemay
force-pushed
the
ic_DEFI-2986_2_disable-archiving-for-new-ledger-suites
branch
from
September 7, 2026 06:28
865aaa1 to
fcbee2b
Compare
gregorydemay
marked this pull request as ready for review
September 7, 2026 06:54
|
✅ No security or compliance issues detected. Reviewed everything up to 3c279e8. Security Overview
Detected Code Changes
|
mbjorkqvist
approved these changes
Sep 7, 2026
mbjorkqvist
left a comment
Contributor
There was a problem hiding this comment.
Thanks @gregorydemay!
A few related things we may still want to address:
- The comment in the
test_utilshere still mention the production value of2_000for thetrigger_threshold. - The docs here still assume archiving will be done - a sentence could be added saying that with the current configuration, archiving is (temporarily) disabled.
- A new SNS ledger suite would still have archiving enable, as per the configuration here. This is perhaps worth a discussion regarding if archiving in general should be disabled for SNSs also (upgrade args are currently not supported for SNS ledger suite upgrades, so this is not so straight-forward).
…for new ledger suites Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ADwWgvm2kmqneFi1NVk4t1
Contributor
Author
|
🤖 Thanks @mbjorkqvist! Addressed in 3c279e8:
|
gregorydemay
enabled auto-merge
September 7, 2026 12:30
gregorydemay
deleted the
ic_DEFI-2986_2_disable-archiving-for-new-ledger-suites
branch
September 7, 2026 14:01
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.
Stacked on #11407. Addresses the review remark about the hardcoded archive options for new suites.
Why
trigger_threshold: 2_000and start archiving once past it, reintroducing the double-mint commit point (DEFI-2967) for that token.What
trigger_thresholdfor newly installed ledger suites to 4_200_000_000, the value used to disable archiving on the ckBTC ledger (proposal 143757).🤖 Generated with Claude Code
https://claude.ai/code/session_01S568wBREAARUA9GvGP5JMP