kkrt-labs / cairo-vm-ts

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

refactor: Cairo Runner #61

Closed zmalatrax closed 5 months ago

zmalatrax commented 5 months ago

Refactor the Cairo Runner to simplify it:

The method runUntilPc is renamed to run because the value of pc to run up to is computed in the constructor (finalPc attribute). Having the relocation of memory and trace is much cleaner