Skip to content

Commit

Permalink
clients/besu: Remove trusted setup (#946)
Browse files Browse the repository at this point in the history
  • Loading branch information
marioevz authored Nov 16, 2023
1 parent d2ed863 commit 94580f4
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 4,171 deletions.
1 change: 0 additions & 1 deletion clients/besu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ 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: 0 additions & 1 deletion clients/besu/Dockerfile.git
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ 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: 0 additions & 1 deletion clients/besu/Dockerfile.local
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ 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: 0 additions & 5 deletions clients/besu/besu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -159,11 +159,6 @@ 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 with 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

0 comments on commit 94580f4

Please sign in to comment.