Skip to content

Commit 72c6699

Browse files
committed
fix: update testing signatures
1 parent 429e4ab commit 72c6699

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

testutil/keeper/unit_test_helpers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ func GetTestConsumerAdditionProp() *providertypes.ConsumerAdditionProposal {
280280
types.DefaultCCVTimeoutPeriod,
281281
types.DefaultTransferTimeoutPeriod,
282282
types.DefaultConsumerUnbondingPeriod,
283-
100, // TopN = 100 for replicated security
283+
0, // TopN = 0 for opt-in chain (doesn't require validators for testing)
284284
).(*providertypes.ConsumerAdditionProposal)
285285

286286
return prop

x/ccv/provider/proposal_handler_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ func TestProviderProposalHandler(t *testing.T) {
4646
100000000000,
4747
100000000000,
4848
100000000000,
49+
0, // TopN = 0 for opt-in chain
4950
),
5051
blockTime: hourFromNow, // ctx blocktime is after proposal's spawn time
5152
expValidConsumerAddition: true,

0 commit comments

Comments
 (0)