-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Disallow non null updates for transactions (#1951)
## What ❔ Add check to `set_tx_id` query, that doesn't allow to update tx_id if it is not NULL. ## Why ❔ To prevent issues when 1 batch can be commited 2 times. ## 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
1 parent
b62677e
commit a603ac8
Showing
6 changed files
with
317 additions
and
46 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
...ca08324bc86a72e4ea85c9c7962a6c8c9e30.json → ...18daf76a5f283e4298fd12022b0c3db07319.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
...aa4239d3a8be71b47178b4b8fb11fe898b31.json → ...64174f39e6011fdfdc56490397ce90233055.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
...81d82925556a4801f678b8786235d525d784.json → ...779128de288484abea33d338c3304dd66e08.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.