deps: bump TM v0.33.6 (#6580)
Co-authored-by: Marko Baricevic <marbar3778@yahoo.com>
This commit is contained in:
parent
a0f9cc7627
commit
cbb3dca78b
2
go.mod
2
go.mod
|
@ -37,7 +37,7 @@ require (
|
|||
github.com/tendermint/crypto v0.0.0-20191022145703-50d29ede1e15
|
||||
github.com/tendermint/go-amino v0.15.1
|
||||
github.com/tendermint/iavl v0.14.0-rc1
|
||||
github.com/tendermint/tendermint v0.33.5
|
||||
github.com/tendermint/tendermint v0.33.6
|
||||
github.com/tendermint/tm-db v0.5.1
|
||||
google.golang.org/grpc v1.30.0
|
||||
gopkg.in/yaml.v2 v2.3.0
|
||||
|
|
2
go.sum
2
go.sum
|
@ -510,6 +510,8 @@ github.com/tendermint/tendermint v0.33.2 h1:NzvRMTuXJxqSsFed2J7uHmMU5N1CVzSpfi3n
|
|||
github.com/tendermint/tendermint v0.33.2/go.mod h1:25DqB7YvV1tN3tHsjWoc2vFtlwICfrub9XO6UBO+4xk=
|
||||
github.com/tendermint/tendermint v0.33.5 h1:jYgRd9ImkzA9iOyhpmgreYsqSB6tpDa6/rXYPb8HKE8=
|
||||
github.com/tendermint/tendermint v0.33.5/go.mod h1:0yUs9eIuuDq07nQql9BmI30FtYGcEC60Tu5JzB5IezM=
|
||||
github.com/tendermint/tendermint v0.33.6 h1:W4UOsXY4ROJZ3TLLGVVv71VXD4WK2gJRb3gzeced+mg=
|
||||
github.com/tendermint/tendermint v0.33.6/go.mod h1:0yUs9eIuuDq07nQql9BmI30FtYGcEC60Tu5JzB5IezM=
|
||||
github.com/tendermint/tm-db v0.4.1/go.mod h1:JsJ6qzYkCGiGwm5GHl/H5GLI9XLb6qZX7PRe425dHAY=
|
||||
github.com/tendermint/tm-db v0.5.0/go.mod h1:lSq7q5WRR/njf1LnhiZ/lIJHk2S8Y1Zyq5oP/3o9C2U=
|
||||
github.com/tendermint/tm-db v0.5.1 h1:H9HDq8UEA7Eeg13kdYckkgwwkQLBnJGgX4PgLJRhieY=
|
||||
|
|
|
@ -108,14 +108,14 @@ func checkMisbehaviour(
|
|||
|
||||
// - ValidatorSet must have 2/3 similarity with trusted FromValidatorSet
|
||||
// - ValidatorSets on both headers are valid given the last trusted ValidatorSet
|
||||
if err := consensusState.ValidatorSet.VerifyCommitTrusting(
|
||||
if err := consensusState.ValidatorSet.VerifyCommitLightTrusting(
|
||||
evidence.ChainID, evidence.Header1.Commit.BlockID, evidence.Header1.Height,
|
||||
evidence.Header1.Commit, clientState.TrustLevel,
|
||||
); err != nil {
|
||||
return sdkerrors.Wrapf(clienttypes.ErrInvalidEvidence, "validator set in header 1 has too much change from last known validator set: %v", err)
|
||||
}
|
||||
|
||||
if err := consensusState.ValidatorSet.VerifyCommitTrusting(
|
||||
if err := consensusState.ValidatorSet.VerifyCommitLightTrusting(
|
||||
evidence.ChainID, evidence.Header2.Commit.BlockID, evidence.Header2.Height,
|
||||
evidence.Header2.Commit, clientState.TrustLevel,
|
||||
); err != nil {
|
||||
|
|
Loading…
Reference in New Issue