anoma / anoma

Reference implementation of Anoma
https://anoma.net
MIT License
441 stars 177 forks source link

Bug: nullifiers are not fully checked in cairo RM #1291

Open XuyangSong opened 1 month ago

XuyangSong commented 1 month ago

customer: performer: deadline: estimated: started: actual: completed: confirmed: dependencies:

The resource can be double-spent in one transaction, although the nullifier doesn't exist in the nullifier set. We need to add a check to prevent duplicate nullifiers in one transaction.
Acentelles commented 3 weeks ago

For @XuyangSong to fix the bug and @CarloModicaPortfolio to write some tests