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

confusing block numeration on names of merged-block files #63

Closed
ThomasBlock opened this issue May 16, 2023 · 1 comment
Closed

confusing block numeration on names of merged-block files #63

ThomasBlock opened this issue May 16, 2023 · 1 comment

Comments

@ThomasBlock
Copy link

ThomasBlock commented May 16, 2023

i had a broken merged-block file. was not easy to spot as the numeration was not clear. here my observations: ( matic )

fireeth will crash with this error:
index builder exited {"error": "processing of file \"0004933300\" failed: error processing incoming file: failed reading next dbin message: corrupt stream, did not find end of stream"}

then i can scan:

fireeth tools check merged-blocks /merged-blocks -r 4933300:4933399    
Summary:
> 🆗 No hole found

but going further see:

fireeth tools check merged-blocks /merged-blocks -r 4933300:4933600 -s
...
Block #4933499 (0fab663c4a0ebf45e664e693ee6418d1e68cfdb5cc4540c3d4879fe627a37c51) 201 transactions, 1005 calls

2023-05-16T08:41:25.636+0200 INFO (dtracing) registering development exporters from environment variables
panic: unable to decode block #4933500 (91c4abc9fd9da55554dcd7d5e94e498835850b9b7c6d1f42bc07c21f8f884cca) payload (kind: ETH, version: 3, size: 1332588, sha256: c77cda5e09bbdacf61e19343710e15507674b899ae405db0c060e657488ee9c9): unable to decode payload: proto:<C2><A0>cannot parse invalid wire-format data

-> file 0004933500 was broken. restoring from backup helped

so somebody seeing the error "processing of file 0004933300 failed" has to make the mental transfer, to check the file TWO files after the file, here 0004933500

@ThomasBlock ThomasBlock changed the title confusing block numeration on confusing block numeration on names of merged-files May 16, 2023
@ThomasBlock ThomasBlock changed the title confusing block numeration on names of merged-files confusing block numeration on names of merged-block files May 16, 2023
@ThomasBlock
Copy link
Author

found other error, better numeration
maybe not really relevant

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