-
Notifications
You must be signed in to change notification settings - Fork 42
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
Conversation
2f5b99d
to
3d6e245
Compare
|
||
impl From<NoteStub> for NoteEnvelope { | ||
fn from(note_stub: NoteStub) -> Self { | ||
Self::new(note_stub.hash(), *note_stub.metadata()) |
There was a problem hiding this comment.
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()
There was a problem hiding this comment.
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.
miden-tx/src/prover/mod.rs
Outdated
.map_err(TransactionProverError::ProveTransactionProgramFailed)?; | ||
|
||
// extract transaction outputs and process transaction data | ||
// extract transaction outputs and process transaction data |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
duplicate
There was a problem hiding this 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.
3d6e245
to
f314325
Compare
No description provided.