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
Currently we only allow displaying (and enforcing) budget metering data in the unit tests. We can do better and surface more resources and even optionally enforce these:
Ledger reads/writes/RW bytes can be inferred from the storage state. The caveat is that we need to snapshot storage before every contract invocation. Then we can use e2e_invoke env module to get the ledger changes.
Events/return value - these can be also extracted from env. The event resets also need to be implemented for this to work properly
Rent bumps - we should add a capability to test for entries being bumped, as well as provide a way to examine the overall bump amount using e2e_invoke.
Fees - while we can't provide the exact fees, we could try coming up with a ballpark given some sane pre-defined config. This is probably much less useful than the features above, so can be done later.
The text was updated successfully, but these errors were encountered:
Currently we only allow displaying (and enforcing) budget metering data in the unit tests. We can do better and surface more resources and even optionally enforce these:
e2e_invoke
env module to get the ledger changes.e2e_invoke
.The text was updated successfully, but these errors were encountered: