Skip to content

Commit

Permalink
Merge pull request #227 from MinterTeam/dev
Browse files Browse the repository at this point in the history
v0.15.2
  • Loading branch information
danil-lashin authored Mar 28, 2019
2 parents 05fc0f3 + d22c48a commit 9b5d612
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 13 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## 0.15.2

IMPROVEMENT

- [cmd] `--show_validator` flag now returns hex public key of a validator
- [tendermint] Update to [v0.31.1](https://github.com/tendermint/tendermint/blob/master/CHANGELOG.md#v0311)

## 0.15.1

IMPROVEMENT
Expand Down
6 changes: 3 additions & 3 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

[[constraint]]
name = "github.com/tendermint/tendermint"
version = "0.31.0"
version = "0.31.1"

[[constraint]]
name = "github.com/MinterTeam/go-amino"
Expand Down
8 changes: 1 addition & 7 deletions cmd/minter/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import (
"github.com/MinterTeam/minter-go-node/genesis"
"github.com/MinterTeam/minter-go-node/gui"
"github.com/MinterTeam/minter-go-node/log"
"github.com/pkg/errors"
"github.com/tendermint/go-amino"
"github.com/tendermint/tendermint/abci/types"
bc "github.com/tendermint/tendermint/blockchain"
Expand Down Expand Up @@ -166,10 +165,5 @@ func showValidator() {
}

pv := privval.LoadFilePV(keyFilePath, cfg.PrivValidatorStateFile())
bz, err := cdc.MarshalJSON(pv.GetPubKey())
if err != nil {
panic(errors.Wrap(err, "failed to marshal private validator pubkey"))
}

fmt.Println(string(bz))
fmt.Printf("Mp%x", pv.GetPubKey().Bytes()[5:])
}
4 changes: 2 additions & 2 deletions version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ package version
const (
Maj = "0"
Min = "15"
Fix = "1"
Fix = "2"

AppVer = 2
)

var (
// Must be a string because scripts like dist.sh read this file.
Version = "0.15.1"
Version = "0.15.2"

// GitCommit is the current HEAD set using ldflags.
GitCommit string
Expand Down

0 comments on commit 9b5d612

Please sign in to comment.