Skip to content

Commit

Permalink
Merge pull request #749 from XinFinOrg/devnet-bootnode
Browse files Browse the repository at this point in the history
Devnet bootnode
  • Loading branch information
wanwiset25 authored Dec 2, 2024
2 parents e257b52 + c369253 commit 9cf63d5
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 5 deletions.
7 changes: 2 additions & 5 deletions cicd/devnet/bootnodes.list
Original file line number Diff line number Diff line change
@@ -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
enode://00d49d72a48164681906ad61924568da0d3049937efdbaed0b7533e34a99f55814f1839d909cdc82f78e04a36ac04737d80b41b22905c7d6cac3c80bb5cdbbc4@66.94.98.186:30301
enode://d6793b02a478f13ed6d01c30778935f6f8f7461a75aebedcb310def4ed9b066f995a0dca046d0c7ea7f5ffdd8e3f1f53c6b6dce909d1693650504921aad62f1a@194.163.167.177:30301
7 changes: 7 additions & 0 deletions cicd/devnet/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
7 changes: 7 additions & 0 deletions cicd/mainnet/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
7 changes: 7 additions & 0 deletions cicd/testnet/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 9cf63d5

Please sign in to comment.