Raise CPI Nesting Limit
- Idea
- Draft
- Review
- Accept
- Implement
- Active
Decision brief
Why this proposal matters
Increase the maximum number of nested CPI calls.
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 unknownValidators & operators Impact unknown
No proposal-specific evidence was found for this group.
Action requirement unknownUsers & 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 unknownGovernance & ecosystem Impact unknown
No proposal-specific evidence was found for this group.
Action requirement unknownExact source revision
Full proposal document
84d9b495da43Summary
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.
Provenance
Evidence & technical details
Rollout or chain data, source revisions, freshness and integrity. 3
Provenance
Evidence & technical details
Rollout or chain data, source revisions, freshness and integrity.SIMD
Deployment Status
6TkHkRmP7JZy1fdM6fg5uXn76wChQBWGokHBJzrLB3mjExact 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.
simd.watch community discussion · SIMD-0268
Powered by Giscus · Sign in with GitHub to comment
Community comments load when this section approaches the viewport.