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
--> 4d474ee92fdffb824fbb4ff77d8f9245b41d0147e255727b667be476898708f6:4:14
|
4 | acct.contracts.add(name: name, code: code.decodeHex())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^