Change plugeth path
This commit is contained in:
parent
98ab0951f9
commit
204083cca7
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user