Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update escrow to use PrivateImmutable (#4942)
Working on #4940 I found that this contract uses `PrivateSet` (aka `Set`), when `PrivateImmutable` would actually be a much better fit. The escrow was reading set notes without nullifying them because it doesn't ever remove notes from the set (and hence all notes that were ever created are always valid). This can be very confusing for a beginner, and was a bad example to showcase. I also removed the docs decorators since we don't ever reference them.
- Loading branch information