Skip to content

SC-W8-14: Per-Entrypoint Resource Budget Assertions #875

Description

@Cedarich

Labels: Soroban, Stellar Wave, contract, gas, performance
Complexity: Medium (150)

Description
A benchmark gate landed in an earlier wave, but budgets are aggregate. A regression in one entrypoint can hide beneath overall headroom, and an entrypoint that quietly grows past the transaction budget only fails on-chain.

Acceptance Criteria

  • Each public entrypoint has a recorded CPU and memory budget.
  • Tests fail when an entrypoint exceeds its budget beyond a documented tolerance.
  • Budget changes require an explicit, reviewable update rather than passing silently.
  • The report names the entrypoint and the delta on failure.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions