Skip to content

Commit

Permalink
chore: 1
Browse files Browse the repository at this point in the history
  • Loading branch information
wnjoon committed Jan 13, 2025
1 parent aeeb4cb commit 798e497
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/e2e/configurer/upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import (
"encoding/hex"
"encoding/json"
"fmt"
"log"
"os"
"path/filepath"
"sync"
Expand Down Expand Up @@ -260,6 +261,9 @@ func (uc *UpgradeConfigurer) upgradeContainers(chainConfig *chain.Config, propHe
uc.containerManager.CurrentTag = "latest"

for _, node := range chainConfig.NodeConfigs {

Check failure on line 263 in test/e2e/configurer/upgrade.go

View workflow job for this annotation

GitHub Actions / lint_test / lint

unnecessary leading newline (whitespace)

log.Print("consensus key: ", node.ConsensusKey)

if err := saveIfNotExists(node); err != nil {
return err
}
Expand All @@ -279,6 +283,7 @@ func saveIfNotExists(cfg *chain.NodeConfig) error {
if !cmtos.FileExists(filepath.Join(nodeDir, cmtCfg.DefaultConfig().PrivValidatorKeyFile())) {
return signer.GeneratePrivSigner(nodeDir)
}
log.Print("file is exists: ", filepath.Join(nodeDir, cmtCfg.DefaultConfig().PrivValidatorKeyFile()))
return nil
}

Expand Down

0 comments on commit 798e497

Please sign in to comment.