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
SCP-2772: Teach evaluateScriptRestricting to return the used budget
This enables the ledger to compute budgets while still setting an
overall limit, to guard against scripts that run for a very long time,
or loop.
I decided to roll this into `evaluateScriptRestricting` rather than
giving `evaluteScriptCounting` a bound, since having the bound-less
version of `evaluateScriptCounting` is still handy for casual usage.
Possibly it's actually just a trap and we should delete it, though.
0 commit comments