cronos: add mainnet EVM chain (chain-id 25) as client-type node
Add cronosd cometbft.Dockerfile and init.sh for Cronos EVM mainnet. - Dockerfile: layer cometbft-common.sh + init.sh onto upstream cronos image - init.sh: adapted from haqq pattern with EVM JSON-RPC on 8545, WS on 8546, CometBFT RPC on 26657, P2P on 10521, chain-id cronosmainnet_25-1 - Statesync via ct_configure_statesync, genesis from official repo - Pruning: custom with keep-recent=100, interval=19 Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit was merged in pull request #11.
This commit is contained in:
11
cronos/cometbft.Dockerfile
Normal file
11
cronos/cometbft.Dockerfile
Normal file
@@ -0,0 +1,11 @@
|
||||
ARG CRONOS_CRONOS_IMAGE
|
||||
ARG CRONOS_CRONOS_VERSION
|
||||
FROM ${CRONOS_CRONOS_IMAGE}:${CRONOS_CRONOS_VERSION}
|
||||
# Layer the shared CometBFT bootstrap lib + the chain init.sh onto the upstream
|
||||
# cronos binary image (alpine-based, has sh+apk; runs nonroot by default — the compose
|
||||
# sets user: root so init.sh can apk-add curl and write the /root home).
|
||||
USER root
|
||||
COPY ./scripts/cometbft-common.sh /usr/local/bin/cometbft-common.sh
|
||||
COPY ./scripts/init.sh /usr/local/bin/init.sh
|
||||
RUN chmod +x /usr/local/bin/init.sh /usr/local/bin/cometbft-common.sh
|
||||
ENTRYPOINT ["init.sh"]
|
||||
Reference in New Issue
Block a user