From c439085fed5033b6bd60efadee165293c6ff1f4e Mon Sep 17 00:00:00 2001 From: Sally MacFarlane Date: Wed, 5 Feb 2025 13:24:51 +1000 Subject: [PATCH 1/2] update default for rpc-gas-cap Signed-off-by: Sally MacFarlane --- docs/public-networks/reference/cli/options.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/public-networks/reference/cli/options.md b/docs/public-networks/reference/cli/options.md index 5943a31029..51a19d5eb2 100644 --- a/docs/public-networks/reference/cli/options.md +++ b/docs/public-networks/reference/cli/options.md @@ -3406,7 +3406,7 @@ Sets a limit on the amount of gas for transaction simulation RPC methods. This option allows users to override the transaction's gas limit. This can prevent the simulation of transactions with high gas usage by setting a predefined cap, preventing DoS attacks. Its value must be greater than or equal to `0`. -The default is `0`, which indicates there is no limit. +The default is `50000000`. You can set this to 0 to indicate there is no limit. This cap prevents [`eth_call`](../api/index.md#eth_call) requests from using excessive resources. ### `rpc-http-api` From c18be5a221d7aa6d4a316bf27cbaa76260e230e4 Mon Sep 17 00:00:00 2001 From: Byron Gravenorst <50852695+bgravenorst@users.noreply.github.com> Date: Wed, 5 Feb 2025 14:47:20 +1000 Subject: [PATCH 2/2] Update docs/public-networks/reference/cli/options.md Signed-off-by: Byron Gravenorst <50852695+bgravenorst@users.noreply.github.com> --- docs/public-networks/reference/cli/options.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/public-networks/reference/cli/options.md b/docs/public-networks/reference/cli/options.md index 51a19d5eb2..c2d3cfe01f 100644 --- a/docs/public-networks/reference/cli/options.md +++ b/docs/public-networks/reference/cli/options.md @@ -3406,7 +3406,7 @@ Sets a limit on the amount of gas for transaction simulation RPC methods. This option allows users to override the transaction's gas limit. This can prevent the simulation of transactions with high gas usage by setting a predefined cap, preventing DoS attacks. Its value must be greater than or equal to `0`. -The default is `50000000`. You can set this to 0 to indicate there is no limit. +The default is `50000000`. You can set this to `0` to indicate there is no limit. This cap prevents [`eth_call`](../api/index.md#eth_call) requests from using excessive resources. ### `rpc-http-api`