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

Exit with error on block with unsupported consensus version #14

Closed
3 tasks
winder opened this issue Mar 15, 2023 · 0 comments
Closed
3 tasks

Exit with error on block with unsupported consensus version #14

winder opened this issue Mar 15, 2023 · 0 comments

Comments

@winder
Copy link
Contributor

winder commented Mar 15, 2023

Problem

Conduit should halt with an error if it detects an unsupported consensus version.

Solution

  • Add protocol/consensus.go and protocol/config/config.go to the go SDK.
  • Remove them from indexer and switch to the go SDK
  • Use them in Conduit to check for an error after calling GetBlock.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants
@winder @tzaffi and others