[Error Code: 1101] error caused by: 1 error occurred: * transaction preprocess failed: [Error Code: 1101] cadence runtime error: Execution failed: error: cannot find declaration `CapabilityFactory` in `96606f26aa36af9d.CapabilityFactory` --> f0ae9cf6c400f1e66c443fb17aa85ef78624095bb60091ffbff1d482f3fa21e6:4:7 | 4 | import CapabilityFactory from 0x96606f26aa36af9d | ^^^^^^^^^^^^^^^^^ available exported declarations are: error: cannot infer type parameter: `T` --> f0ae9cf6c400f1e66c443fb17aa85ef78624095bb60091ffbff1d482f3fa21e6:14:22 | 14 | let factory = getAccount(factoryAddress).capabilities.get<&CapabilityFactory.Manager>(CapabilityFactory.PublicPath) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: cannot infer type parameter: `T` --> f0ae9cf6c400f1e66c443fb17aa85ef78624095bb60091ffbff1d482f3fa21e6:15:15 | 15 | assert(factory.check(), message: "factory address is not configured properly") | ^^^^^^^^^^^^^^^ error: mismatched types --> f0ae9cf6c400f1e66c443fb17aa85ef78624095bb60091ffbff1d482f3fa21e6:20:62 | 20 | owned.publishToParent(parentAddress: parent, factory: factory, filter: filter) | ^^^^^^^ expected `Capability<&CapabilityFactory.Manager>`, got `Capability`
Loading...
Loading...
Loading...
Happy diving into the flow Remember to upgrade your contracts to 1.0!