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 error message is cannot export value of type interpreter.TypeValue, which comes from runtime.exportValueWithInterpreter.
This function is used by the Playground to show the account state, so the problem is only there – storage of type values is supported and should work in the emulator and on networks.
Related is #259, which added support for exporting links and references. I had listed the value type which still need to be added here #259 (comment), but it looks like the closing PR didn't add support for type values.
turbolent
changed the title
Allow saving of Types into contracts/resources
Allow saving of Types into contracts/resources in Playground
Sep 14, 2020
turbolent
changed the title
Allow saving of Types into contracts/resources in Playground
Allow saving of types and capabilities into contracts/resources in Playground
Sep 28, 2020
Instructions
NFT or contract could have a field specified on them, which gives a hint on type to cast the reference.
Problem
Playground doesn't seem to support this at the moment.
Steps to Reproduce
Here is Playground with test case:
https://play.onflow.org/603a8982-9198-4be7-9f55-0cc91ae29f6f
FungibleToken
contract from 0x01CustomVault
contract from 0x02 - Playground will throwGraphQL error: internal system error
The text was updated successfully, but these errors were encountered: