Skip to content

feat: increase the eth_call gas limit #2706

Description

@EvgeniiZaitsevCW

Why

Stratus currently limits eth_call execution to 100 million gas.

Some read-only operations can legitimately require more gas. For example, in Capybara Finance V2, the getSubLoanPreview() and getSubLoanPreviewPairAtOperation() view functions may process a large operation history. For sub-loans with many operations, these calls exhaust the current limit and revert without a reason.

What

Increase the gas limit for read-only EVM calls such as eth_call, without increasing the limit for regular transaction execution.

Ideas

Suggested new limit for eth_call requests: 1 Ggas (1000 million gas).

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