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: import committed notes from older blocks that current #472

Merged
merged 18 commits into from
Aug 16, 2024

Conversation

SantiagoPittella
Copy link
Collaborator

@SantiagoPittella SantiagoPittella commented Aug 7, 2024

Follows up #405

### Do not merge until 0xPolygonMiden/miden-base#823 is merged.

This PR adds support for committed notes from "the past" (in the client's perspective).

TO DOs:

@SantiagoPittella SantiagoPittella self-assigned this Aug 7, 2024
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.

Leaving some comments for now, did not fully review all the logic but it's looking good for now!

bin/miden-cli/src/commands/export.rs Outdated Show resolved Hide resolved
bin/miden-cli/src/commands/export.rs Outdated Show resolved Hide resolved
crates/rust-client/src/notes/mod.rs Outdated Show resolved Hide resolved
crates/web-client/src/export.rs Outdated Show resolved Hide resolved
tests/integration/main.rs Outdated Show resolved Hide resolved
@SantiagoPittella SantiagoPittella force-pushed the import-past-commited-notes branch from cb04529 to d6fc884 Compare August 13, 2024 18:37
crates/rust-client/src/notes/mod.rs Outdated Show resolved Hide resolved
crates/rust-client/src/notes/mod.rs Outdated Show resolved Hide resolved
crates/rust-client/src/notes/mod.rs Outdated Show resolved Hide resolved
crates/rust-client/src/notes/mod.rs Outdated Show resolved Hide resolved
crates/rust-client/src/notes/mod.rs Outdated Show resolved Hide resolved
crates/rust-client/src/notes/mod.rs Show resolved Hide resolved
crates/rust-client/src/notes/mod.rs Outdated Show resolved Hide resolved
crates/rust-client/src/notes/mod.rs Outdated Show resolved Hide resolved
@SantiagoPittella SantiagoPittella force-pushed the import-past-commited-notes branch from f2db2f1 to baa789e Compare August 14, 2024 22:02
Copy link
Collaborator

@tomyrd tomyrd left a comment

Choose a reason for hiding this comment

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

LGTM! Tested on my machine and it works correctly. I left a couple of small comments

crates/rust-client/src/notes/mod.rs Outdated Show resolved Hide resolved
tests/integration/main.rs Outdated Show resolved Hide resolved
@SantiagoPittella SantiagoPittella force-pushed the import-past-commited-notes branch from a27e5be to ceb8960 Compare August 16, 2024 16:05
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! I think we can merge this once the integration test failure is reviewed and fixed and then continue with #449

@igamigo igamigo merged commit 43f982b into next Aug 16, 2024
13 checks passed
@igamigo igamigo deleted the import-past-commited-notes branch August 16, 2024 19:11
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