Documentation ¶
Index ¶
- type E2ETestSuite
- func (s *E2ETestSuite) SetupSuite()
- func (s *E2ETestSuite) TearDownSuite()
- func (s *E2ETestSuite) TestGetCmdQueryCommunityPool()
- func (s *E2ETestSuite) TestGetCmdQueryDelegatorRewards()
- func (s *E2ETestSuite) TestGetCmdQueryParams()
- func (s *E2ETestSuite) TestGetCmdQueryValidatorCommission()
- func (s *E2ETestSuite) TestGetCmdQueryValidatorDistributionInfo()
- func (s *E2ETestSuite) TestGetCmdQueryValidatorOutstandingRewards()
- func (s *E2ETestSuite) TestGetCmdQueryValidatorSlashes()
- func (s *E2ETestSuite) TestNewFundCommunityPoolCmd()
- func (s *E2ETestSuite) TestNewSetWithdrawAddrCmd()
- func (s *E2ETestSuite) TestNewWithdrawAllRewardsCmd()
- func (s *E2ETestSuite) TestNewWithdrawRewardsCmd()
- type GRPCQueryTestSuite
- func (s *GRPCQueryTestSuite) SetupSuite()
- func (s *GRPCQueryTestSuite) TearDownSuite()
- func (s *GRPCQueryTestSuite) TestQueryDelegatorRewardsGRPC()
- func (s *GRPCQueryTestSuite) TestQueryDelegatorValidatorsGRPC()
- func (s *GRPCQueryTestSuite) TestQueryOutstandingRewardsGRPC()
- func (s *GRPCQueryTestSuite) TestQueryParamsGRPC()
- func (s *GRPCQueryTestSuite) TestQuerySlashesGRPC()
- func (s *GRPCQueryTestSuite) TestQueryValidatorCommissionGRPC()
- func (s *GRPCQueryTestSuite) TestQueryValidatorCommunityPoolGRPC()
- func (s *GRPCQueryTestSuite) TestQueryValidatorDistributionInfoGRPC()
- func (s *GRPCQueryTestSuite) TestQueryWithdrawAddressGRPC()
- type WithdrawAllTestSuite
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type E2ETestSuite ¶
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 ¶
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 ¶
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.