diff --git a/besu/entrypoint.sh b/besu/entrypoint.sh index 8568c49..6329709 100755 --- a/besu/entrypoint.sh +++ b/besu/entrypoint.sh @@ -16,6 +16,7 @@ exec besu --rpc-ws-enabled="${WS_ENABLED}" \ --rpc-ws-enabled=true \ --rpc-http-host='0.0.0.0' \ --rpc-http-enabled=true \ + --rpc-max-logs-range="${RPC_MAX_LOGS_RANGE}" \ --host-allowlist=* \ --rpc-http-cors-origins=* \ --rpc-ws-port=8546 \ diff --git a/docker-compose.yml b/docker-compose.yml index 137542a..81360d2 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -10,6 +10,7 @@ services: volumes: - data:/var/lib/besu environment: + RPC_MAX_LOG_RANGE: "10000000" STORAGE_FORMAT: BONSAI SYNC_MODE: CHECKPOINT CONFIG_MODE: normal