Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update dependencies * compatibility * compatibility * fixing tests * fix test with sqrt op * fix test with wide_mul op * fix checks * update cairo-vm version * fix u128 wide mul tests * fix debug info test * fix ImplId missing variant * possible fix gas test * remove unused cairo-felt * fix all tests, remember checking the assert on compiler.rs * update scarb in ci * fix alexandria scarb version * add cargo component * fix cargo command in ci * revert * fix assert * formatting * fix alexandria scarb version * update cairo version in /alexandria * cargo not found * update cairo-vm to 1.0.0-rc6 * sha256 syscalls (#741) * progress with sha256 syscalls * progress * progress works * sha256 works * remove dbgs * fix unused * dont treat the doc as rust * Implement new array libfuncs. (#743) * Implement libfunc `tuple_from_span`. * Add exected return type to tuple_from_span test * Fix clippy * Add todo! function for multipop front * Add basic test * Implement basic multi pop front (no update) * Remove from original span * Add test for failed case * Use assert instead of panic * Add error handling * Add multi pop back skeleton * Add failed multi pop back test * Pop elements from back * Return from back * Add multi pop back and front test * Fix clippy * Add test for failed suple_from_span * Add null ptr assert and remove comments * Add realloc metadata * Add comments * Clean up function --------- Co-authored-by: Julián González Calderón <[email protected]> Co-authored-by: Edgar <[email protected]> * update to 2.7.0 (non-rc) * temporary ignore circuits for tests * Update version of `starknet-types-core` and remove unused dependencies (#750) * fix: deps * fix: remove unused deps * update to the latest changes in cairo-native * remove unused dep: `cairo-lang-runner` from `cairo-native-runtime` (#753) * [2.7.0] bounded int libfuncs (#752) * implement bounded int libfuncs * progress * progress * progress * fix cast * clippy * ship modified corelib for tests * debug * allow jit return bounded * Fix stuff. * Fix bounded int division. * Fix `bounded_int_constrain`. * Refactor lots of stuff. * Fix stuff. * Make bounded int divisions work. * Fix stuff. * Fix stuff. * Fix stuff. * Add workaround for segfault in canonicalization. * Fix upcasts. * Fix downcasts. * Fix stuff. * Fix stuff. * Fix `bounded_int_sub` destination offset. * Cleaning up * Clean up. * Fix CI. * Apply suggestions from code review Co-authored-by: Julian Gonzalez Calderon <[email protected]> --------- Co-authored-by: Esteve Soler Arderiu <[email protected]> Co-authored-by: MrAzteca <[email protected]> Co-authored-by: Julian Gonzalez Calderon <[email protected]> * Implement circuit libfuncs (#759) * implement bounded int libfuncs * progress * progress * progress * fix cast * clippy * ship modified corelib for tests * debug * allow jit return bounded * Fix stuff. * Fix bounded int division. * Fix `bounded_int_constrain`. * Refactor lots of stuff. * Fix stuff. * Make bounded int divisions work. * Fix stuff. * Fix stuff. * Fix stuff. * Add workaround for segfault in canonicalization. * Fix upcasts. * Fix downcasts. * Fix stuff. * Fix stuff. * Fix `bounded_int_sub` destination offset. * Cleaning up * Clean up. * Add type placeholder * Add dummy init_circuit_data impl * Add dummy build_into_u96_impl * Add remaining dummy libfuncs * Fix CI. * Remove corelib copy * Add types/circuit.rs * add build structure for circuits, and fill variants for RangeCheck96 * circuts layouts, is_complex, is_zst * build circuit_outpus, input_data, accumulator * Update is_builtin * Use unreachable * Add todo! comment * Add todo!() * Fix clippy * Implement CircuitData and CircuitInputAccumulator layouts * Implement init_circuit_data * Implement into_u96_guarantee * Implement build_add_input * Implement try_into_circuit_modulus * Implement get_descriptor * Use array instead of struct * Reimplement add_circuit_input * Use 348 size with hardcoded layout * Fix clippy * Implement eval structure * Implement get output * Use all limbs when reading struct * Use all limbs when reading integer * Rename variables * Add todo! * Implement basic circuit operations * Implement basic egcd * Add inverse error handling * Add auxiliary function for building circuit evaluation * Add comment * Fix typo * Add tests and consider mul overflow * Take overflow into account * Use correct values in test * Add docs * Take overflow into account in egdc * Add error handling to circuit * Add error handling to circuit libfuncs * Add error handling an inline integer size * Increment rc in init_circuit * Increment builtins in eval circuit * Increment builtins in failure guarantee verify * Increment rc in u96 guarantee verify * Add comment * Add comment * Add better todo! * Better comment * Add comment * Fix layout bug --------- Co-authored-by: Edgar Luque <[email protected]> Co-authored-by: Esteve Soler Arderiu <[email protected]> Co-authored-by: FrancoGiachetta <[email protected]> * update deps * parallelize coverage CI (#765) Co-authored-by: pefontana <[email protected]> * Update docs * use unimplemented * remove path workaround * fix cairo run * remove dbg * change for cairo-native-test too * clippy * update EC code and dependencies (#766) --------- Co-authored-by: Pedro Fontana <[email protected]> Co-authored-by: Edgar <[email protected]> Co-authored-by: MrAzteca <[email protected]> Co-authored-by: Julián González Calderón <[email protected]> Co-authored-by: Bohdan Ohorodnii <[email protected]> Co-authored-by: Esteve Soler Arderiu <[email protected]> Co-authored-by: pefontana <[email protected]>
- Loading branch information