Skip to content
This repository was archived by the owner on Aug 21, 2024. It is now read-only.
This repository was archived by the owner on Aug 21, 2024. It is now read-only.

Remove &mut self from StateReader. #1793

Description

@marioiordanov

In state::state_api::StateReader all methods of the interface require a &mut self. In starknet-devnet-rs when using some method of StateReader we have to pass &mut reference which in some cases result in compilation errors like: cannot borrow as mutable more than once at a time or cannot borrow *self as immutable because it is also borrowed as mutable

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions