You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The budget that is printed out is the budget from the Soroban Env, but if those stats are available / exported by the Host, we should be able to include them.
@graydon@dmkozh@sisuresh Are the stats above available on an object of the Host that we could use in the SDK? I had a look through the env repo but couldn't find where those stats are recorded.
I don't think the host tracks stats before and after contract invocation. Others can comment.
There is a related issue of adding resources for contract tests: #1113
What problem does your feature solve?
Soroban includes a handful of resources that are limited but cannot be checked via the test environment's
Budget
object.These missing fields are:
Currently, the budget object only contains the CPU and Memory limits plus their breakdown:
What would you like to see?
The ability to check Ledger entry read/write count, and read/write bytes after a contract call in a unit / integration test.
What alternatives are there?
Test against a standalone container, which can be significantly more complicated.
The text was updated successfully, but these errors were encountered: