Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions clients/besu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ COPY genesis.json /genesis.json
COPY mapper.jq /mapper.jq
COPY besu.sh /opt/besu/bin/besu-hive.sh
COPY enode.sh /hive-bin/enode.sh
COPY trusted_setup.txt /trusted_setup.txt

# Set execute permissions for scripts
RUN chmod +x /opt/besu/bin/besu-hive.sh /hive-bin/enode.sh
Expand Down
1 change: 1 addition & 0 deletions clients/besu/Dockerfile.git
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ COPY genesis.json /genesis.json
COPY mapper.jq /mapper.jq
COPY besu.sh /opt/besu/bin/besu-hive.sh
COPY enode.sh /hive-bin/enode.sh
COPY trusted_setup.txt /trusted_setup.txt

# Set execute permissions for scripts
RUN chmod +x /opt/besu/bin/besu-hive.sh /hive-bin/enode.sh
Expand Down
1 change: 1 addition & 0 deletions clients/besu/Dockerfile.local
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ COPY genesis.json /genesis.json
COPY mapper.jq /mapper.jq
COPY besu.sh /opt/besu/bin/besu-hive.sh
COPY enode.sh /hive-bin/enode.sh
COPY trusted_setup.txt /trusted_setup.txt

# Set execute permissions for scripts
RUN chmod +x /opt/besu/bin/besu-hive.sh /hive-bin/enode.sh
Expand Down
5 changes: 5 additions & 0 deletions clients/besu/besu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,11 @@ if [ "$HIVE_TERMINAL_TOTAL_DIFFICULTY" != "" ]; then
RPCFLAGS="$RPCFLAGS --engine-host-allowlist=* --engine-jwt-enabled --engine-jwt-secret /jwtsecret"
fi

# Enable KZG trusted setup if cancun timestamp is set, needed for custom genesis on Besu wtih Cancun
if [ "$HIVE_CANCUN_TIMESTAMP " != "" ]; then
FLAGS="$FLAGS --kzg-trusted-setup=/trusted_setup.txt"
fi

# Start Besu.
if [ -z "$HAS_IMPORT" ]; then
cmd="$besu $FLAGS $RPCFLAGS"
Expand Down
Loading