Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
error: contract name argument cannot be empty.it must match the name of the deployed contract declaration or contract interface declaration
--> 018306f1a6a6ca4365e9bd4b724fc98243d11a23bb52a025e0e05c3f82f21c3f:4:14
|
4 | acct.contracts.add(name: name, code: code.decodeHex())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^