-
Notifications
You must be signed in to change notification settings - Fork 56
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
Include Full output notes in ExecutedTransaction #1049
Comments
Quick question: are you using a public or a private note as output? For public notes that you are creating, you should already be able to get the full note details out of the executor. |
@Dominik1999 Is it determined in the note script? If so, then I have |
Yes, that means the note is private. So you will only get partial information of the note out. I think @igamigo or someone of his team might be able to help you for this particular case. I understand that for the playground we need the full note information out. |
For a private note, you cannot get details on |
To clarify this a bit more:
I think the next question is how to compute a @Dominik1999 @gobsponge - maybe worth sketching a UI for this. |
Feature description
We are currently working on Miden Playground, and we have a requirement to display output notes after executing a transaction. At present, when we use the
TransactionExecutor
from themiden_tx
crate to execute a transaction with a SWAP note using theexecute_transaction
function, I find that there is a Partial Payback note in theoutput_notes
of theExecutedTransaction
.It would be preferable to have a Full output note in the
output_notes
of theExecutedTransaction
instead, as the Miden Playground needs to show complete information about each note.I have observed that in the Miden client, we construct an expected future payback note before executing a transaction. However, I believe this approach may not be suitable for Miden Playground. Users can modify notes (script, inputs, and assets), and as a result, we cannot definitively determine if a note remains a SWAP or becomes something else after user edits. Ideally, in our case we should build the payback output note after the transaction execution.
Could we explore implementing this improvement?
Why is this feature needed?
No response
The text was updated successfully, but these errors were encountered: