Skip to main content
Technical proposal SIMD-0268 Accepted

Raise CPI Nesting Limit

  1. Idea
  2. Draft
  3. Review
  4. Accept
  5. Implement
  6. Active

Decision brief

Why this proposal matters

Increase the maximum number of nested CPI calls.

Source-backed reading aid · source language: EN

Proposal at a glance

What changes

  • Once the associated feature gate is activated the maximum nesting depth of CPI calls must be changed from 4 to 8. This feature should only be activated after SIMD-0219.
  • Increase the maximum number of nested CPI calls.

Stakeholder map

Who is affected

Builders & client teams Impact unknown

No proposal-specific evidence was found for this group.

Action requirement unknown
Validators & operators Impact unknown

No proposal-specific evidence was found for this group.

Action requirement unknown
Users & stakers Medium impact

Exisiting dApps will not be affected as long as they don't depend on this limit in their logic to fail transactions, which is unlikely.

Action requirement unknown
Governance & ecosystem Impact unknown

No proposal-specific evidence was found for this group.

Action requirement unknown

Exact source revision

Full proposal document

Source-language document. Technical identifiers and evidence remain unchanged. 84d9b495da43

Summary

Increase the maximum number of nested CPI calls.

Motivation

The complexity of dApp interoperation is limited by how many programs can call into one another.

New Terminology

None.

Detailed Design

Once the associated feature gate is activated the maximum nesting depth of CPI calls must be changed from 4 to 8. This feature should only be activated after SIMD-0219.

Alternatives Considered

None.

Impact

Exisiting dApps will not be affected as long as they don't depend on this limit in their logic to fail transactions, which is unlikely.

Security Considerations

None.

Drawbacks

The maximum amount of VMs stack and heap memory, which needs to be reserved and zeroed out, would double.

Evidence graph

Related proposals and rollout

One or more sources are unavailable.

Upstream review record

Upstream discussion & review

One or more sources are unavailable.

simd.watch community discussion · SIMD-0268

Powered by Giscus · Sign in with GitHub to comment

Community comments load when this section approaches the viewport.

Provenance

Evidence & technical details

Rollout or chain data, source revisions, freshness and integrity.
3

SIMD

Deployment Status

Document lifecycleAccepted
CategoryCore protocol
Devnetinactive
Testnetinactive
Mainnet-Betainactive
6TkHkRmP7JZy1fdM6fg5uXn76wChQBWGokHBJzrLB3mj

Exact source revision

Sources & integrity

  • Proposal document pinned_commit_blob
    84d9b495da43121f6b140e7663e90006f0f15abb
  • simd-document document · stale · Dec 3, 2026
    84d9b495da43121f6b140e7663e90006f0f15abb

One or more sources are unavailable.

One or more sources are unavailable.