diff --git a/Makefile b/Makefile index 57e1a5da..98b04277 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ CORE_REPO?=https://github.com/stellar/stellar-core.git CORE_REF?=master CORE_CONFIGURE_FLAGS?=--disable-tests STELLAR_RPC_REF?=main -HORIZON_REF?=$(shell ./scripts/soroban_repo_to_horizon_repo.sh $(STELLAR_RPC_REF)) +HORIZON_REF?=master FRIENDBOT_REF?=$(HORIZON_REF) run: diff --git a/scripts/rpc_repo_to_horizon_repo.sh b/scripts/rpc_repo_to_horizon_repo.sh deleted file mode 100755 index 59675239..00000000 --- a/scripts/rpc_repo_to_horizon_repo.sh +++ /dev/null @@ -1,31 +0,0 @@ -#!/usr/bin/env bash - -# rpc_repo_to_horizon_repo.sh - given an rpc branch to horizon branch -# -# Syntax: rpc_repo_to_horizon_repo.sh -# -# Examples: rpc_repo_to_horizon_repo.sh main - -set -e -set -o pipefail - -if [ "$#" -ne 1 ]; then - echo "Syntax: ${0} " - exit 1 -fi - -GO_MONOREPO=github.com/stellar/go -RPC_BRANCH=$1 -RPC_REPO_GOMOD=https://raw.githubusercontent.com/stellar/stellar-rpc/${RPC_BRANCH}/go.mod - -# find the short commit from the stellar-rpc repository. -SHORT_COMMIT=$(curl -s ${RPC_REPO_GOMOD} -o - | grep "${GO_MONOREPO} " | cut -d- -f3) - -# find the long commit from the actual go repository using the short commit. -TEMPDIR=$(mktemp -d) -git clone -q https://${GO_MONOREPO}.git ${TEMPDIR} -CURRENT_DIR=$(pwd) -cd ${TEMPDIR} -git rev-parse ${SHORT_COMMIT} -rm -rf ${TEMPDIR} -cd ${CURRENT_DIR}