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