Thomas Coratger

Results 69 issues of Thomas Coratger

## Redesign `segment_used_sizes` data structure ### Issue Description Currently, the `segment_used_sizes` data structure in the `segments` module is implemented as an `ArrayHashMap`, mapping segment indices to their respective sizes. However,...

stale

## Issue Description After ensuring that the `Program` structure is properly handled by our Cairo runner, we will have to enhance the test coverage for the `getAllocatedMemoryUnits` method within the...

stale

In order to transform a `Reference` instance into a `HintReference` instance: - `Reference` structure https://github.com/keep-starknet-strange/ziggy-starkdust/blob/9cf73c8ae676ee7864fd66d76d5934c7470a0c48/src/vm/types/programjson.zig#L185-L192 - `HintReference` structure https://github.com/keep-starknet-strange/ziggy-starkdust/blob/9cf73c8ae676ee7864fd66d76d5934c7470a0c48/src/hint_processor/hint_processor_def.zig#L13-L61 we need a `fromReference` method similar to: https://github.com/lambdaclass/cairo-vm/blob/8a2ef24c1ca258f1d1d230cbbd1478cd1d4cf9db/vm/src/hint_processor/hint_processor_definition.rs#L133-L153

stale
no-stale

Saturating operations for `v` in `Signature` to avoid potential overflow.

# Add `to_bits_be` for `FieldElement` ## Description Following `to_bits_le`, an implementation of `to_bits_be` for `FieldElement` is added. A unit test is also integrated to validate the correct implementation of the...

# Small perf adjustments for `ShortWeierstrassProjectivePoint` operations ## Description - In the `double` operation, the pull request implements an early return strategy to check if `self` is the neutral element...

# Some small refactorings ## Description Small refactorings. ## Type of change Please delete options that are not relevant. - [X] Optimization ## Checklist - [ ] Linked to Github...

The `into_request` function that transforms a rpc `Transaction` to a rpc `TransactionRequest` was redundant and less Rust idiomatic than the `From for TransactionRequest` implementation. As a result, the `into_request` function...

### Component consensus, eips, genesis ### Describe the feature you would like As per https://github.com/paradigmxyz/reth/issues/7238, our current `Receipt` structure in Alloy: https://github.com/alloy-rs/alloy/blob/main/crates/consensus/src/receipt/receipts.rs is not complete regarding what we have in...

enhancement

### Component rpc ### Describe the feature you would like At the moment, especially in Reth, we need `Withdrawal` structure generally beyond the rpc crate. This requires defining a `Withdrawal`...

enhancement