Skip to content

Commit

Permalink
fix: fix null protocol version error (#2094)
Browse files Browse the repository at this point in the history
## What ❔

Don't return results with NULL protocol version from DB.

## Why ❔

It's incorrect

## Checklist

<!-- Check your PR fulfills the following items. -->
<!-- For draft PRs check the boxes as you complete them. -->

- [x] PR title corresponds to the body of PR (we generate changelog
entries from PRs).
- [x] Tests for the changes have been added / updated.
- [x] Documentation comments have been added / updated.
- [x] Code has been formatted via `zk fmt` and `zk lint`.
- [x] Spellcheck has been run via `zk spellcheck`.
  • Loading branch information
Artemka374 authored May 30, 2024
1 parent 3984dcf commit aab3a7f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions prover/prover_dal/src/fri_proof_compressor_dal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,8 @@ impl FriProofCompressorDal<'_, '_> {
) AS in_progress
FROM
proof_compression_jobs_fri
WHERE
protocol_version IS NOT NULL
GROUP BY
status,
protocol_version
Expand Down

0 comments on commit aab3a7f

Please sign in to comment.