@@ -130,7 +130,7 @@ func TestDelegation(t *testing.T) {
130130
131131// tests Get/Set/Remove UnbondingDelegation
132132func TestUnbondingDelegation (t * testing.T ) {
133- ctx , _ , keeper := CreateTestInput (t , false , 0 )
133+ ctx , _ , keeper := CreateTestInput (t , false , 1 )
134134
135135 ubd := types .NewUnbondingDelegation (addrDels [0 ], addrVals [0 ], 0 ,
136136 time .Unix (0 , 0 ), sdk .NewInt (5 ))
@@ -169,7 +169,7 @@ func TestUnbondingDelegation(t *testing.T) {
169169}
170170
171171func TestUnbondDelegation (t * testing.T ) {
172- ctx , _ , keeper := CreateTestInput (t , false , 0 )
172+ ctx , _ , keeper := CreateTestInput (t , false , 1 )
173173 pool := keeper .GetPool (ctx )
174174 startTokens := sdk .TokensFromTendermintPower (10 )
175175 pool .NotBondedTokens = startTokens
@@ -207,7 +207,7 @@ func TestUnbondDelegation(t *testing.T) {
207207}
208208
209209func TestUnbondingDelegationsMaxEntries (t * testing.T ) {
210- ctx , _ , keeper := CreateTestInput (t , false , 0 )
210+ ctx , _ , keeper := CreateTestInput (t , false , 1 )
211211 pool := keeper .GetPool (ctx )
212212 startTokens := sdk .TokensFromTendermintPower (10 )
213213 pool .NotBondedTokens = startTokens
@@ -254,7 +254,7 @@ func TestUnbondingDelegationsMaxEntries(t *testing.T) {
254254// shift it from the bonded to unbonding state and jailed
255255func TestUndelegateSelfDelegationBelowMinSelfDelegation (t * testing.T ) {
256256
257- ctx , _ , keeper := CreateTestInput (t , false , 0 )
257+ ctx , _ , keeper := CreateTestInput (t , false , 1 )
258258 pool := keeper .GetPool (ctx )
259259 startTokens := sdk .TokensFromTendermintPower (20 )
260260 pool .NotBondedTokens = startTokens
@@ -300,7 +300,7 @@ func TestUndelegateSelfDelegationBelowMinSelfDelegation(t *testing.T) {
300300}
301301
302302func TestUndelegateFromUnbondingValidator (t * testing.T ) {
303- ctx , _ , keeper := CreateTestInput (t , false , 0 )
303+ ctx , _ , keeper := CreateTestInput (t , false , 1 )
304304 pool := keeper .GetPool (ctx )
305305 startTokens := sdk .TokensFromTendermintPower (20 )
306306 pool .NotBondedTokens = startTokens
@@ -372,7 +372,7 @@ func TestUndelegateFromUnbondingValidator(t *testing.T) {
372372}
373373
374374func TestUndelegateFromUnbondedValidator (t * testing.T ) {
375- ctx , _ , keeper := CreateTestInput (t , false , 0 )
375+ ctx , _ , keeper := CreateTestInput (t , false , 1 )
376376 pool := keeper .GetPool (ctx )
377377 startTokens := sdk .TokensFromTendermintPower (20 )
378378 pool .NotBondedTokens = startTokens
@@ -447,7 +447,7 @@ func TestUndelegateFromUnbondedValidator(t *testing.T) {
447447}
448448
449449func TestUnbondingAllDelegationFromValidator (t * testing.T ) {
450- ctx , _ , keeper := CreateTestInput (t , false , 0 )
450+ ctx , _ , keeper := CreateTestInput (t , false , 1 )
451451 pool := keeper .GetPool (ctx )
452452 startTokens := sdk .TokensFromTendermintPower (20 )
453453 pool .NotBondedTokens = startTokens
@@ -507,7 +507,7 @@ func TestUnbondingAllDelegationFromValidator(t *testing.T) {
507507
508508// Make sure that that the retrieving the delegations doesn't affect the state
509509func TestGetRedelegationsFromValidator (t * testing.T ) {
510- ctx , _ , keeper := CreateTestInput (t , false , 0 )
510+ ctx , _ , keeper := CreateTestInput (t , false , 1 )
511511
512512 rd := types .NewRedelegation (addrDels [0 ], addrVals [0 ], addrVals [1 ], 0 ,
513513 time .Unix (0 , 0 ), sdk .NewInt (5 ),
@@ -531,7 +531,7 @@ func TestGetRedelegationsFromValidator(t *testing.T) {
531531
532532// tests Get/Set/Remove/Has UnbondingDelegation
533533func TestRedelegation (t * testing.T ) {
534- ctx , _ , keeper := CreateTestInput (t , false , 0 )
534+ ctx , _ , keeper := CreateTestInput (t , false , 1 )
535535
536536 rd := types .NewRedelegation (addrDels [0 ], addrVals [0 ], addrVals [1 ], 0 ,
537537 time .Unix (0 , 0 ), sdk .NewInt (5 ),
@@ -591,7 +591,7 @@ func TestRedelegation(t *testing.T) {
591591}
592592
593593func TestRedelegateToSameValidator (t * testing.T ) {
594- ctx , _ , keeper := CreateTestInput (t , false , 0 )
594+ ctx , _ , keeper := CreateTestInput (t , false , 1 )
595595 pool := keeper .GetPool (ctx )
596596 startTokens := sdk .TokensFromTendermintPower (30 )
597597 pool .NotBondedTokens = startTokens
@@ -614,7 +614,7 @@ func TestRedelegateToSameValidator(t *testing.T) {
614614}
615615
616616func TestRedelegationMaxEntries (t * testing.T ) {
617- ctx , _ , keeper := CreateTestInput (t , false , 0 )
617+ ctx , _ , keeper := CreateTestInput (t , false , 1 )
618618 pool := keeper .GetPool (ctx )
619619 startTokens := sdk .TokensFromTendermintPower (20 )
620620 pool .NotBondedTokens = startTokens
@@ -665,7 +665,7 @@ func TestRedelegationMaxEntries(t *testing.T) {
665665}
666666
667667func TestRedelegateSelfDelegation (t * testing.T ) {
668- ctx , _ , keeper := CreateTestInput (t , false , 0 )
668+ ctx , _ , keeper := CreateTestInput (t , false , 1 )
669669 pool := keeper .GetPool (ctx )
670670 startTokens := sdk .TokensFromTendermintPower (30 )
671671 pool .NotBondedTokens = startTokens
@@ -716,7 +716,7 @@ func TestRedelegateSelfDelegation(t *testing.T) {
716716}
717717
718718func TestRedelegateFromUnbondingValidator (t * testing.T ) {
719- ctx , _ , keeper := CreateTestInput (t , false , 0 )
719+ ctx , _ , keeper := CreateTestInput (t , false , 1 )
720720 pool := keeper .GetPool (ctx )
721721 startTokens := sdk .TokensFromTendermintPower (30 )
722722 pool .NotBondedTokens = startTokens
@@ -795,7 +795,7 @@ func TestRedelegateFromUnbondingValidator(t *testing.T) {
795795}
796796
797797func TestRedelegateFromUnbondedValidator (t * testing.T ) {
798- ctx , _ , keeper := CreateTestInput (t , false , 0 )
798+ ctx , _ , keeper := CreateTestInput (t , false , 1 )
799799 pool := keeper .GetPool (ctx )
800800 startTokens := sdk .TokensFromTendermintPower (30 )
801801 pool .NotBondedTokens = startTokens
0 commit comments