From db29cb08a6c73a37f5296d5bceffc182be56d234 Mon Sep 17 00:00:00 2001 From: Jimmy Chen Date: Wed, 21 Dec 2022 00:18:05 +1100 Subject: [PATCH 1/2] Add bootnode binary variable in testnet scripts --- scripts/local_testnet/el_bootnode.sh | 2 +- scripts/local_testnet/vars.env | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/local_testnet/el_bootnode.sh b/scripts/local_testnet/el_bootnode.sh index 1f96bce2c..b22812dd9 100755 --- a/scripts/local_testnet/el_bootnode.sh +++ b/scripts/local_testnet/el_bootnode.sh @@ -1,4 +1,4 @@ priv_key="02fd74636e96a8ffac8e7b01b0de8dea94d6bcf4989513b38cf59eb32163ff91" -/home/sean/CLionProjects/eip4844-interop/geth/go-ethereum/build/bin/bootnode --nodekeyhex $priv_key \ No newline at end of file +$BOOTNODE_BINARY --nodekeyhex $priv_key \ No newline at end of file diff --git a/scripts/local_testnet/vars.env b/scripts/local_testnet/vars.env index dbfc41e91..9a7c22ea5 100644 --- a/scripts/local_testnet/vars.env +++ b/scripts/local_testnet/vars.env @@ -1,4 +1,5 @@ GETH_BINARY=geth +BOOTNODE_BINARY=bootnode # Base directories for the validator keys and secrets DATADIR=~/.lighthouse/local-testnet From c76e371559c1d057aac9b22cbb47e2689ef7af7e Mon Sep 17 00:00:00 2001 From: Jimmy Chen Date: Wed, 21 Dec 2022 00:29:15 +1100 Subject: [PATCH 2/2] Add missing source --- scripts/local_testnet/el_bootnode.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/local_testnet/el_bootnode.sh b/scripts/local_testnet/el_bootnode.sh index b22812dd9..1b8834b89 100755 --- a/scripts/local_testnet/el_bootnode.sh +++ b/scripts/local_testnet/el_bootnode.sh @@ -1,4 +1,5 @@ priv_key="02fd74636e96a8ffac8e7b01b0de8dea94d6bcf4989513b38cf59eb32163ff91" +source ./vars.env $BOOTNODE_BINARY --nodekeyhex $priv_key \ No newline at end of file