Skip to content

Add gas benchmarks for orchestrator cross-contract execution #307

@Baskarayelu

Description

@Baskarayelu

Description

Create gas benchmarks for orchestrator execute paths to monitor cross-contract overhead and regressions.

Requirements and context

  • Must be secure, tested, and documented
  • Should be efficient and easy to review
  • Track per-step gas cost with baseline thresholds

Suggested execution

  • Fork the repo and create a branch
  • git checkout -b test/orchestrator-cross-contract-gas
  • Implement changes
  • Write contract: orchestrator/src/lib.rs
  • Write comprehensive tests: orchestrator/src/test.rs
  • Add documentation: benchmarks/README.md
  • Include NatSpec-style comments
  • Validate security assumptions

Test and commit

  • Run tests: cargo test -p orchestrator -- --nocapture
  • Cover edge cases
  • Include test output and security notes

Example commit message

test: add gas benchmarks for orchestrator execute paths

Guidelines

  • Minimum 95 percent test coverage
  • Clear documentation
  • Timeframe: 96 hours

Metadata

Metadata

Labels

Stellar WaveIssues in the Stellar wave programarea:orchestratorRemitWise contracts labelcontractsRemitWise contracts labelgasRemitWise contracts labelperformanceRemitWise contracts labelpriority:mediumRemitWise contracts labeltype:testRemitWise contracts label

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions