Export loadContract
method of runtime.interpreterEnvironment
type
#2824
Labels
loadContract
method of runtime.interpreterEnvironment
type
#2824
Issue to be solved
As discussed in this onflow/cadence-tools#210 (comment), it would be useful to directly call this method, having obtained a
runtime.interpreterEnvironment
object, e.g. with:Right now, we have to duplicate the logic of this method, when using a custom handler for:
Suggested Solution
Export the
loadContract
method, possibly via an interface, sinceruntime.interpreterEnvironment
is not an exported type, and cannot be used for example as a struct field.The text was updated successfully, but these errors were encountered: