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
@SupunS can you please have a look at this with @darkdrag00nv2 this/next week? The PRs that got merged into master have a high priority, as they need to get metered before the spork, the ones for Stable Cadence have a lower priority
Issue to be solved
Some of the new stdlib functions perform non-constant operations, which require computation metering:
String.join
function #2762map
in Fixed/Variable sized Array types #2737filter
in Fixed/Variable sized Array types #2678reverse
in Fixed/Variable sized Array type #2654reverseInPlace
in Variable/Fixed size Array #2626String.replaceAll
instance function #2814String.split
function #2791Suggested Solution
Implementations should call
ReportComputation
, potentially with a new (?)common.ComputationKind
.Metering might also require "inlining" existing calls to the Go stdlib, so that each iteration of an operation can be metered up-front.
The text was updated successfully, but these errors were encountered: