0xPolygonMiden / compiler

Compiler from MidenIR to Miden Assembly

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Generate a stub code for the import function while assembling the MASM

greenhat opened this issue · comments

To test the ABI transformation, we need a tx-kernel API function to exist. Since calling the genuine function requires a context which is expensive to set up, we can generate a function and hard-code an arguments check and return values.