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 TransactionProver #175

Merged
merged 1 commit into from
Jul 31, 2023
Merged

feat: add TransactionProver #175

merged 1 commit into from
Jul 31, 2023

Conversation

frisitano
Copy link
Contributor

No description provided.

@frisitano frisitano requested a review from bobbinth July 28, 2023 14:22
Base automatically changed from frisitano-kernel-lib-and-context-switch to main July 28, 2023 16:11

impl From<NoteStub> for NoteEnvelope {
fn from(note_stub: NoteStub) -> Self {
Self::new(note_stub.hash(), *note_stub.metadata())
Copy link
Contributor Author

Choose a reason for hiding this comment

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

NoteStub contains a NoteEnvelope field. Maybe we should use this instead of accessing .has() and .metadata()

Copy link
Contributor

Choose a reason for hiding this comment

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

Yep, I think this should work.

.map_err(TransactionProverError::ProveTransactionProgramFailed)?;

// extract transaction outputs and process transaction data
// extract transaction outputs and process transaction data
Copy link
Contributor Author

Choose a reason for hiding this comment

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

duplicate

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 non-blocking questions/comments inline.

objects/src/transaction/proven_tx.rs Show resolved Hide resolved
objects/src/transaction/consumed_notes.rs Outdated Show resolved Hide resolved
miden-tx/src/prover/mod.rs Outdated Show resolved Hide resolved
@frisitano frisitano merged commit 504065c into main Jul 31, 2023
6 checks passed
@frisitano frisitano deleted the frisitano-miden-tx-prover branch July 31, 2023 09:17
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.

2 participants