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 genesis hash check to ibp-geodns #5

Open
hitchhooker opened this issue Oct 15, 2024 · 0 comments
Open

add genesis hash check to ibp-geodns #5

hitchhooker opened this issue Oct 15, 2024 · 0 comments

Comments

@hitchhooker
Copy link

one or more members had wrong chainspec in paseo rpc endpoints since the paseo regenesis, causing outdated novasama metadata on paseo. our monitoring missed it. most likely github runner for novasama (generates qr codes from metadata) kept making wrong qr codes because it close geolocation to luckyfriday's node.

fix:

  • add genesis hash to services.json for each network
  • make geodns check genesis hash when querying nodes(query chain_getBlockHash)
  • kick out nodes with wrong genesis from rotation

logs && script used for spotting:
https://gist.githubusercontent.com/hitchhooker/d18e6f0cb490c2447f01703ecbd7ad14/raw/4f083994f1ee250df66916c0618df60a034729dc/postmortem

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

1 participant