You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This means moving BatchId, OutputNoteTracker and miden_node_block_producer::batch_builder::batch::AccountUpdate to miden-base, but that doesn't seem like an issue. We might also need a copy of NoteAuthenticationInfo in miden-base, which is a type defined in a proto file in the node.
When is this task done?
When the above-mentioned types have been moved to miden-base.
Additional context
No response
The text was updated successfully, but these errors were encountered:
We may want to tract transactions as Vec<Arc<ProvenTransactions>> because cloning transactions may be expensive, and mempool in the node may not wan to transfer ownership of these transactions to the batch building.
We already have TxAccountUpdate and BlockAccountUpdate in miden-base - so, AccountUpdate may need to be BatchAccountUpdate. But I also wonder if there is a way to "normalize" these somehow to reduce the number of structs.
Also, and this may be a longer term goal, maybe there is a different way to track this info to retain more information about the transactions that went into the batch. Maybe something like:
What should be done?
As a first step for creating the batch kernel in miden-base, we can move the existing Rust parts of batch building from miden-node to miden-base.
How should it be done?
This would be
TransactionBatch
and some other types. As part of this, we could rename this toProvenBatch
. I have roughly this in mind:This means moving
BatchId
,OutputNoteTracker
andmiden_node_block_producer::batch_builder::batch::AccountUpdate
to miden-base, but that doesn't seem like an issue. We might also need a copy ofNoteAuthenticationInfo
in miden-base, which is a type defined in a proto file in the node.When is this task done?
When the above-mentioned types have been moved to miden-base.
Additional context
No response
The text was updated successfully, but these errors were encountered: