"Oops! Something went wrong. If you'd like, please report the Bug. Thank you!"
Disha1998 opened this issue · 5 comments
I can reproduce as well.
Steps to reproduce:
Follow this playground link: https://play.flow.com/3585af61-11ce-42fc-bfc5-c2aa774d394e?type=contract&id=7cbf8260-cb1d-4fe2-a787-9fc6cb4541e9
Deploy contracts in order (from 1 to 4) -> on 4th one, there will be this issue "Oops! Something went wrong."
Console output:
from the logs I see that it errors in Contract 4
on this line:
init(adminAccount: AuthAccount) {
transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
error: invalid argument count, too few arguments: expected 1, got 0, next missing argument:AuthAccount
I don't think the playground supports passing an AuthAccount as a parameter.
duplicate of #690
Ok, let's add a proper error message.
maybe will be better we update the FlowToken contract ? It is a core contract