Skip to content

Commit

Permalink
Expand docstring for TestAllocateTokens
Browse files Browse the repository at this point in the history
  • Loading branch information
p-offtermatt committed Jul 23, 2024
1 parent 398aa44 commit 0d54836
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/integration/distribution.go
Original file line number Diff line number Diff line change
Expand Up @@ -717,7 +717,12 @@ func (s *CCVTestSuite) TestIBCTransferMiddleware() {
}

// TestAllocateTokens is a happy-path test of the consumer rewards pool allocation
// to opted-in validators and the community pool
// to opted-in validators and the community pool.
// @Long Description@
// The test sets up a provider chain and multiple consumer chains, and initializes the channels between them.
// It funds the consumer rewards pools on the provider chain and allocates rewards to the consumer chains.
// Then, it begins a new block to cause rewards to be distributed to the validators and the community pool,
// and checks that the rewards are allocated as expected.
func (s *CCVTestSuite) TestAllocateTokens() {
// set up channel and delegate some tokens in order for validator set update to be sent to the consumer chain
s.SetupAllCCVChannels()
Expand Down

0 comments on commit 0d54836

Please sign in to comment.