Change plugeth path

This commit is contained in:
Thomas E Lackey 2023-06-28 18:52:18 -05:00
parent 98ab0951f9
commit 204083cca7
3 changed files with 7 additions and 3 deletions

View File

@ -96,7 +96,7 @@ else
--statediff.workers=${CERC_STATEDIFF_WORKERS:-1} \
--statediff.writing=true"
if [ -f "/usr/local/lib/statediff.so" ]; then
if [ -f "/usr/local/lib/plugeth/statediff.so" ]; then
# With plugeth, we separate the statediff options by prefixing with ' -- '
STATEDIFF_OPTS=" -- ${STATEDIFF_OPTS}"
@ -107,7 +107,7 @@ else
# And copy our plugin into place (if needed).
if [ ! -f "${PLUGINS_DIR}/statediff.so" ]; then
cp -f "/usr/local/lib/statediff.so" "${PLUGINS_DIR}/statediff.so"
cp -f "/usr/local/lib/plugeth/statediff.so" "${PLUGINS_DIR}/statediff.so"
fi
fi
fi

View File

@ -22,7 +22,9 @@ COPY run-el.sh /opt/testnet/run.sh
RUN cd /opt/testnet && make genesis-el
COPY --from=geth /usr/local/bin/geth /usr/local/bin/
COPY --from=statediff /usr/local/lib/statediff.so /usr/local/lib/
RUN mkdir -p /usr/local/lib/plugeth/
COPY --from=statediff /usr/local/lib/statediff.so /usr/local/lib/plugeth/
# Snag the genesis block info.
RUN geth --datadir ~/ethdata init /opt/testnet/build/el/geth.json && rm -f ~/ethdata/geth/nodekey

View File

@ -18,6 +18,8 @@ containers:
- cerc/fixturenet-plugeth-lighthouse
- cerc/tx-spammer
- cerc/foundry
- cerc/ipld-eth-db
- cerc/ipld-eth-server
pods:
- ipld-eth-db
- ipld-eth-server