Skip to content
This repository was archived by the owner on Jan 8, 2025. It is now read-only.

Conversation

enitrat
Copy link
Member

@enitrat enitrat commented Oct 2, 2024

uses checked math to prevent eventual overflow risks.
this should not be more costly then regular maths (which abstract the result management with an .expect())


This change is Reviewable

@enitrat enitrat requested a review from ClementWalter as a code owner October 2, 2024 11:30
@enitrat enitrat merged commit dcbb421 into main Oct 2, 2024
4 of 5 checks passed
@enitrat enitrat deleted the dev/checked-math branch October 2, 2024 12:30
saimeunt pushed a commit to saimeunt/kakarot-ssj that referenced this pull request Oct 2, 2024
enitrat added a commit that referenced this pull request Oct 2, 2024
* test_kakarot_core_get_starknet_address

* ci: downgrade cairo native (#1008)

* dev: use checked math (#1009)

* fix get_starknet_address test

---------

Co-authored-by: Mathieu <60658558+enitrat@users.noreply.github.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant