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