Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction preprocess failed: [Error Code: 1101] cadence runtime error: Execution failed:
error: error getting program b6763b4399a888c8.EVM: failed to derive value: load program failed: Checking failed:
error: mismatched types
--> b6763b4399a888c8.EVM:300:37
--> b6763b4399a888c8.EVM
error: cannot find variable in this scope: `EVM`
--> 7b61290aa4f62d3a01eb77e3d30d62f7183a6de486173f412f1651fb8d149545:21:19
|
21 | let coa <- EVM.createCadenceOwnedAccount()
| ^^^ not found in this scope
error: cannot find type in this scope: `EVM`
--> 7b61290aa4f62d3a01eb77e3d30d62f7183a6de486173f412f1651fb8d149545:27:32
|
27 | self.auth.storage.save<@EVM.CadenceOwnedAccount>(<-coa, to: storagePath)
| ^^^ not found in this scope
error: cannot find type in this scope: `EVM`
--> 7b61290aa4f62d3a01eb77e3d30d62f7183a6de486173f412f1651fb8d149545:28:67
|
28 | let addressableCap = self.auth.capabilities.storage.issue<&EVM.CadenceOwnedAccount>(storagePath)
| ^^^ not found in this scope
error: cannot infer type parameter: `T`
--> 7b61290aa4f62d3a01eb77e3d30d62f7183a6de486173f412f1651fb8d149545:28:29
|
28 | let addressableCap = self.auth.capabilities.storage.issue<&EVM.CadenceOwnedAccount>(storagePath)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^