Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Oops! Something went wrong. If you'd like, please report the Bug. Thank you!" #708

Closed
Disha1998 opened this issue Jun 19, 2023 · 5 comments · Fixed by #709
Closed

"Oops! Something went wrong. If you'd like, please report the Bug. Thank you!" #708

Disha1998 opened this issue Jun 19, 2023 · 5 comments · Fixed by #709

Comments

@Disha1998
Copy link

Screenshot 2023-06-19 at 2 31 55 PM

During deployment of contract-4 getting this issue, could anyone please help me to solve that!

@muttoni
Copy link

muttoni commented Jun 19, 2023

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:

image

@nialexsan
Copy link
Contributor

nialexsan commented Jun 19, 2023

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

@jribbink
Copy link
Contributor

I don't think the playground supports passing an AuthAccount as a parameter.

duplicate of #690

@fotescodev
Copy link
Contributor

Ok, let's add a proper error message.

@bluesign
Copy link

bluesign commented Jun 20, 2023

maybe will be better we update the FlowToken contract ? It is a core contract

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants