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

error when loading page #5

Open
kajvans opened this issue Feb 12, 2022 · 1 comment
Open

error when loading page #5

kajvans opened this issue Feb 12, 2022 · 1 comment

Comments

@kajvans
Copy link

kajvans commented Feb 12, 2022

when i try to load the page i get this error: index.ts:225 Uncaught (in promise) Error: call revert exception (method="count()", errorArgs=null, errorName=null, errorSignature=null, reason=null, code=CALL_EXCEPTION, version=abi/5.5.0) and this one
Uncaught (in promise) Error: call revert exception (method="isContentOwned(string)", errorArgs=null, errorName=null, errorSignature=null, reason=null, code=CALL_EXCEPTION, version=abi/5.5.0)

i dont know how to fix this and also dont know what the causes the problem

@LuwkasLima
Copy link

@kajvan I had the same issue. In summary, what happened in my case was that I reinitiated my local blockchain instance (waffle - "npx hardhat node") and forgot to re-deploy the smart contract ("npx hardhat run scripts/deploy.js --network localhost"), so the method "isContentOwned()" wasn't available as the contract wasn't deployed obviously.

After I re-deployed, the issue was solved and the NFT was minted and showed up as taken.

Hope this helps.

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