Skip to content

Commit 3f1f9ec

Browse files
fmolettaOppen
andauthored
Implement CairoPie::read_zip_file (#1729)
* First steps * Deserialize prime * Impl CairoPieMemory::from_bytes * Finish read_zip_file * Fix endianness * Impl deserialize for hash additional data * Impl custom deser for signature additional data * Deserialize hash additional data as a sequence * Add more test cases * Clippy * Remove todo from pre-existing code * Use a constant for prime * Fix imports * Remove files generated by test * Add changelog entry * Fix imports * Fix imports * Use ok_or_else instead or ok_or * Create HashMap with capacity upon deserialization Co-authored-by: Mario Rugiero <[email protected]> * Use a BufReader to read json files in zip --------- Co-authored-by: Mario Rugiero <[email protected]>
1 parent 87dcd17 commit 3f1f9ec

File tree

2 files changed

+297
-80
lines changed

2 files changed

+297
-80
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
* refactor: Add `lib.rs` to cairo1-run[#1714](https://github.com/lambdaclass/cairo-vm/pull/1714)
1010

11+
* feat: Implement `CairoPie::read_zip_file`[#1729](https://github.com/lambdaclass/cairo-vm/pull/1729)
12+
1113
* feat: Implement `extend_additional_data` for `BuiltinRunner`[#1726](https://github.com/lambdaclass/cairo-vm/pull/1726)
1214

1315
* BREAKING: Set dynamic params as null by default on air public input [#1716](https://github.com/lambdaclass/cairo-vm/pull/1716)

0 commit comments

Comments
 (0)