diff --git a/build/scripts/testing.mk b/build/scripts/testing.mk index f199367141..9dd38d6707 100644 --- a/build/scripts/testing.mk +++ b/build/scripts/testing.mk @@ -40,49 +40,6 @@ start-bartio: CHAIN_SPEC=$(TESTNET_CHAIN_SPEC) \ ${TESTAPP_FILES_DIR}/entrypoint.sh -####################################################### -# Start `beacond` using docker image connected to bArtio # -####################################################### -# TODO: For restoring snapshot, pre-requsites: -# Place the snapshot in the `./.tmp/beacond/data` directory. - -IP_ADDRESS := $(shell hostname -I | awk '{print $$1}') -RPC_URL = "http://${IP_ADDRESS}:8551" -IMAGE_NAME = beacond -VERSION = kurtosis-local - -IMAGE_EXISTS := $(shell docker image ls -q $(IMAGE_NAME):$(VERSION)) - -build-beacond-image: -ifdef IMAGE_EXISTS - @echo "Image $(IMAGE_NAME):$(VERSION) already exists." -else - @echo "Image $(IMAGE_NAME):$(VERSION) does not exist. Building image..." - make build-docker VERSION=kurtosis-local -endif - -start-bartio-docker: build-beacond-image - docker run --rm \ - -v $(PWD)/${TESTAPP_FILES_DIR}:/${TESTAPP_FILES_DIR} \ - -v $(PWD)/${BARTIO_NETWORK_FILES_DIR}:/${BARTIO_NETWORK_FILES_DIR} \ - -v $(PWD)/.tmp:/.tmp \ - -e CHAIN_SPEC=testnet \ - ${IMAGE_NAME}:${VERSION} \ - start \ - --home "./.tmp/beacond" \ - --pruning=nothing \ - --api.enable \ - --api.enabled-unsafe-cors \ - --beacon-kit.engine.jwt-secret-path ${JWT_PATH} \ - --beacon-kit.engine.rpc-dial-url=${RPC_URL} \ - --beacon-kit.node-api.enabled \ - --beacon-kit.node-api.logging \ - --beacon-kit.node-api.address \ - --beacon-kit.block-store-service.enabled \ - --beacon-kit.block-store-service.pruner-enabled \ - --beacon-kit.logger.log-level info - -####################################################### # start-ipc is currently only supported while running eth client the host machine # Only works with geth-host rn start-ipc: ## start a local ephemeral `beacond` node with IPC