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: cannot deploy invalid contract
--> 13c4be65ee42cce7dbe4215ce012623f7fafd7700b5913697c409d71eb5f81fe:6:14
|
6 | acct.contracts.update__experimental(name: name, code: code.decodeHex())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find variable in this scope: `key`
--> 73e4a1094d0bcab6.Key:3:35
|
3 | var p =PublicKey(publicKey:key.decodeHex(),
| ^^^ not found in this scope