diff --git a/cicd/Dockerfile b/cicd/Dockerfile index 9baa552747..79af8bccf7 100644 --- a/cicd/Dockerfile +++ b/cicd/Dockerfile @@ -26,7 +26,6 @@ WORKDIR /work RUN apk add --no-cache bash curl - COPY --from=builder /builder/build/bin/puppeth /usr/bin COPY --from=builder /builder/build/bin/XDC-local /usr/bin COPY --from=builder /builder/build/bin/XDC-devnet /usr/bin diff --git a/cicd/local/start.sh b/cicd/local/start.sh index 886f913026..18fa4c6ebc 100755 --- a/cicd/local/start.sh +++ b/cicd/local/start.sh @@ -24,13 +24,6 @@ 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/cmd/puppeth/wizard.go b/cmd/puppeth/wizard.go index efde23db86..aa33da5df8 100644 --- a/cmd/puppeth/wizard.go +++ b/cmd/puppeth/wizard.go @@ -39,7 +39,7 @@ import ( // between sessions. type config struct { path string // Output file containing the configuration values - inpath string // Input file to read genesis generation parameters (optional) + inpath string // Input file to read genesis generation parameters (optional) bootnodes []string // Bootnodes to always connect to by all nodes ethstats string // Ethstats settings to cache for node deploys diff --git a/cmd/puppeth/wizard_genesis.go b/cmd/puppeth/wizard_genesis.go index e0e0460aa5..8abc778090 100644 --- a/cmd/puppeth/wizard_genesis.go +++ b/cmd/puppeth/wizard_genesis.go @@ -231,7 +231,7 @@ func (w *wizard) makeGenesis() { genesis.Config.XDPoS.V2.CurrentConfig.CertThreshold = w.readDefaultFloat(0.667) } genesis.Config.XDPoS.V2.CurrentConfig.MaxMasternodes = 108 - //TODO: config to add after rewards upgrade enabled + // TODO: config to add after rewards upgrade enabled // genesis.Config.XDPoS.V2.CurrentConfig.MaxProtectornodes // genesis.Config.XDPoS.V2.CurrentConfig.MaxObservernodes // genesis.Config.XDPoS.V2.CurrentConfig.MinProtectornodes