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

Can't create account when emulator is running with --transaction-fees enabled #119

Open
spacepluk opened this issue Jun 18, 2022 · 3 comments
Assignees

Comments

@spacepluk
Copy link

WARN[0130] ERR [020991] [Error Code: 1101] cadence runtime error Execution failed:
error: fatal error: storage error: get value failed: [Error Code: 1110] computation exceeds limit (100)
  --> f8d6e0586b0a20c7.FCL:50:4
   |
50 |     return self.account.borrow<&Root>(from: self.storagePath)!.key
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

@bluesign
Copy link
Contributor

try increasing computation limit. ( 100 is too low for account creation )

@spacepluk
Copy link
Author

That transaction is originating from the dev wallet though.

With the latest versions of flow-cli (v0.37.1) and fcl-js (v1.1.0) it's gotten worse and I can't even authenticate with the wallet when launching the emulator with --persist --transaction-fees.

When I call fcl.authenticate I just get a blank window and this pops up in the console:

WARN[0011] ❗  Transaction reverted                       computationUsed=201 txID=7811af96642b2fc5b0c1adefbe1ad8ecd026ba7cb0ab2be552a733975289fdc1
WARN[0011] ERR [7811af] [Error Code: 1101] cadence runtime error Execution failed:
error: fatal error: storage error: set value failed: [Error Code: 1110] computation exceeds limit (200)
--> 7811af96642b2fc5b0c1adefbe1ad8ecd026ba7cb0ab2be552a733975289fdc1

@bluesign
Copy link
Contributor

bluesign commented Jul 5, 2022

ah sorry @spacepluk, it is about this below line:

fcl.limit(100),

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

No branches or pull requests

3 participants