You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bump_checkpoints_ttl_range(start_id, end_id) loops over every id in start_id..=end_id with no maximum span.
Why this matters
An admin passing a wide range (or u64::MAX) will exceed CPU limits and fail; worse, tooling may repeatedly retry. Other range views cap at MAX_PAGE_SIZE.
Scope
Reject spans larger than MAX_PAGE_SIZE with InvalidPageSize, or clamp and return the last processed id so callers can continue.
Relevant code in CalloraOrg/Callora-Contracts:
contracts/checkpoint/src/lib.rs
Priority
Medium
Acceptance criteria
Span above the cap is rejected or clamped with a returned cursor
Span within the cap bumps all existing ids
Missing ids are skipped without error
Non-admin callers still receive Unauthorized
Validation
cargo test -p callora-checkpoint ttl
Non-goals
Typo-only, formatting-only, or cosmetic changes.
Unrelated refactors, dependency upgrades, or broad rewrites.
Removing safeguards or weakening validation to make tests pass.
Contributor application
Before coding, describe the affected modules, proposed state/invariant changes, test strategy, compatibility considerations, and an estimate. Wait for assignment before starting implementation.
PR requirements
Use a feature branch and include Closes #<issue-number>. Address every criterion, map criteria to code and tests, explain security and failure-mode handling, and ensure CI passes.
Quality review
A maintainer will assess correctness, completeness, test depth, compatibility, observability, and adverse-case handling. A substantive implementation is required; merge or CI status alone does not guarantee reward eligibility.
changed the title [-]Keep leaderboard rank pages deterministic[/-][+]Add focused test coverage for contracts/revenue_pool/src/test_invariant.rs[/+]on Sep 27, 2026
changed the title [-]Add focused test coverage for contracts/revenue_pool/src/test_invariant.rs[/-][+]Limit span of checkpoint TTL range bumps[/+]on Sep 27, 2026
@Holer8 has applied to work on this issue as part of the Stellar Wave Program's 10th wave.
I’ve reviewed the issue and have a solid understanding of what needs to be addressed. I’d like to take responsibility for the implementation and ensure the resulting changes are reliable, well-tested, and easy to maintain.
@itzsoftwaredevops-sys has applied to work on this issue as part of the Stellar Wave Program's 10th wave.
I’ve reviewed this issue and I’m confident I can contribute effectively. My experience in software engineering and Web3 development aligns with the requirements, and I’m ready to take ownership, follow the project’s conventions, and deliver a clean, tested solution.
Activity
[-]Keep leaderboard rank pages deterministic[/-][+]Add focused test coverage for contracts/revenue_pool/src/test_invariant.rs[/+][-]Add focused test coverage for contracts/revenue_pool/src/test_invariant.rs[/-][+]Limit span of checkpoint TTL range bumps[/+]AkpakaProsper commentedon Sep 29, 2026
@AkpakaProsper has applied to work on this issue as part of the Stellar Wave Program's 9th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @AkpakaProsper to this issue.
boluxx123 commentedon Sep 30, 2026
@boluxx123 has applied to work on this issue as part of the Stellar Wave Program's 9th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @boluxx123 to this issue.
babatundealao407-alt commentedon Sep 30, 2026
@babatundealao407-alt has applied to work on this issue as part of the Stellar Wave Program's 9th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @babatundealao407-alt to this issue.
kingsrichie79-cmyk commentedon Sep 30, 2026
@kingsrichie79-cmyk has applied to work on this issue as part of the Stellar Wave Program's 9th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @kingsrichie79-cmyk to this issue.
Rodrigoue9 commentedon Oct 3, 2026
Hi @maintainers! I'd like to work on this issue. Here is my proposed technical approach:
Proposed Technical Approach:
require_auth), and gas optimization.soroban-sdk::Envverifying both success and failure execution paths.Key Files:
contracts/**/src/lib.rs(contract entrypoints and interface implementations)contracts/**/src/types.rsorstorage.rs(types, data keys, and state)contracts/**/src/test.rs(unit tests and integration vectors)Verification & Testing:
cargo testacross all contract crates verifying 100% pass rate.cargo clippy --all-targets -- -D warningsandcargo fmt --check.soroban contract build.Relevant Track Record:
I have successfully implemented and merged multiple production PRs across the Stellar ecosystem and Web3 open-source projects (e.g., Bitcoindefi/OpenAO #218, cybermax4200/stellar-did-credit #898 & #900, and FindMalek/sonaraem #416).
Please feel free to assign this issue to me so I can proceed with the implementation. Thank you!
shobhamerabacha-star commentedon Oct 7, 2026
Hi maintainers,
I reviewed this issue and would like to contribute the fix.
Technical outline:
Let me know if this aligns with the repository guidelines and assign when convenient.
lienhoatienphung-svg commentedon Oct 16, 2026
Hi! I have implemented and verified this in #1384 with full unit test coverage and rustfmt compliance.
Holer8 commentedon Oct 16, 2026
@Holer8 has applied to work on this issue as part of the Stellar Wave Program's 10th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @Holer8 to this issue.
itzsoftwaredevops-sys commentedon Oct 18, 2026
@itzsoftwaredevops-sys has applied to work on this issue as part of the Stellar Wave Program's 10th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @itzsoftwaredevops-sys to this issue.