Repository navigation
fix(discovery-core): handle open notes properly - #588
Merged
Merged
Conversation
This was referenced Feb 27, 2026
Author
This stack of pull requests is managed by Graphite. Learn more about stacking. |
m-kus
force-pushed
the
02-27-fix_discovery-core_handle_open_notes_properly
branch
2 times, most recently
from
March 1, 2026 17:28
9c1140e to
4cb895b
Compare
m-kus
force-pushed
the
02-26-chore_discovery-service_adjust_default_config
branch
2 times, most recently
from
March 2, 2026 09:47
5030cc7 to
60694d6
Compare
m-kus
force-pushed
the
02-27-fix_discovery-core_handle_open_notes_properly
branch
from
March 2, 2026 09:47
4cb895b to
c4d9a31
Compare
Yoni-Starkware
approved these changes
Mar 2, 2026
Yoni-Starkware
left a comment
Collaborator
There was a problem hiding this comment.
@Yoni-Starkware reviewed 3 files and all commit messages, and made 1 comment.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on m-kus).
m-kus
force-pushed
the
02-26-chore_discovery-service_adjust_default_config
branch
from
March 2, 2026 15:38
60694d6 to
b44d88c
Compare
m-kus
force-pushed
the
02-27-fix_discovery-core_handle_open_notes_properly
branch
from
March 2, 2026 15:38
c4d9a31 to
2f09c38
Compare
m-kus
marked this pull request as ready for review
March 2, 2026 15:41
m-kus
changed the base branch from
02-26-chore_discovery-service_adjust_default_config
to
graphite-base/588
March 2, 2026 15:52
m-kus
force-pushed
the
02-27-fix_discovery-core_handle_open_notes_properly
branch
from
March 2, 2026 16:02
2f09c38 to
6c5baec
Compare
m-kus
force-pushed
the
02-27-fix_discovery-core_handle_open_notes_properly
branch
from
March 2, 2026 16:07
6c5baec to
eaedc3b
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

TL;DR
Added support for open notes by introducing an
is_openfield toDecryptedNoteand implementing plaintext amount handling for notes with salt value 1.What changed?
is_openboolean field to theDecryptedNotestruct to indicate whether a note stores its amount in plaintextOPEN_NOTE_SALTconstant and modifieddecrypt_note()function to check if salt equals 1 (open note)OPEN_NOTE_SALTconstant with value 1 in the decryption moduleThis change is