Skip to content

[6] Automated Storage Entry Footprint & Rent Cost Calculator #813

Description

@ayomideadeniran

Description

Soroban rent and footprint costs are major operational expenses. Crucible needs a precise estimator calculating live Stroop storage fees across Persistent, Instance, and Temporary storage lifetimes.

Location

contracts/crucible/src/sim.rs:

contracts/crucible/src/sim.rs
// Location: contracts/crucible/src/sim.rs // Production requirement: Automated Storage Entry Footprint & Rent Cost Calculator

Impact

Contracts deployed without rent budgeting can suffer premature archival or excessive transaction fees.

Required Fix

  • Track exact byte sizes of keys and values added to instance/persistent/temporary storage during simulated transactions.
  • Compute dynamic rent cost according to Soroban network configuration parameters.
  • Provide automated recommendations when Temporary storage is more economical than Persistent storage.

Reference

Identified during Crucible Core Testing Framework production readiness audit.


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

    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