Skip to content

fix: Rejecting txs with duplicate nullifiers#17176

Merged
spalladino merged 1 commit intonextfrom
palla/fix-dup-nullifiers
Sep 22, 2025
Merged

fix: Rejecting txs with duplicate nullifiers#17176
spalladino merged 1 commit intonextfrom
palla/fix-dup-nullifiers

Conversation

@spalladino
Copy link
Contributor

Fixes a bug in the DoubleSpendValidator where txs that contained duplicate nullifiers were not being caught (Set of non-primitive types strikes again).

Also updates the public-processor so it always throws when it stumbles upon a tx with duplicate nullifiers from private-land, and fixes the e2e_event_logs test that caused this due to an incorrect setup (it was calling ensureAccountContractsPublished with the same address twice, which resulted in duplicate requests in a BatchCall).

@spalladino spalladino force-pushed the palla/fix-dup-nullifiers branch from 48f03a7 to d959139 Compare September 19, 2025 22:05
@PhilWindle PhilWindle added this pull request to the merge queue Sep 20, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 20, 2025
@PhilWindle PhilWindle added this pull request to the merge queue Sep 20, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 20, 2025
@spalladino spalladino added this pull request to the merge queue Sep 22, 2025
Merged via the queue into next with commit 6d45a1b Sep 22, 2025
14 checks passed
@spalladino spalladino deleted the palla/fix-dup-nullifiers branch September 22, 2025 14:26
PhilWindle added a commit that referenced this pull request Sep 29, 2025
This PR is a backport of the following into V2.

#17169
#17176 
#17186 
#17178 
#17177
#17130
#17039 
#17230
#17245 
#17273
#17186
#17192
#17194 
#17225 
#17285 
#17312 
#17326

---------

Co-authored-by: Alex Gherghisan <alexghr@users.noreply.github.com>
Co-authored-by: Santiago Palladino <santiago@aztec-labs.com>
Co-authored-by: Santiago Palladino <spalladino@gmail.com>
Co-authored-by: alexghr <3816165+alexghr@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants