Browse Source

Merge pull request #2082 from tendermint/release/0.22.8

HotFix for 0.22.7, bump to 0.22.8
pull/2085/head v0.22.8-autodraft
Jae Kwon 6 years ago
committed by GitHub
parent
commit
40d6dc2ee5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 21 additions and 15 deletions
  1. +8
    -0
      CHANGELOG.md
  2. +1
    -3
      blockchain/wire.go
  3. +1
    -3
      consensus/types/wire.go
  4. +2
    -2
      consensus/wire.go
  5. +2
    -2
      lite/files/wire.go
  6. +1
    -3
      rpc/core/types/wire.go
  7. +4
    -0
      types/wire.go
  8. +2
    -2
      version/version.go

+ 8
- 0
CHANGELOG.md View File

@ -1,5 +1,13 @@
# Changelog
## 0.22.8
*July 26th, 2018*
BUG FIXES
- [consensus, blockchain] Fix 0.22.7 below.
## 0.22.7
*July 26th, 2018*


+ 1
- 3
blockchain/wire.go View File

@ -2,7 +2,6 @@ package blockchain
import (
"github.com/tendermint/go-amino"
cryptoAmino "github.com/tendermint/tendermint/crypto/encoding/amino"
"github.com/tendermint/tendermint/types"
)
@ -10,6 +9,5 @@ var cdc = amino.NewCodec()
func init() {
RegisterBlockchainMessages(cdc)
cryptoAmino.RegisterAmino(cdc)
types.RegisterEvidences(cdc)
types.RegisterBlockAmino(cdc)
}

+ 1
- 3
consensus/types/wire.go View File

@ -2,13 +2,11 @@ package types
import (
"github.com/tendermint/go-amino"
cryptoAmino "github.com/tendermint/tendermint/crypto/encoding/amino"
"github.com/tendermint/tendermint/types"
)
var cdc = amino.NewCodec()
func init() {
cryptoAmino.RegisterAmino(cdc)
types.RegisterEvidences(cdc)
types.RegisterBlockAmino(cdc)
}

+ 2
- 2
consensus/wire.go View File

@ -2,7 +2,7 @@ package consensus
import (
"github.com/tendermint/go-amino"
cryptoAmino "github.com/tendermint/tendermint/crypto/encoding/amino"
"github.com/tendermint/tendermint/types"
)
var cdc = amino.NewCodec()
@ -10,5 +10,5 @@ var cdc = amino.NewCodec()
func init() {
RegisterConsensusMessages(cdc)
RegisterWALMessages(cdc)
cryptoAmino.RegisterAmino(cdc)
types.RegisterBlockAmino(cdc)
}

+ 2
- 2
lite/files/wire.go View File

@ -2,11 +2,11 @@ package files
import (
"github.com/tendermint/go-amino"
cryptoAmino "github.com/tendermint/tendermint/crypto/encoding/amino"
"github.com/tendermint/tendermint/types"
)
var cdc = amino.NewCodec()
func init() {
cryptoAmino.RegisterAmino(cdc)
types.RegisterBlockAmino(cdc)
}

+ 1
- 3
rpc/core/types/wire.go View File

@ -2,12 +2,10 @@ package core_types
import (
"github.com/tendermint/go-amino"
cryptoAmino "github.com/tendermint/tendermint/crypto/encoding/amino"
"github.com/tendermint/tendermint/types"
)
func RegisterAmino(cdc *amino.Codec) {
types.RegisterEventDatas(cdc)
types.RegisterEvidences(cdc)
cryptoAmino.RegisterAmino(cdc)
types.RegisterBlockAmino(cdc)
}

+ 4
- 0
types/wire.go View File

@ -8,6 +8,10 @@ import (
var cdc = amino.NewCodec()
func init() {
RegisterBlockAmino(cdc)
}
func RegisterBlockAmino(cdc *amino.Codec) {
cryptoAmino.RegisterAmino(cdc)
RegisterEvidences(cdc)
}

+ 2
- 2
version/version.go View File

@ -4,13 +4,13 @@ package version
const (
Maj = "0"
Min = "22"
Fix = "7"
Fix = "8"
)
var (
// Version is the current version of Tendermint
// Must be a string because scripts like dist.sh read this file.
Version = "0.22.7"
Version = "0.22.8"
// GitCommit is the current HEAD set using ldflags.
GitCommit string


Loading…
Cancel
Save