loopcreativeandy / video-tutorial-resources

MIT License
48 stars 65 forks source link

Latest metadata update script throwing error #4

Open inventionsbyhamid opened 10 months ago

inventionsbyhamid commented 10 months ago

Hi, I tried to use the metadata update script mpl_metadata.ts but it's throwing the following error.

SendTransactionError: failed to send transaction: Transaction simulation failed: Error processing Instruction 0: Program failed to complete

 logs: [
    'Program metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s invoke [1]',
    'Program log: IX: Create Metadata Accounts v3',
    'Program 11111111111111111111111111111111 invoke [2]',
    'Program 11111111111111111111111111111111 success',
    "Program log: panicked at 'range end index 36 out of range for slice of length 0', src/token/utils.rs:50:27",
    'Program metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s consumed 11344 of 200000 compute units',
    'Program metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s failed: SBF program panicked'
  ]

I changed to use my token address which was created using the same wallet, mint authority is the same wallet. If anyone can guide me or point me what could be the issue it would be great.

inventionsbyhamid commented 10 months ago

Also found this on stackoverflow , looks like someone else also facing the same issue -> https://stackoverflow.com/questions/77724505/error-during-metadata-creation-send-transaction-error-failed-to-send-transacti