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

Investigate origin and severity of ExternalizedNHMismatch error #382

Closed
ebma opened this issue Jul 24, 2023 · 8 comments · Fixed by #384
Closed

Investigate origin and severity of ExternalizedNHMismatch error #382

ebma opened this issue Jul 24, 2023 · 8 comments · Fixed by #384
Assignees
Labels
priority:high Do it now type:bug Something isn't working unexpected

Comments

@ebma
Copy link
Member

ebma commented Jul 24, 2023

Some parts of our integration tests started failing quite frequently with the following error:

thread 'test_execute_open_requests_succeeds' panicked at 'Failed to execute issue: SubxtRuntimeError(Runtime(Module(ModuleError { pallet: "StellarRelay", error: "ExternalizedNHMismatch", description: [], error_data: ModuleErrorData { pallet_index: 10, error: [7, 0, 0, 0] } })))', clients/vault/tests/vault_integration_tests.rs:134:10

see eg, this and this CI job.
Since it's not always the same test function that fails, we can assume that this error only happens occasionally.

However, we should try to identify how likely this error occurs and why. It might be that the underlying problem is quite severe and we should make sure that the vault is able to successfully provide proof for an issue/redeem request to the stellar-relay pallet all the time, now that we fixed the archive problem.

@ebma ebma added the type:bug Something isn't working label Jul 24, 2023
@ebma
Copy link
Member Author

ebma commented Jul 24, 2023

@pendulum-chain/product I created this bug ticket and assigned it to an epic. Let me know if you have questions and need more context. Feel free to assign people to the planning poker.

@annatekl
Copy link

Hey team! Please add your planning poker estimate with Zenhub @ashneverdawn @ebma @TorstenStueber

@ebma
Copy link
Member Author

ebma commented Jul 26, 2023

Please add your planning poker estimate with Zenhub @b-yap

@TorstenStueber
Copy link
Contributor

Any clue what ExternalizedNHMismatch means? Has it something to do with externalize messages?

@ebma
Copy link
Member Author

ebma commented Jul 27, 2023

IIRC the error is thrown if not all messages that we use in the proof are using the same n.h value.

@TorstenStueber
Copy link
Contributor

Oh, that is unexpected. I would like to see such an example where this assumption does not hold (for whoever picks up this ticket).

@ebma
Copy link
Member Author

ebma commented Aug 7, 2023

@pendulum-chain/product investigating this problem is very important and should have a very high priority in the backlog.

@prayagd
Copy link
Collaborator

prayagd commented Aug 7, 2023

@ebma Sure, moved it to the ready column on the top

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority:high Do it now type:bug Something isn't working unexpected
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants