kkrt-labs / cairo-vm-ts

A typescript implementation of the Cairo VM
Apache License 2.0
18 stars 13 forks source link

feat: add layouts #119

Closed zmalatrax closed 1 month ago

zmalatrax commented 2 months ago

Closes #89

NOTE: The builtins attribute currently stores the builtins used by the called program entrypoint (program.builtins). It works well in ExecutionMode as only the builtins in the program are used. However, in Proof Mode, all the builtins from the chosen layout are initialized, that won't be represented by the current builtins attribute. When introducting the proof mode, this builtins attribute initialization should be refactored to take this into account.