style: make lint-fix everything (#15631)
Co-authored-by: Julien Robert <julien@rbrt.fr>
This commit is contained in:
co-authored by
Julien Robert
parent
d9e04c56c6
commit
b009a75eea
@@ -408,7 +408,7 @@ func TestAminoJSON_LegacyParity(t *testing.T) {
|
||||
// represent the array as nil, and a subsequent marshal to JSON represent the array as null instead of empty.
|
||||
roundTripUnequal bool
|
||||
|
||||
// pulsar does not support marshalling a math.Dec as anything except a string. Therefore, we cannot unmarshal
|
||||
// pulsar does not support marshaling a math.Dec as anything except a string. Therefore, we cannot unmarshal
|
||||
// a pulsar encoded Math.dec (the string representation of a Decimal) into a gogo Math.dec (expecting an int64).
|
||||
protoUnmarshalFails bool
|
||||
}{
|
||||
|
||||
@@ -297,7 +297,7 @@ func TestSlashWithUnbondingDelegation(t *testing.T) {
|
||||
// slash validator again
|
||||
// all originally bonded stake has been slashed, so this will have no effect
|
||||
// on the unbonding delegation, but it will slash stake bonded since the infraction
|
||||
// this may not be the desirable behaviour, ref https://github.com/cosmos/cosmos-sdk/issues/1440
|
||||
// this may not be the desirable behavior, ref https://github.com/cosmos/cosmos-sdk/issues/1440
|
||||
ctx = ctx.WithBlockHeight(13)
|
||||
app.StakingKeeper.Slash(ctx, consAddr, 9, 10, fraction)
|
||||
|
||||
@@ -323,7 +323,7 @@ func TestSlashWithUnbondingDelegation(t *testing.T) {
|
||||
// slash validator again
|
||||
// all originally bonded stake has been slashed, so this will have no effect
|
||||
// on the unbonding delegation, but it will slash stake bonded since the infraction
|
||||
// this may not be the desirable behaviour, ref https://github.com/cosmos/cosmos-sdk/issues/1440
|
||||
// this may not be the desirable behavior, ref https://github.com/cosmos/cosmos-sdk/issues/1440
|
||||
ctx = ctx.WithBlockHeight(13)
|
||||
app.StakingKeeper.Slash(ctx, consAddr, 9, 10, fraction)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user