Mathieu

Results 193 comments of Mathieu

sorry no this is a big epic, it's not scoped yet what needs to be explicitly checked for overflows and how we can do this efficiently

The culprit is the Trunk tool that overrides the local `.git/config:hooksPath` value to use trunk hooks instead of your repo's local hooks.

we need `#[should_panic]` before, I made a PR to starknet-foundry to have it available (probably next week). There will be no changes to do.

> -> contract first approach, must deploy contracts to test functions Not necessarily but if you want to mock stuff, then you need to do that (unlike cairo-test)

Basically, imagine you want to test `is_caller_eoa`. To do that you want to mock the caller address, create your execution context, and then call `is_caller_eoa`. This is not possible in...

yes, and the reference implementation in Cairo Zero: https://github.com/kkrt-labs/kakarot/blob/7fb90d799a5a0bfab0a48bdfcb4e867d35b4943c/src/kakarot/accounts/account_contract.cairo#L83. First try to migrate to a SNIP-9 compatible structure. For everything that can not trivially implemented, add a TODO and we'll...

@remybar how are things going?