Skip to content
Open
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
28 changes: 0 additions & 28 deletions clients/ethrex-revm/Dockerfile

This file was deleted.

40 changes: 0 additions & 40 deletions clients/ethrex-revm/Dockerfile.git

This file was deleted.

39 changes: 0 additions & 39 deletions clients/ethrex-revm/Dockerfile.local

This file was deleted.

14 changes: 0 additions & 14 deletions clients/ethrex-revm/enode.sh

This file was deleted.

103 changes: 0 additions & 103 deletions clients/ethrex-revm/ethrex.sh

This file was deleted.

15 changes: 0 additions & 15 deletions clients/ethrex-revm/genesis.json

This file was deleted.

75 changes: 0 additions & 75 deletions clients/ethrex-revm/mapper.jq

This file was deleted.

20 changes: 13 additions & 7 deletions clients/ethrex/ethrex.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,30 +32,38 @@ else
cat /genesis.json
fi

echo "Command flags till now:"
echo $FLAGS

# Initialize the local testchain with the genesis state
# echo "Initializing database with genesis state..."
# $ethrex init $FLAGS --chain /genesis.json
FLAGS="$FLAGS --network /genesis.json"

# Set syncmode
if [ "$HIVE_NODETYPE" == "full" ]; then
FLAGS="$FLAGS --syncmode full"
fi
if [ "$HIVE_NODETYPE" == "snap" ]; then
FLAGS="$FLAGS --syncmode snap"
Copy link
Collaborator

@mpaulucci mpaulucci Jun 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

here do you have a way to configure snap sync in the client, why do you need an extra client (ethrex-snap)?

fi

echo "Command flags till now:"
echo $FLAGS

# Don't immediately abort, some imports are meant to fail
set +ex

# Load the test chain if present
echo "Loading initial blockchain..."
if [ -f /chain.rlp ]; then
echo "Importing chain.rlp..."
$ethrex $FLAGS $HIVE_ETHREX_FLAGS import /chain.rlp
$ethrex $FLAGS import /chain.rlp
else
echo "Warning: chain.rlp not found."
fi

# Load the remainder of the test chain
if [ -d /blocks ]; then
echo "Loading remaining individual blocks..."
$ethrex $FLAGS $HIVE_ETHREX_FLAGS import /blocks
$ethrex $FLAGS import /blocks
else
echo "Warning: blocks folder not found."
fi
Expand Down Expand Up @@ -95,8 +103,6 @@ else
echo "Warning: HIVE_TERMINAL_TOTAL_DIFFICULTY not supported."
fi

FLAGS="$FLAGS $HIVE_ETHREX_FLAGS"

# Launch the main client.
echo "Running ethrex with flags: $FLAGS"
$ethrex $FLAGS