CODE_ERROR
There is an error in the cadence code of this transaction.
[Error Code: 1101] error caused by: 1 error occurred: * transaction preprocess failed: [Error Code: 1101] cadence runtime error: Execution failed: error: cannot access `issue`: function requires `Capabilities | StorageCapabilities | IssueStorageCapabilityController` authorization, but reference only has `SaveValue, LoadValue, CopyValue, BorrowValue, Storage` authorization --> a5c82e57dfa6e568dba4d20bd9ad981d160c6bae49a11be12d1e54181e3e66f5:18:23 | 18 | let vaultCap = signer.capabilities.storage.issue<&BloctoToken.Vault>( | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: cannot access `publish`: function requires `Capabilities | PublishCapability` authorization, but reference only has `SaveValue, LoadValue, CopyValue, BorrowValue, Storage` authorization --> a5c82e57dfa6e568dba4d20bd9ad981d160c6bae49a11be12d1e54181e3e66f5:21:8 | 21 | signer.capabilities.publish(vaultCap, at: vaultData.metadataPath) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: cannot access `issue`: function requires `Capabilities | StorageCapabilities | IssueStorageCapabilityController` authorization, but reference only has `SaveValue, LoadValue, CopyValue, BorrowValue, Storage` authorization --> a5c82e57dfa6e568dba4d20bd9ad981d160c6bae49a11be12d1e54181e3e66f5:23:26 | 23 | let receiverCap = signer.capabilities.storage.issue<&BloctoToken.Vault>( | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: cannot access `publish`: function requires `Capabilities | PublishCapability` authorization, but reference only has `SaveValue, LoadValue, CopyValue, BorrowValue, Storage` authorization --> a5c82e57dfa6e568dba4d20bd9ad981d160c6bae49a11be12d1e54181e3e66f5:26:8 | 26 | signer.capabilities.publish(receiverCap, at: vaultData.receiverPath) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^Loading...