0xPolygonMiden / miden-base

Core components of the Polygon Miden rollup
MIT License
68 stars 41 forks source link

test: Remove calls by MAST root through account library #856

Closed igamigo closed 2 weeks ago

igamigo commented 3 weeks ago

Closes #643 Moves mock account code into a library that can be used to call the mock interface, removing the need for using MAST roots and maintaining the MAST root array. This might actually be a little less "clear" because in the past you could just search for the MAST root variables and get a feel for how the flow had to play out, but hopefully the test code is at least more concise and not as confusing with the removed workarounds and wrappers. Also includes minor refactors to make some tests a bit more readable in general.