distribution

package
v0.0.0-...-095f669 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2023 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type E2ETestSuite

type E2ETestSuite struct {
	suite.Suite
	// contains filtered or unexported fields
}

func NewE2ETestSuite

func NewE2ETestSuite(cfg network.Config) *E2ETestSuite

func (*E2ETestSuite) SetupSuite

func (s *E2ETestSuite) SetupSuite()

SetupSuite creates a new network for _each_ e2e test. We create a new network for each test because there are some state modifications that are needed to be made in order to make useful queries. However, we don't want these state changes to be present in other tests.

func (*E2ETestSuite) TearDownSuite

func (s *E2ETestSuite) TearDownSuite()

TearDownSuite cleans up the curret test network after _each_ test.

func (*E2ETestSuite) TestGetCmdQueryCommunityPool

func (s *E2ETestSuite) TestGetCmdQueryCommunityPool()

func (*E2ETestSuite) TestGetCmdQueryDelegatorRewards

func (s *E2ETestSuite) TestGetCmdQueryDelegatorRewards()

func (*E2ETestSuite) TestGetCmdQueryParams

func (s *E2ETestSuite) TestGetCmdQueryParams()

func (*E2ETestSuite) TestGetCmdQueryValidatorCommission

func (s *E2ETestSuite) TestGetCmdQueryValidatorCommission()

func (*E2ETestSuite) TestGetCmdQueryValidatorDistributionInfo

func (s *E2ETestSuite) TestGetCmdQueryValidatorDistributionInfo()

func (*E2ETestSuite) TestGetCmdQueryValidatorOutstandingRewards

func (s *E2ETestSuite) TestGetCmdQueryValidatorOutstandingRewards()

func (*E2ETestSuite) TestGetCmdQueryValidatorSlashes

func (s *E2ETestSuite) TestGetCmdQueryValidatorSlashes()

func (*E2ETestSuite) TestNewFundCommunityPoolCmd

func (s *E2ETestSuite) TestNewFundCommunityPoolCmd()

func (*E2ETestSuite) TestNewSetWithdrawAddrCmd

func (s *E2ETestSuite) TestNewSetWithdrawAddrCmd()

func (*E2ETestSuite) TestNewWithdrawAllRewardsCmd

func (s *E2ETestSuite) TestNewWithdrawAllRewardsCmd()

func (*E2ETestSuite) TestNewWithdrawRewardsCmd

func (s *E2ETestSuite) TestNewWithdrawRewardsCmd()

type GRPCQueryTestSuite

type GRPCQueryTestSuite struct {
	suite.Suite
	// contains filtered or unexported fields
}

func (*GRPCQueryTestSuite) SetupSuite

func (s *GRPCQueryTestSuite) SetupSuite()

func (*GRPCQueryTestSuite) TearDownSuite

func (s *GRPCQueryTestSuite) TearDownSuite()

TearDownSuite cleans up the curret test network after _each_ test.

func (*GRPCQueryTestSuite) TestQueryDelegatorRewardsGRPC

func (s *GRPCQueryTestSuite) TestQueryDelegatorRewardsGRPC()

func (*GRPCQueryTestSuite) TestQueryDelegatorValidatorsGRPC

func (s *GRPCQueryTestSuite) TestQueryDelegatorValidatorsGRPC()

func (*GRPCQueryTestSuite) TestQueryOutstandingRewardsGRPC

func (s *GRPCQueryTestSuite) TestQueryOutstandingRewardsGRPC()

func (*GRPCQueryTestSuite) TestQueryParamsGRPC

func (s *GRPCQueryTestSuite) TestQueryParamsGRPC()

func (*GRPCQueryTestSuite) TestQuerySlashesGRPC

func (s *GRPCQueryTestSuite) TestQuerySlashesGRPC()

func (*GRPCQueryTestSuite) TestQueryValidatorCommissionGRPC

func (s *GRPCQueryTestSuite) TestQueryValidatorCommissionGRPC()

func (*GRPCQueryTestSuite) TestQueryValidatorCommunityPoolGRPC

func (s *GRPCQueryTestSuite) TestQueryValidatorCommunityPoolGRPC()

func (*GRPCQueryTestSuite) TestQueryValidatorDistributionInfoGRPC

func (s *GRPCQueryTestSuite) TestQueryValidatorDistributionInfoGRPC()

func (*GRPCQueryTestSuite) TestQueryWithdrawAddressGRPC

func (s *GRPCQueryTestSuite) TestQueryWithdrawAddressGRPC()

type WithdrawAllTestSuite

type WithdrawAllTestSuite struct {
	suite.Suite
	// contains filtered or unexported fields
}

func (*WithdrawAllTestSuite) SetupSuite

func (s *WithdrawAllTestSuite) SetupSuite()

func (*WithdrawAllTestSuite) TearDownSuite

func (s *WithdrawAllTestSuite) TearDownSuite()

TearDownSuite cleans up the curret test network after _each_ test.

func (*WithdrawAllTestSuite) TestNewWithdrawAllRewardsGenerateOnly

func (s *WithdrawAllTestSuite) TestNewWithdrawAllRewardsGenerateOnly()

This test requires multiple validators, if I add this test to `E2ETestSuite` by increasing `NumValidators` the existing tests are leading to non-determnism so created new suite for this test.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL