Skip to content

Commit

Permalink
Merge pull request #347 from bnb-chain/develop
Browse files Browse the repository at this point in the history
release: draft release for v0.26.4
  • Loading branch information
forcodedancing authored Apr 26, 2023
2 parents 08920c2 + 76f6c04 commit 3908999
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

##v0.26.4
* [fix] [\#345] (https://github.com/bnb-chain/bnc-cosmos-sdk/pull/345) fix: fix validator unmarshal failed issue

##v0.26.3
* [sdk] [\#289] (https://github.com/bnb-chain/bnc-cosmos-sdk/pull/289) feat: implement bep126
* [sdk] [\#335] (https://github.com/bnb-chain/bnc-cosmos-sdk/pull/335) feat: implement new slash mechanism
Expand Down
3 changes: 2 additions & 1 deletion x/stake/types/validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,11 @@ type Validator struct {
SideChainId string `json:"side_chain_id,omitempty"` // side chain id to distinguish different side chains
SideConsAddr []byte `json:"side_cons_addr,omitempty"` // consensus address of the side chain validator, this replaces the `ConsPubKey`
SideFeeAddr []byte `json:"side_fee_addr,omitempty"` // fee address on the side chain
SideVoteAddr []byte `json:"side_vote_addr,omitempty"` // bls vote address on the side chain

StakeSnapshots []sdk.Dec `json:"stake_snapshots,omitempty"` // staked tokens snapshot over a period of time, e.g. 30 days
AccumulatedStake sdk.Dec `json:"accumulated_stake,omitempty"` // accumulated stake, sum of StakeSnapshots

SideVoteAddr []byte `json:"side_vote_addr,omitempty"` // bls vote address on the side chain
}

// NewValidator - initialize a new validator
Expand Down

0 comments on commit 3908999

Please sign in to comment.