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: cannot find type in this scope: `EVM.Bridge`
--> 7c2606b22a96b82396b15df24ec374b0ae9a9252d1b8121a5709eb960c28731c:27:18
|
27 | let coa: auth(EVM.Bridge) &EVM.CadenceOwnedAccount
| ^^^^^^^^^^ not found in this scope
error: cannot find type in this scope: `EVM.Bridge`
--> 7c2606b22a96b82396b15df24ec374b0ae9a9252d1b8121a5709eb960c28731c:34:46
|
34 | self.coa = signer.storage.borrow<auth(EVM.Bridge) &EVM.CadenceOwnedAccount>(from: /storage/evm)
| ^^^^^^^^^^ not found in this scope
error: mismatched types
--> 7c2606b22a96b82396b15df24ec374b0ae9a9252d1b8121a5709eb960c28731c:34:19
|
34 | self.coa = signer.storage.borrow<auth(EVM.Bridge) &EVM.CadenceOwnedAccount>(from: /storage/evm)
35 | ?? panic("Could not borrow COA from provided gateway address")
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `auth(t.7c2606b22a96b82396b15df24ec374b0ae9a9252d1b8121a5709eb960c28731c.EVM)&A.b6763b4399a888c8.EVM.CadenceOwnedAccount`, got `auth(t.7c2606b22a96b82396b15df24ec374b0ae9a9252d1b8121a5709eb960c28731c.EVM)&A.b6763b4399a888c8.EVM.CadenceOwnedAccount`
error: value of type `auth(EVM) &EVM.CadenceOwnedAccount` has no member `depositNFT`
--> 7c2606b22a96b82396b15df24ec374b0ae9a9252d1b8121a5709eb960c28731c:81:17
|
81 | self.coa.depositNFT(
| ^^^^^^^^^^ unknown member