From 23b3a50c20b81d792b2a1deae13a1e5b6d780fda Mon Sep 17 00:00:00 2001 From: MSalopek Date: Tue, 10 Dec 2024 17:22:20 +0100 Subject: [PATCH] tests: appease linter --- tests/integration/democracy.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/integration/democracy.go b/tests/integration/democracy.go index 7e49734df7..993a0d1bec 100644 --- a/tests/integration/democracy.go +++ b/tests/integration/democracy.go @@ -233,6 +233,13 @@ func (s *ConsumerDemocracyTestSuite) TestDemocracyMsgUpdateParams() { s.Assert().Equal(votersOldBalances, getAccountsBalances(s.consumerCtx(), bankKeeper, bondDenom, votingAccounts)) } +// TestDemocracyValidatorUnjail checks that the consumer validator can be unjailed when there is a standalone staking keeper available. +// @Long Description@ +// * Set up a democracy consumer chain. +// * Jail a validator. +// * Check that the validator is jailed. +// * Unjail the validator. +// * Check that the validator is unjailed. func (s *ConsumerDemocracyTestSuite) TestDemocracyValidatorUnjail() { stakingKeeper := s.consumerApp.GetTestStakingKeeper() consumerKeeper := s.consumerApp.GetConsumerKeeper()