From 03abbdd8a609f0c3dd03d591140aba2dd7b552c4 Mon Sep 17 00:00:00 2001 From: MSalopek Date: Wed, 18 Oct 2023 15:28:05 +0200 Subject: [PATCH] tests: fix consumer/keeper/validators_test.go --- x/ccv/consumer/keeper/validators_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/ccv/consumer/keeper/validators_test.go b/x/ccv/consumer/keeper/validators_test.go index 1942e35434..91009457a4 100644 --- a/x/ccv/consumer/keeper/validators_test.go +++ b/x/ccv/consumer/keeper/validators_test.go @@ -145,7 +145,7 @@ func TestIsValidatorJailed(t *testing.T) { // At this point, the state of the consumer keeper is s.t. IsValidatorJailed() queries the standalone staking keeper // Now mock that a validator is jailed from the standalone staking keeper - mocks.MockStakingKeeper.EXPECT().IsValidatorJailed(ctx, consAddr).Return(true).Times(1) + mocks.MockStakingKeeper.EXPECT().IsValidatorJailed(ctx, consAddr).Return(true, nil).Times(1) // Confirm IsValidatorJailed returns true isJailed3, err := consumerKeeper.IsValidatorJailed(ctx, consAddr)