Skip to content

Commit b20ed3d

Browse files
chore: add port for geth metrics (#108)
1 parent 41e6869 commit b20ed3d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

activities/testnet/testnet.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ func constructChainConfig(req messages.LaunchTestnetRequest,
402402
"--json-rpc.ws-address", "0.0.0.0:8546",
403403
"--json-rpc.enable",
404404
}
405-
config.AdditionalPorts = []string{"8545", "8546"}
405+
config.AdditionalPorts = []string{"8545", "8546", "8100"} // geth rpc, geth ws rpc, evmd geth metrics
406406
walletConfig = EvmCosmosWalletConfig
407407
if config.CustomAppConfig == nil {
408408
config.CustomAppConfig = make(map[string]interface{})

hack/evm.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ ARG IMG_TAG
3737
COPY evmd-entrypoint.sh /usr/bin/entrypoint.sh
3838
RUN chmod +x /usr/bin/entrypoint.sh
3939
COPY --from=evmd-builder /src/app/build/evmd /usr/bin/evmd
40-
EXPOSE 26656 26657 1317 9090 26660 8545
40+
EXPOSE 26656 26657 1317 9090 26660 8545 8100
4141
USER nonroot
4242
WORKDIR /home/nonroot
4343
RUN test -x /sbin/tini && test -x /usr/bin/entrypoint.sh

0 commit comments

Comments
 (0)