-
Notifications
You must be signed in to change notification settings - Fork 645
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
Investigate zombienet-polkadot-functional-0003-beefy-and-mmr
test failure
#4309
Comments
Ran it a lot of times locally and it didn't reproduce. Also doesn't seem to reproduce in the CI. I will close the issue for the moment. |
I have an idea about what might have caused the failure: Copying the error here in case the zombienet log is deleted
The test code:
If a new block is generated between these 2 lines:
we will try to verify a proof for the previous block with the mmr root at the current block. Which will fail. |
Fixes #4309 If a new block is generated between these 2 lines: ``` const proof = await apis[nodeName].rpc.mmr.generateProof([1, 9, 20]); const root = await apis[nodeName].rpc.mmr.root() ``` we will try to verify a proof for the previous block with the mmr root at the current block. Which will fail. So we generate the proof and get the mmr root at block 21 for consistency.
https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/6059252
The text was updated successfully, but these errors were encountered: