Whoops! 😨 Something unexpected happened...
[Error Code: 1101] cadence runtime error Execution failed:
error: cannot deploy invalid contract
--> f2b71ace70f1e4d2ae4926bb9e1ea16926d3b61eab1b9cd464b151ca2517d600:3:2
|
3 | signer.contracts.add(name: name, code: code.decodeHex())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot infer type parameter: `T`
--> 58ed5053ec610954.sc:64:19
|
64 | let old <- signer.load(from: /storage/starlyCardCollection)!
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot infer type parameter: `T`
--> 58ed5053ec610954.sc:69:19
|
69 | let old <- signer.load(from: /storage/sc)!
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot infer type parameter: `T`
--> 58ed5053ec610954.sc:70:17
|
70 | let r <- signer.load(from: /storage/starlyCardCollection)!
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^