I am have deployed a smart contract on devnet and it the issue is that after making a few rpc calls from my react app I get the following error:
Error: failed to send transaction: Transaction simulation failed: Error processing Instruction 0: Program failed to complete
at Connection.sendEncodedTransaction (connection.ts:4934:1)
at async Connection.sendRawTransaction (connection.ts:4893:1)
at async sendAndConfirmRawTransaction (send-and-confirm-raw-transaction.ts:74:1)
at async w.send (provider.ts:124:1)
at async Object.mint (rpc.ts:26:1)
at async mintNFT (utils.js:955:1)
at async _mintNFT (App.js:373:1)
What could be a possible solution to this? I am making a number of calls to my smart contracts and this is making test really difficult.