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
To support epoch-based nullifier scheme, we need to verify a mapping between nullifier and an epoch index as described in 0xPolygonMiden/miden-vm#356 (comment). This will require the following changes:
Compute the nullifier commitment as a sequential hash of (nullifier, script_root, epoch_index) tuples (vs. current (nullifier, script_root).
In the prologue, compute epoch index for each nullifier. Epoch index can be computed based on the block number in which the note was create - but we still need to figure out the exact parameters.
Verify that the computed epoch index is greater than or equal to the epoch index provided via the nullifier commitment.
The text was updated successfully, but these errors were encountered:
I think we should mention the epoch-based nullifier in the docs as technical people would wonder how we are planning to deal with nullifier DB growth (which would be a real problem for a high TPS system). So, basically, we may hold off on implementing this, but the docs should probably describe the approach (and we can say that initially, we'll have a simplified version of this).
daedlock
pushed a commit
to keomprotocol/miden-base
that referenced
this issue
Feb 8, 2024
To support epoch-based nullifier scheme, we need to verify a mapping between nullifier and an epoch index as described in 0xPolygonMiden/miden-vm#356 (comment). This will require the following changes:
(nullifier, script_root, epoch_index)
tuples (vs. current(nullifier, script_root)
.The text was updated successfully, but these errors were encountered: