Skip to content

Commit aa72e72

Browse files
authored
Merge #2932: Update to Tendermint v0.27.0-dev0
* Update upstream Tendermint version * Update PENDING.md * Fix for accum -> proposer priority
1 parent f7e22cb commit aa72e72

File tree

4 files changed

+13
-14
lines changed

4 files changed

+13
-14
lines changed

Gopkg.lock

Lines changed: 3 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Gopkg.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636

3737
[[override]]
3838
name = "github.com/tendermint/tendermint"
39-
revision = "70a7cae58c8f880aede3b19101e54fb9a7b08c0b"
39+
revision = "v0.27.0-dev0"
4040

4141
## deps without releases:
4242

PENDING.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ BREAKING CHANGES
2525
* [\#2798](https://github.com/cosmos/cosmos-sdk/issues/2798) Governance API has miss-spelled English word in JSON response ('depositer' -> 'depositor')
2626

2727
* Tendermint
28+
- Update to Tendermint 0.27.0
2829

2930

3031
FEATURES

client/rpc/validators.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ func ValidatorCommand() *cobra.Command {
3838

3939
// Validator output in bech32 format
4040
type ValidatorOutput struct {
41-
Address sdk.ValAddress `json:"address"` // in bech32
42-
PubKey string `json:"pub_key"` // in bech32
43-
Accum int64 `json:"accum"`
44-
VotingPower int64 `json:"voting_power"`
41+
Address sdk.ValAddress `json:"address"` // in bech32
42+
PubKey string `json:"pub_key"` // in bech32
43+
ProposerPriority int64 `json:"proposer_priority"`
44+
VotingPower int64 `json:"voting_power"`
4545
}
4646

4747
// Validators at a certain height output in bech32 format
@@ -57,10 +57,10 @@ func bech32ValidatorOutput(validator *tmtypes.Validator) (ValidatorOutput, error
5757
}
5858

5959
return ValidatorOutput{
60-
Address: sdk.ValAddress(validator.Address),
61-
PubKey: bechValPubkey,
62-
Accum: validator.Accum,
63-
VotingPower: validator.VotingPower,
60+
Address: sdk.ValAddress(validator.Address),
61+
PubKey: bechValPubkey,
62+
ProposerPriority: validator.ProposerPriority,
63+
VotingPower: validator.VotingPower,
6464
}, nil
6565
}
6666

0 commit comments

Comments
 (0)