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: return tx block height info (decoupled approach) #386

Merged
merged 9 commits into from
Jun 18, 2024

Conversation

mFragaBA
Copy link
Contributor

addresses #380

This is an alternative approach to #383

@mFragaBA mFragaBA mentioned this pull request Jun 13, 2024
2 tasks
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 a couple of small comments inline.

As mentioned in the issue, I think this is a better approach as additional code complexity is pretty low and the downsides of doing this vs. putting transactions into the AccountSummary are pretty small.

crates/proto/proto/responses.proto Outdated Show resolved Hide resolved
crates/proto/proto/responses.proto Outdated Show resolved Hide resolved
@bobbinth
Copy link
Contributor

Oh - and let's update the readme docs and the changelog.

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 a comment/question.

crates/proto/proto/responses.proto Outdated Show resolved Hide resolved
@mFragaBA mFragaBA force-pushed the mFragaBA-return-tx-and-nullifier-block-height-info branch 2 times, most recently from 0d98a50 to f232d23 Compare June 14, 2024 14:41
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 a few comments inline - mostly related to naming/docs.

Should we take this PR out of "draft" mode?

Also, let's update the changelog.

crates/store/src/server/api.rs Outdated Show resolved Hide resolved
crates/store/src/db/mod.rs Outdated Show resolved Hide resolved
crates/store/README.md Outdated Show resolved Hide resolved
crates/store/README.md Outdated Show resolved Hide resolved
crates/rpc/README.md Outdated Show resolved Hide resolved
@mFragaBA mFragaBA force-pushed the mFragaBA-return-tx-and-nullifier-block-height-info branch from 378167c to aa1a40b Compare June 18, 2024 16:36
@mFragaBA mFragaBA marked this pull request as ready for review June 18, 2024 16:42
@mFragaBA
Copy link
Contributor Author

I'll close the other PR (#383)

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.

All looks good! Thank you!

Do we have an issue in miden-client to make use of these changes?

@bobbinth bobbinth merged commit 460c0eb into next Jun 18, 2024
6 checks passed
@bobbinth bobbinth deleted the mFragaBA-return-tx-and-nullifier-block-height-info branch June 18, 2024 16:57
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