Update testcases & pending
This commit is contained in:
parent
abef57a9e6
commit
d8038fcddc
|
@ -73,6 +73,7 @@ BREAKING CHANGES
|
|||
* [x/stake] \#2412 Added an unbonding validator queue to EndBlock to automatically update validator.Status when finished Unbonding
|
||||
* [x/stake] \#2500 Block conflicting redelegations until we add an index
|
||||
* [x/params] Global Paramstore refactored
|
||||
* [x/stake] \#2508 Utilize Tendermint power for validator power key
|
||||
|
||||
* Tendermint
|
||||
* Update tendermint version from v0.23.0 to v0.25.0, notable changes
|
||||
|
|
|
@ -35,10 +35,10 @@ func TestGetValidatorPowerRank(t *testing.T) {
|
|||
validator types.Validator
|
||||
wantHex string
|
||||
}{
|
||||
{val1, "05303030303030303030303030ffffffffffffffffffff"},
|
||||
{val2, "05303030303030303030303031ffffffffffffffffffff"},
|
||||
{val3, "05303030303030303030303130ffffffffffffffffffff"},
|
||||
{val4, "0531303939353131363237373736ffffffffffffffffffff"},
|
||||
{val1, "050000000000000000ffffffffffffffffffff"},
|
||||
{val2, "050000000000000001ffffffffffffffffffff"},
|
||||
{val3, "05000000000000000affffffffffffffffffff"},
|
||||
{val4, "050000010000000000ffffffffffffffffffff"},
|
||||
}
|
||||
for i, tt := range tests {
|
||||
got := hex.EncodeToString(getValidatorPowerRank(tt.validator))
|
||||
|
|
Loading…
Reference in New Issue