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

Unable to evaluate predicate on Stacks chainstate: unable to retrieve block 157949 #625

Closed
Rapha-btc opened this issue Jul 17, 2024 · 7 comments

Comments

@Rapha-btc
Copy link

Describe the bug
Error message: Unable to evaluate predicate on Stacks chainstate: unable to retrieve block 157949

Transaction ID
Address
Block# 157949
Time stamp

To Reproduce
Check print screen of the chain hook params.
Screenshot 2024-07-17 at 12 49 44 PM

Params inside the screen but not visible:
Screenshot 2024-07-17 at 4 09 07 PM

SPP3HM2E4JXGT26G1QRWQ2YTR5WT040S5NKXZYFC.stx-ft-swap
https://backend-neon-ecru.vercel.app/api/chainhook/create-swap

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
image

@Rapha-btc
Copy link
Author

Rapha-btc commented Jul 17, 2024

Screenshot 2024-07-17 at 5 17 18 PM Screenshot 2024-07-17 at 5 17 29 PM Same issue with this one:

SPP3HM2E4JXGT26G1QRWQ2YTR5WT040S5NKXZYFC.sub100neon-invader
https://backend-neon-ecru.vercel.app/api/chainhook/neon-sub100inv

@Rapha-btc
Copy link
Author

This time I'm fetching a print event above. It returns the same error message. Please kindly advise. Thank you in advance.

@rafaelcr
Copy link
Collaborator

I think this could also be related to the TSV errors we've seen in other places @csgui , we should take a look at that mechanism asap

@rafaelcr rafaelcr moved this from 🆕 New to 📋 Backlog in DevTools Jul 18, 2024
@rafaelcr rafaelcr moved this from 📋 Backlog to 🆕 New in DevTools Jul 18, 2024
@csgui
Copy link
Contributor

csgui commented Jul 19, 2024

@rafaelcr Yes, this could be due to the corrupted TSV files we identified earlier.

One thing that can be done is switch all traffic to blue while we tackle this issue. If I'm not wrong it seems consistent.

@Rapha-btc
Copy link
Author

Thanks for the support, fellows. Hopefully this helps improve Chainhook overall. It's shaping up to be a game-changer for Stacks, and Hiro offering it as a service is huge for builders!

@Rapha-btc
Copy link
Author

Is there anything I can do on my side to test or help with this issue? Thank you.

@Rapha-btc
Copy link
Author

Issue resolved! Thanks for your support. Not sure if it was fixed on your end or if my database redeployment did the trick, but either way, thanks!
Screenshot 2024-07-21 at 5 34 52 PM

@github-project-automation github-project-automation bot moved this from 🆕 New to ✅ Done in DevTools Jul 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

3 participants