Hello,
I have a method that transfers tokens from the user to the smartcontract, and from the smartcontract to the user, but with all these transfers I get an error:
Error: The transaction is too expensive, try reducing the number of AccountUpdates that are attached to the transaction.
Each transaction needs to be processed by the snark workers on the network.
Certain layouts of AccountUpdates require more proving time than others, and therefore are too expensive.
It seems that a transfer generates 3 calls