Skip to content

Detect Expensive Nested Soroban Calls #771

Description

@mijinummi

🧠 Concept

Detect unnecessarily deep contract-call chains.

⚠️ Problem

Nested contract invocations can increase resource usage and execution complexity.

📁 Implementation Scope

  • packages/rules/soroban/calls/
  • packages/analyzers/soroban/callgraph/

✅ Requirements

  • Build contract call relationships
  • Detect deep invocation chains
  • Identify repeated calls
  • Report optimization opportunities

🎯 Acceptance Criteria

  • Nested call detection implemented
  • Call depth calculated
  • Repeated calls identified
  • Findings generated correctly

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions