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

bug: Failed assertion in public fn leads to "Note encrypted logs hash mismatch" #6651

Open
spalladino opened this issue May 23, 2024 · 1 comment
Labels
T-bug Type: Bug. Something is broken.

Comments

@spalladino
Copy link
Collaborator

Test e2e_fees dapp_subscription › should reject after the sub runs out is failing with the following error:

"Note encrypted logs hash mismatch. Expected 0x0000000000000000000000000000000000000000000000000000000000000000, got 0x00d1b0898e6708686591b351231001662892c6ac3982c647a12cda9e31f33f75.
                 Processed: {\"functionLogs\":[]}"

However, it's expected for it to fail with a failed assertion:

Failed to solve brillig function '(context.block_number()) as u64 < expiry_block_number as u64

The mismatch is triggered because the logs being emitted by the kernel and by the public processor don't match. Given there was a revert, it seems that the kernel was smart enough to not emit the logs, but the public processor wasn't.

@spalladino spalladino added the T-bug Type: Bug. Something is broken. label May 23, 2024
@github-project-automation github-project-automation bot moved this to Todo in A3 May 23, 2024
@spalladino
Copy link
Collaborator Author

See also #4712

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-bug Type: Bug. Something is broken.
Projects
Status: Todo
Development

No branches or pull requests

1 participant