Skip to content

Commit

Permalink
fix(prover_dal): fix save_prover_protocol_version query (#2096)
Browse files Browse the repository at this point in the history
## What ❔

fixes on conflict statement

## Checklist

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

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

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

2 changes: 1 addition & 1 deletion prover/prover_dal/src/fri_protocol_versions_dal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ impl FriProtocolVersionsDal<'_, '_> {
)
VALUES
($1, $2, $3, $4, $5, NOW(), $6)
ON CONFLICT (id) DO NOTHING
ON CONFLICT (id, protocol_version_patch) DO NOTHING
"#,
id.minor as i32,
l1_verifier_config
Expand Down

0 comments on commit d8dd1ae

Please sign in to comment.