You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When attempting to apply execution client settings via the .env file (located at /sedge-data/.env), the settings do not take effect. For example, I tried increasing the MaxLogsPerResponse limit (default is 20,000) by adding the following to the env file:
However, when running a node that requires more logs per response, I encountered the following error:
ERROR ThreadId(09) hopr_chain_rpc::client: request failed method="eth_getLogs" elapsed_in_ms=159 error=(code: -32005, message: Too many logs requested. Max logs per response is 20000., data: None)
What actually worked was modifying the docker-compose.yaml file (located at /sedge-data/docker-compose.yaml) and adding the following under the execution client section:
- --JsonRpc.MaxLogsPerResponse=300000
This resolved the issue successfully.
To Reproduce
Steps to reproduce the behavior:
Set up a Gnosis node without a validator using the Sedge tool.
Edit the .env file and add: NETHERMIND_JSONRPCCONFIG_MAXLOGSPERRESPONSE=300000.
Start the Gnosis node via Sedge and try to fetch logs with a response size greater than 20000.
Expected behavior
Execution and consensus settings should be configurable via the .env file.
Server (please complete the following information):
Describe the bug
When attempting to apply execution client settings via the
.env
file (located at/sedge-data/.env
), the settings do not take effect. For example, I tried increasing theMaxLogsPerResponse
limit (default is 20,000) by adding the following to theenv
file:However, when running a node that requires more logs per response, I encountered the following error:
What actually worked was modifying the
docker-compose.yaml
file (located at/sedge-data/docker-compose.yaml
) and adding the following under the execution client section:- --JsonRpc.MaxLogsPerResponse=300000
This resolved the issue successfully.
To Reproduce
Steps to reproduce the behavior:
.env
file and add:NETHERMIND_JSONRPCCONFIG_MAXLOGSPERRESPONSE=300000
.20000
.Expected behavior
Execution and consensus settings should be configurable via the
.env
file.Server (please complete the following information):
The text was updated successfully, but these errors were encountered: