0xPolygonMiden / miden-vm

STARK-based virtual machine
MIT License
631 stars 161 forks source link

Replace `mtree_cwm` instruction with `mtree_merge` #775

Closed bobbinth closed 1 year ago

bobbinth commented 1 year ago

Once we integrate MerkleStore into the AdviceProvider (#774) mtree_cwm instruction will no longer be necessary - so, we should remove it.

At the same time, we need to introduce a new instruction which would merge two nodes in the advice provider using merge_roots() function. We could call this instruction mtree_merge and it could work as follows:

bobbinth commented 1 year ago

Closed by #785.