Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

Problem running generate-character.js #14

Open
massouji82 opened this issue Oct 13, 2021 · 1 comment
Open

Problem running generate-character.js #14

massouji82 opened this issue Oct 13, 2021 · 1 comment

Comments

@massouji82
Copy link

massouji82 commented Oct 13, 2021

I managed to fund the contract but when I try to run the generate-character script truffle exec scripts/generate-character.js --network rinkeby I get this error:

const tx = await dnd.requestNewRandomCharacter("The Chainlink Knight")

StatusError: Transaction: 0xXXXXX exited with an error (status 0). 
    at module.exports (dungeons-and-dragons-nft/scripts/generate-character.js:6:24)
    at processTicksAndRejections (node:internal/process/task_queues:94:5)

The console output seems to indicate that there is an issue with the requestNewRandomCharacter method but to the best of my knowledge it is called correctly. Any support will be much appreciated!

@PatrickAlphaC
Copy link
Owner

Thanks for making this issue!

I'm not sure actually... perhaps this might be a truffle issue? I'm not sure what status 0 error is...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants