lambdaclass / cairo-vm

cairo-vm is a Rust implementation of the Cairo VM. Cairo (CPU Algebraic Intermediate Representation) is a programming language for writing provable programs, where one party can prove to another that a certain computation was executed correctly without the need for this party to re-execute the same program.
https://lambdaclass.github.io/cairo-vm
Apache License 2.0
514 stars 144 forks source link

feat: load Cairo PIE from bytes #1773

Closed odesenfans closed 4 months ago

odesenfans commented 4 months ago

Context: bootloader support.

Like for programs, it is convenient to be able to load Cairo PIEs directly from bytes. Added a from_bytes() method to CairoPie. This method shares most of its code with read_from_file().

TITLE

Description

Description of the pull request changes and motivation.

Checklist