Documentation ¶
Index ¶
- func MsgWithdrawDelegatorRewardExec(clientCtx client.Context, valAddr fmt.Stringer, extraArgs ...string) ([]byte, error)
- 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) TestQueryWithdrawAddressGRPC()
- type IntegrationTestSuite
- func (s *IntegrationTestSuite) SetupSuite()
- func (s *IntegrationTestSuite) TearDownSuite()
- func (s *IntegrationTestSuite) TestGetCmdQueryCommunityPool()
- func (s *IntegrationTestSuite) TestGetCmdQueryDelegatorRewards()
- func (s *IntegrationTestSuite) TestGetCmdQueryParams()
- func (s *IntegrationTestSuite) TestGetCmdQueryValidatorCommission()
- func (s *IntegrationTestSuite) TestGetCmdQueryValidatorOutstandingRewards()
- func (s *IntegrationTestSuite) TestGetCmdQueryValidatorSlashes()
- func (s *IntegrationTestSuite) TestGetCmdSubmitProposal()
- func (s *IntegrationTestSuite) TestNewFundCommunityPoolCmd()
- func (s *IntegrationTestSuite) TestNewSetWithdrawAddrCmd()
- func (s *IntegrationTestSuite) TestNewWithdrawAllRewardsCmd()
- func (s *IntegrationTestSuite) TestNewWithdrawAllTokenizeShareRecordRewardCmd()
- func (s *IntegrationTestSuite) TestNewWithdrawRewardsCmd()
- type WithdrawAllTestSuite
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GRPCQueryTestSuite ¶ added in v1.0.0
func (*GRPCQueryTestSuite) SetupSuite ¶ added in v1.0.0
func (s *GRPCQueryTestSuite) SetupSuite()
func (*GRPCQueryTestSuite) TearDownSuite ¶ added in v1.0.0
func (s *GRPCQueryTestSuite) TearDownSuite()
TearDownSuite cleans up the curret test network after _each_ test.
func (*GRPCQueryTestSuite) TestQueryDelegatorRewardsGRPC ¶ added in v1.0.0
func (s *GRPCQueryTestSuite) TestQueryDelegatorRewardsGRPC()
func (*GRPCQueryTestSuite) TestQueryDelegatorValidatorsGRPC ¶ added in v1.0.0
func (s *GRPCQueryTestSuite) TestQueryDelegatorValidatorsGRPC()
func (*GRPCQueryTestSuite) TestQueryOutstandingRewardsGRPC ¶ added in v1.0.0
func (s *GRPCQueryTestSuite) TestQueryOutstandingRewardsGRPC()
func (*GRPCQueryTestSuite) TestQueryParamsGRPC ¶ added in v1.0.0
func (s *GRPCQueryTestSuite) TestQueryParamsGRPC()
func (*GRPCQueryTestSuite) TestQuerySlashesGRPC ¶ added in v1.0.0
func (s *GRPCQueryTestSuite) TestQuerySlashesGRPC()
func (*GRPCQueryTestSuite) TestQueryValidatorCommissionGRPC ¶ added in v1.0.0
func (s *GRPCQueryTestSuite) TestQueryValidatorCommissionGRPC()
func (*GRPCQueryTestSuite) TestQueryValidatorCommunityPoolGRPC ¶ added in v1.0.0
func (s *GRPCQueryTestSuite) TestQueryValidatorCommunityPoolGRPC()
func (*GRPCQueryTestSuite) TestQueryWithdrawAddressGRPC ¶ added in v1.0.0
func (s *GRPCQueryTestSuite) TestQueryWithdrawAddressGRPC()
type IntegrationTestSuite ¶
func NewIntegrationTestSuite ¶
func NewIntegrationTestSuite(cfg network.Config) *IntegrationTestSuite
func (*IntegrationTestSuite) SetupSuite ¶ added in v1.0.0
func (s *IntegrationTestSuite) SetupSuite()
SetupSuite creates a new network for _each_ integration 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 (*IntegrationTestSuite) TearDownSuite ¶ added in v1.0.0
func (s *IntegrationTestSuite) TearDownSuite()
TearDownSuite cleans up the curret test network after _each_ test.
func (*IntegrationTestSuite) TestGetCmdQueryCommunityPool ¶
func (s *IntegrationTestSuite) TestGetCmdQueryCommunityPool()
func (*IntegrationTestSuite) TestGetCmdQueryDelegatorRewards ¶
func (s *IntegrationTestSuite) TestGetCmdQueryDelegatorRewards()
func (*IntegrationTestSuite) TestGetCmdQueryParams ¶
func (s *IntegrationTestSuite) TestGetCmdQueryParams()
func (*IntegrationTestSuite) TestGetCmdQueryValidatorCommission ¶
func (s *IntegrationTestSuite) TestGetCmdQueryValidatorCommission()
func (*IntegrationTestSuite) TestGetCmdQueryValidatorOutstandingRewards ¶
func (s *IntegrationTestSuite) TestGetCmdQueryValidatorOutstandingRewards()
func (*IntegrationTestSuite) TestGetCmdQueryValidatorSlashes ¶
func (s *IntegrationTestSuite) TestGetCmdQueryValidatorSlashes()
func (*IntegrationTestSuite) TestGetCmdSubmitProposal ¶
func (s *IntegrationTestSuite) TestGetCmdSubmitProposal()
func (*IntegrationTestSuite) TestNewFundCommunityPoolCmd ¶
func (s *IntegrationTestSuite) TestNewFundCommunityPoolCmd()
func (*IntegrationTestSuite) TestNewSetWithdrawAddrCmd ¶
func (s *IntegrationTestSuite) TestNewSetWithdrawAddrCmd()
func (*IntegrationTestSuite) TestNewWithdrawAllRewardsCmd ¶
func (s *IntegrationTestSuite) TestNewWithdrawAllRewardsCmd()
func (*IntegrationTestSuite) TestNewWithdrawAllTokenizeShareRecordRewardCmd ¶ added in v1.0.0
func (s *IntegrationTestSuite) TestNewWithdrawAllTokenizeShareRecordRewardCmd()
func (*IntegrationTestSuite) TestNewWithdrawRewardsCmd ¶
func (s *IntegrationTestSuite) TestNewWithdrawRewardsCmd()
type WithdrawAllTestSuite ¶ added in v1.0.0
func (*WithdrawAllTestSuite) SetupSuite ¶ added in v1.0.0
func (s *WithdrawAllTestSuite) SetupSuite()
func (*WithdrawAllTestSuite) TearDownSuite ¶ added in v1.0.0
func (s *WithdrawAllTestSuite) TearDownSuite()
TearDownSuite cleans up the curret test network after _each_ test.
func (*WithdrawAllTestSuite) TestNewWithdrawAllRewardsGenerateOnly ¶ added in v1.0.0
func (s *WithdrawAllTestSuite) TestNewWithdrawAllRewardsGenerateOnly()
This test requires multiple validators, if I add this test to `IntegrationTestSuite` by increasing `NumValidators` the existing tests are leading to non-determnism so created new suite for this test.