diff --git a/docs/public-networks/reference/cli/options.md b/docs/public-networks/reference/cli/options.md index acdc4750a98..72fbc20e25f 100644 --- a/docs/public-networks/reference/cli/options.md +++ b/docs/public-networks/reference/cli/options.md @@ -3074,6 +3074,46 @@ Enabling revert reason may use a significant amount of memory. We don't recommen ::: +### `rpc-gas-cap` + + + + + +```bash +--rpc-gas-cap= +``` + + + + + +```bash +--rpc-gas-cap=50000000 +``` + + + + + +```bash +BESU_RPC_GAS_CAP=50000000 +``` + + + + + +```bash +rpc-gas-cap=50000000 +``` + + + + + +Sets a limit on the amount of gas for transaction simulation RPC methods. Its value must be greater than or equal to `0`. The default is `0`, which indicates there is no limit. This cap prevents [`eth_call`](../api/index.md#eth_call) requests from using excessive resources. + ### `rpc-http-api`