Skip to content

Commit

Permalink
add mev-commit bidder node version info
Browse files Browse the repository at this point in the history
  • Loading branch information
Evan-Kim2028 committed Oct 30, 2024
1 parent a3f5419 commit 4f390a1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ RUN VERSION=$(curl -sIL -o /dev/null -w %{url_effective} https://github.com/prim
&& echo "Downloading $FILE" \
&& curl -sL "${ARTIFACTS_URL}/${FILE}" -o "${FILE}" \
&& tar -xzf "${FILE}" -C "${ROOT_PATH}" \
&& chmod +x ${BINARY_PATH}
&& chmod +x ${BINARY_PATH} \
&& echo "export MEV_COMMIT_VERSION=${VERSION}" >> /etc/environment

# Expose http port. Not sure if actuallly needed
EXPOSE 13523
Expand Down
6 changes: 6 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

set -e

# Load the mev-commit version from environment
source /etc/environment

# Print the mev-commit version
echo "Running mev-commit version: ${MEV_COMMIT_VERSION}"

# Set variables based on DOMAIN
RPC_URL="wss://chainrpc-wss.${DOMAIN}"
BOOTNODE="/dnsaddr/bootnode.${DOMAIN}"
Expand Down

0 comments on commit 4f390a1

Please sign in to comment.