Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants