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

Add configuration to skip certain transactions #88

Merged
merged 3 commits into from
Dec 26, 2023
Merged

Conversation

pshenmic
Copy link
Owner

Issue

Dash Platform testnet contains duplicated transactions due bug in the protocol, in other words two different blocks contains transactions with the same hash. That leads to the crash in the indexer, because PostgreSQL does not allow to save that info in the database due constraints. The platform chain should be reset in the near future, but as for now, the error transaction is still in chain and there should be an option to skip that stuff.

Things done

  • Added a TXS_TO_SKIP env variable in the indexer module
  • Upgraded DashSDK to v0.25.20 in the API module

@pshenmic pshenmic self-assigned this Dec 26, 2023
Copy link

vercel bot commented Dec 26, 2023

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

Name Status Preview Updated (UTC)
platform-explorer ✅ Ready (Inspect) Visit Preview Dec 26, 2023 2:50pm

@pshenmic pshenmic added the indexer Related to indexer module label Dec 26, 2023
@pshenmic pshenmic merged commit 536a2a5 into master Dec 26, 2023
2 checks passed
@pshenmic pshenmic deleted the feat/skip-tx branch December 26, 2023 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
indexer Related to indexer module
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant