Deprecate `SmartQueryGasLimit`
Open
- Dominant language
- Go
- Stars
- 416
- Forks
- 538
- PR merge metrics
- No merged PRs in 30d
Description
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](https://github.com/cosmos/cosmos-sdk/pull/16239) instead.
To summarize:
- Deprecate `SmartQueryGasLimit`
- Log a warning when it is provided (either in CLI or in config)
Contributor guide
Assessment
This issue has not been assessed yet.