onflow/flow-playground

flow token contract doesn't compile

Braviti0 opened this issue · 1 comments

Describe the bug
Valid contract does not deploy on flow playground

To Reproduce
copy and paste the official flow token contract
copy and paste the official flow fungible token contract interface
deploy the latter and then the former
trying to deploy the former (flow token contract fails)

Expected behavior
It says unexpected error

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]

Additional context

  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

The flow token contract takes an authAccount in the init method, playground doesn't support that.

Playground needs display to the user that functionality isn't supported.