Skip to content

Deprecate SmartQueryGasLimit #2001

@chipshort

Description

@chipshort

We should slowly phase it out because it makes the SmartContractState query non-deterministic.
However, RPC nodes currently rely on this to prevent people from querying contracts with infinite loops.
We should redirect them to the Cosmos SDK query gas limit instead.

To summarize:

  • Deprecate SmartQueryGasLimit
  • Log a warning when it is provided (either in CLI or in config)

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