Whoops! 😨 Something unexpected happened...
[Error Code: 1101] cadence runtime error Execution failed:
error: updating account contract code failed: setting contract failed: [Error Code: 1056] (SetContract) is not authorized: setting contracts requires authorization from specific accounts
--> 75b6e411ffb8e4461d96a051077567aca47302d7faca26e323761cf02e38e69d:3:10
|
3 | acct.contracts.add(name: name, code: code.decodeHex())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^