Mathieu

Results 166 issues of Mathieu

once https://github.com/starkware-libs/cairo/issues/5190 is included in a release

State: preliminary

https://github.com/starkware-libs/cairo/pull/3591/files

Type: feature
Difficulty: intermediate

Here i will be listing advanced patterns until we integrate them in the book. From Ori, > currently functions cannot be passed around - but using traits you can do...

exploration

Common patterns to reduce the gas usage in Cairo code

exploration

Time spent on this PR: ## Pull request type Please check the type of change your PR introduces: - [ ] Bugfix - [ ] Feature - [ ] Code...

Time spent on this PR: 0.5d ## Pull request type Please check the type of change your PR introduces: - [ ] Bugfix - [ ] Feature - [ ]...

## Feature Request ### Describe the Feature Request "Legacy" contracts might already be deployed on kakarot, without having their valid jumpdests analyzed. This will cause an issue when trying to...

## Feature Request ### Describe the Feature Request blocker: still relies on block_gas_limit and base_fee from an external contract.

blocked

`func charge_gas{range_check_ptr}(self: model.EVM*, amount: felt) -> model.EVM* {` takes the EVM as explicit parameters and returns a new instance. It could be refactored to `func charge_gas{range_check_ptr, evm: model.EVM*}(amount: felt) {`

the following ``` with_attr error_message("Kakarot: register account address mismatch") { assert starknet_address = caller_address; } ``` will not raise an exception with the expected error message, but with ``` (Pdb)...