@@ -41,7 +41,7 @@ func TestInitGenesis(t *testing.T) {
41
41
Status : types .Bonded ,
42
42
Tokens : valTokens ,
43
43
DelegatorShares : math .LegacyNewDecFromInt (valTokens ),
44
- Description : types .NewDescription ("hoop" , "" , "" , "" , "" , types.Metadata {}),
44
+ Description : types .NewDescription ("hoop" , "" , "" , "" , "" , & types.Metadata {}),
45
45
}
46
46
assert .NilError (t , f .stakingKeeper .SetValidator (f .sdkCtx , bondedVal ))
47
47
@@ -67,15 +67,15 @@ func TestInitGenesis(t *testing.T) {
67
67
Status : types .Bonded ,
68
68
Tokens : valTokens ,
69
69
DelegatorShares : math .LegacyNewDecFromInt (valTokens ),
70
- Description : types .NewDescription ("hoop" , "" , "" , "" , "" , types.Metadata {}),
70
+ Description : types .NewDescription ("hoop" , "" , "" , "" , "" , & types.Metadata {}),
71
71
}
72
72
bondedVal2 := types.Validator {
73
73
OperatorAddress : sdk .ValAddress (addrs [2 ]).String (),
74
74
ConsensusPubkey : pk2 ,
75
75
Status : types .Bonded ,
76
76
Tokens : valTokens ,
77
77
DelegatorShares : math .LegacyNewDecFromInt (valTokens ),
78
- Description : types .NewDescription ("bloop" , "" , "" , "" , "" , types.Metadata {}),
78
+ Description : types .NewDescription ("bloop" , "" , "" , "" , "" , & types.Metadata {}),
79
79
}
80
80
81
81
// append new bonded validators to the list
@@ -148,7 +148,7 @@ func TestInitGenesis_PoolsBalanceMismatch(t *testing.T) {
148
148
Jailed : false ,
149
149
Tokens : math .NewInt (10 ),
150
150
DelegatorShares : math .LegacyNewDecFromInt (math .NewInt (10 )),
151
- Description : types .NewDescription ("bloop" , "" , "" , "" , "" , types.Metadata {}),
151
+ Description : types .NewDescription ("bloop" , "" , "" , "" , "" , & types.Metadata {}),
152
152
}
153
153
154
154
params := types.Params {
@@ -195,7 +195,7 @@ func TestInitGenesisLargeValidatorSet(t *testing.T) {
195
195
validators [i ], err = types .NewValidator (
196
196
sdk .ValAddress (addrs [i ]).String (),
197
197
PKs [i ],
198
- types .NewDescription (fmt .Sprintf ("#%d" , i ), "" , "" , "" , "" , types.Metadata {}),
198
+ types .NewDescription (fmt .Sprintf ("#%d" , i ), "" , "" , "" , "" , & types.Metadata {}),
199
199
)
200
200
assert .NilError (t , err )
201
201
validators [i ].Status = types .Bonded
0 commit comments