-
Notifications
You must be signed in to change notification settings - Fork 547
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
Do comparison in ocaml instead of dump the result and then run diff on it #15479
Do comparison in ocaml instead of dump the result and then run diff on it #15479
Conversation
!ci-build-me |
!ci-build-me |
…-db-without-superuser
…ol/mina into fix/dump-db-without-superuser
!ci-build-me |
1 similar comment
!ci-build-me |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM except: if the diff does fail, haven't we completely lost the ability to see why it failed?
Writing out something to a file is very helpful for this verifier for when it goes wrong, JSON for the lists would be just as good |
3f82ad7
to
c7ea251
Compare
!ci-build-me |
!ci-build-me |
!approved-for-mainnet |
I'm curious why this is okay? And is this just because devnet, or would this be okay on mainnet too? |
@jrwashburn the first test run seems to be using a DB instance that was incorrectly migrated. @ghost-not-in-the-shell can you confirm? |
Okay so is there a build that I can run now? I'd like to get at least an incremental that checks out okay if possible. Sorry, I'm not sure where to find the artifacts. |
I tried an incremental run with the unstable build, but I'm getting the same discrepancy reported:
|
When I read the error message |
Explain your changes:
This PR modifies the verifier so that it directly does the comparison in ocaml instead of dump the result and then run
diff
on it. This change would make the verifier a little bit slower (not too bad). For mainnet, it increased about 30 secs.Explain how you tested your changes:
I've run the verifier against the devnet data using this dump: gs://mina-archive-dumps/devnet-archive-migrated-2024-03-22_2050.sql.tar.gz and everything is good
I've also run the verifier against the mainnet using the following 2 dumps:
And I got the same failing result with the latest berkeley verifier.
Checklist: