smartcontractkit / chainlink-automation-templates

Real-world sample projects using Chainlink Automation
https://automation.chainlink-demo.app
35 stars 14 forks source link

fix: reveal info use checkUpkeep #83

Closed ivaylonikolov7 closed 2 years ago

ivaylonikolov7 commented 2 years ago

Use checkUpkeep so RevealInfo's text is switched to Pending instantly instead of waiting for the keeper to update state variable

possible bug(?) : Sometimes the screen was flashing for a couple of frames and it changed some of the NFT's pictures to their unrevealed picture. This behavior was only possible when I was connected to metamask. When I was in incognito mode I couldn't repeat this behavior.

It could be something on my end.

vercel[bot] commented 2 years ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
batch-nft-app ✅ Ready (Inspect) Visit Preview Aug 31, 2022 at 11:58AM (UTC)
imollov commented 2 years ago

Using checkUpkeep is a workaround.