Error when calling actor class constructor

Cycles.add() is in fact needed, but the amount of cycles to transfer is more than 100000000000. An insufficient amount can trigger somewhat obscure errors like:

The Replica returned an error: code 4, message: “IC0503: Canister … trapped explicitly: could not perform call”

3 Likes