Thomas Coratger

Results 74 issues of Thomas Coratger

**Describe the bug** The txStatusReceipts function inside the Provider class seems broken (the input is the txhash rather than the receipt_id and the function does not work properly). `abstract txStatusReceipts(txHash:...

bug

### Summary This pull request introduces a direct integration of the `rfc6979` crate to generate the scalar `k` according to RFC 6979. The integration is aimed at streamlining the logic...

upstream

## Description This pull request refactors the `FieldElement` structure to remove the unnecessary `inner` field, enhancing efficiency and minimizing struct size. Additionally, it implements the `std::ops::Deref` and `std::ops::DerefMut` traits to...

This pull request aims to enhance the performance of the poseidon hash by utilizing assignment multiplication (`mul_assign`) and addition (`add_assign`) operators whenever possible. By doing so, unnecessary copies are avoided,...

In the affine representation of an elliptic curve, we have to include an additional boolean flag in order to denote the point at infinity. That's why projective planes are particularly...

During `add_assign` implementation, z1 and z2 don't have to be equal. As a result, when `u0 == u1`, simply testing ` self.y == rhs.y` to confirm that a point doubling...

The `PartialEq` implementation is fixed for `AffinePoint` and `ProjectivePoint` ## Affine point representation The `PartialEq` implementation is now not a simple derive but make the distinction between the infinity point...

## Issue Description Currently, in the `BlockEnv` of the `primitives` crate, the recipient of all gas spent within a block is referred to as `coinbase`: https://github.com/bluealloy/revm/blob/b434308a2769d8592f008a01d2555a222a4926ac/crates/primitives/src/env.rs#L432 To align with the...

refactor

**Is your feature request related to a problem? Please describe.** In situations like: - https://github.com/kkrt-labs/kakarot-rpc/blob/e09b452b258d6ef1f6f12c44d856f178cfa870a3/src/eth_provider/utils.rs#L45-L51 - https://github.com/dojoengine/dojo/blob/f0637f928470217fccd60fe15b1b9c6fefd5c984/crates/katana/primitives/src/utils/mod.rs#L11-L15 it is useful to have a method that splits a uint but this...