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

Fix code and codehash indexing #90

Closed
2 of 4 tasks
i-norden opened this issue Jul 1, 2021 · 1 comment
Closed
2 of 4 tasks

Fix code and codehash indexing #90

i-norden opened this issue Jul 1, 2021 · 1 comment

Comments

@i-norden
Copy link
Collaborator

i-norden commented Jul 1, 2021

Currently writing the tx_data for deployment txs as the codebytes, this is not producing the correct code hashes. There must be some processing step on the tx_data before it is stored as codebytes.

  • Create http endpoint for statediffing geth to fetch all codehash => code pairs

  • Modify the statediffing service to emit/write codehash => code pairs for any deployment txs at the payload's block height

  • Script/command to fetch missing historical from the http endpoints

  • Script/command to remove malformed entries (optional)

@i-norden
Copy link
Collaborator Author

We aren't going to worry about a script/process to repair missing code and codehashs, we are just resyncing completely: https://github.com/vulcanize/ops/issues/76

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