Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add after_block_num field to NoteFile::NoteDetails #823

Merged
merged 4 commits into from
Aug 9, 2024

Conversation

SantiagoPittella
Copy link
Collaborator

As described by @bobbinth in his comment on the note importing issue, a new field that kept track of a possible block number where a note was committed was needed. With this change we don't need to sync a note from block 0 and now have a lower bound.

Copy link
Collaborator

@igamigo igamigo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Left just one minor comment

Comment on lines 13 to 15
/// The note has not yet been recorded on chain.
///
/// An optional tag is included for note tracking.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should add to this doc comment explaining the new field

Copy link
Contributor

@bobbinth bobbinth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Thank you! I left one small comment inline.

objects/src/notes/file.rs Outdated Show resolved Hide resolved
@SantiagoPittella SantiagoPittella merged commit 52522d3 into next Aug 9, 2024
13 checks passed
@SantiagoPittella SantiagoPittella deleted the add-field-to-note-details branch August 9, 2024 19:38
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.

3 participants