onflow/fcl-dev-wallet

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

Opened this issue · 3 comments

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
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

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

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

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

fcl.limit(100),