From 82035ac3055b07a90c52f37b77c87b9045900297 Mon Sep 17 00:00:00 2001 From: garyschulte Date: Thu, 22 Aug 2024 21:52:15 -0700 Subject: [PATCH] fix for apple silicon, bump besu to 24.8.0 Signed-off-by: garyschulte --- images.yaml | 2 +- scripts/besu/docker-compose.yaml | 2 ++ utils.py | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/images.yaml b/images.yaml index 5df185e..720e16a 100644 --- a/images.yaml +++ b/images.yaml @@ -3,4 +3,4 @@ images: geth: "ethereum/client-go:v1.14.5" reth: "ghcr.io/paradigmxyz/reth:v0.2.0-beta.9" erigon: "thorax/erigon:v2.60.1" - besu: "hyperledger/besu:24.6.0" \ No newline at end of file + besu: "hyperledger/besu:24.8.0" diff --git a/scripts/besu/docker-compose.yaml b/scripts/besu/docker-compose.yaml index 302e5c2..9afe631 100644 --- a/scripts/besu/docker-compose.yaml +++ b/scripts/besu/docker-compose.yaml @@ -24,6 +24,8 @@ services: command: - --genesis-file=/tmp/chainspec/chainspec.json - --bonsai-historical-block-limit=10000 + - --bonsai-limit-trie-logs-enabled=false + - --Xbonsai-parallel-tx-processing-enabled=true - --data-path=/var/lib/besu/data - --metrics-enabled=true - --metrics-host=0.0.0.0 diff --git a/utils.py b/utils.py index 12db65e..9900613 100644 --- a/utils.py +++ b/utils.py @@ -273,7 +273,7 @@ def print_computer_specs(): 'RAM': f'{psutil.virtual_memory().total / (1024 ** 3):.2f} GB', 'CPU': cpu['brand_raw'], 'Numbers of CPU': cpu['count'], - 'CPU GHz': cpu['hz_actual_friendly'] + 'CPU GHz': cpu.get('hz_actual_friendly', 'N/A') } # Print the specifications