From 7d41e834e4deab5d58dc219b51df9a4a923d0980 Mon Sep 17 00:00:00 2001 From: wanwiset25 Date: Fri, 29 Nov 2024 10:54:57 +0400 Subject: [PATCH 1/2] new devnet bootnodes --- cicd/devnet/bootnodes.list | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/cicd/devnet/bootnodes.list b/cicd/devnet/bootnodes.list index 72592bff40f8..618052572b94 100644 --- a/cicd/devnet/bootnodes.list +++ b/cicd/devnet/bootnodes.list @@ -1,5 +1,2 @@ -enode://207f812067141e038439acbd18a6e3b5f38fcff7de362d8fe0eb5f153f828ae99cae3270ed653beaa197e3946223d9e2f4a22a5e948177209d046fd095b89626@66.94.121.151:30301 -enode://ec569f5d52cefee5c5405a0c5db720dc7061f3085e0682dd8321413430ddda6a177b85db75b0daf83d2e68760ba3f5beb4ba9e333e7d52072fba4d39b05a0451@194.233.77.19:30301 -enode://cab457c58bc9b94ea9afa428d018179b4773fe90fec16ef958951f5a23adb9627350cea8b56709351766183d85574fc54ba504816b200fa31675a04c25226e9f@66.94.98.186:30301 -enode://751de9e39fe0b8f18585bb4a8b50aa5631fe262e14f579753709631eddcac30be901ca0b5a3878b7686838da7ddca2c61e6d2c5eb3745e6b855289e692068e8d@144.126.140.3:30301 -enode://6bd073ee1085c1dc09427d9f65f0125a75393ac89f0db36f884cc22d61f441403a4c06d8f9a9d3c8e8c08368122bceeeac5f48c83f3d2e87c0da6d5c0eb7cd7e@194.163.167.177:30301 \ No newline at end of file +enode://00d49d72a48164681906ad61924568da0d3049937efdbaed0b7533e34a99f55814f1839d909cdc82f78e04a36ac04737d80b41b22905c7d6cac3c80bb5cdbbc4@66.94.98.186:30301 +enode://d6793b02a478f13ed6d01c30778935f6f8f7461a75aebedcb310def4ed9b066f995a0dca046d0c7ea7f5ffdd8e3f1f53c6b6dce909d1693650504921aad62f1a@194.163.167.177:30301 From c369253b5cf4de4fd38fa604a32b53b14c24676a Mon Sep 17 00:00:00 2001 From: wanwiset25 Date: Fri, 29 Nov 2024 11:29:35 +0400 Subject: [PATCH 2/2] update bootnode check script --- cicd/devnet/start.sh | 7 +++++++ cicd/mainnet/start.sh | 7 +++++++ cicd/testnet/start.sh | 7 +++++++ 3 files changed, 21 insertions(+) diff --git a/cicd/devnet/start.sh b/cicd/devnet/start.sh index dcc6e86ee78b..5a002b96da4b 100755 --- a/cicd/devnet/start.sh +++ b/cicd/devnet/start.sh @@ -24,6 +24,13 @@ do bootnodes="${bootnodes},$line" fi done < "$input" +#check last line since it's not included in "read" command https://stackoverflow.com/questions/12916352/shell-script-read-missing-last-line +if [ -z "${bootnodes}" ] +then + bootnodes=$line +else + bootnodes="${bootnodes},$line" +fi log_level=3 if test -z "$LOG_LEVEL" diff --git a/cicd/mainnet/start.sh b/cicd/mainnet/start.sh index b6bca08f794e..6bb03e14ffc5 100755 --- a/cicd/mainnet/start.sh +++ b/cicd/mainnet/start.sh @@ -24,6 +24,13 @@ do bootnodes="${bootnodes},$line" fi done < "$input" +#check last line since it's not included in "read" command https://stackoverflow.com/questions/12916352/shell-script-read-missing-last-line +if [ -z "${bootnodes}" ] +then + bootnodes=$line +else + bootnodes="${bootnodes},$line" +fi log_level=3 if test -z "$LOG_LEVEL" diff --git a/cicd/testnet/start.sh b/cicd/testnet/start.sh index e506d1df45ec..6918c7a1ef07 100755 --- a/cicd/testnet/start.sh +++ b/cicd/testnet/start.sh @@ -25,6 +25,13 @@ do bootnodes="${bootnodes},$line" fi done < "$input" +#check last line since it's not included in "read" command https://stackoverflow.com/questions/12916352/shell-script-read-missing-last-line +if [ -z "${bootnodes}" ] +then + bootnodes=$line +else + bootnodes="${bootnodes},$line" +fi log_level=3 if test -z "$LOG_LEVEL"