Documentation ¶
Index ¶
- func MsgWithdrawDelegatorRewardExec(clientCtx client.Context, valAddr fmt.Stringer, extraArgs ...string) ([]byte, error)
- type IntegrationTestSuite
- func (s *IntegrationTestSuite) SetupTest()
- func (s *IntegrationTestSuite) TearDownTest()
- 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) TestNewWithdrawAllRewardsGenerateOnly()
- func (s *IntegrationTestSuite) TestNewWithdrawAllTokenizeShareRecordRewardCmd()
- func (s *IntegrationTestSuite) TestNewWithdrawRewardsCmd()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type IntegrationTestSuite ¶ added in v0.43.0
func NewIntegrationTestSuite ¶ added in v0.43.0
func NewIntegrationTestSuite(cfg network.Config) *IntegrationTestSuite
func (*IntegrationTestSuite) SetupTest ¶ added in v0.43.0
func (s *IntegrationTestSuite) SetupTest()
SetupTest 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) TearDownTest ¶ added in v0.43.0
func (s *IntegrationTestSuite) TearDownTest()
TearDownTest cleans up the curret test network after _each_ test.
func (*IntegrationTestSuite) TestGetCmdQueryCommunityPool ¶ added in v0.43.0
func (s *IntegrationTestSuite) TestGetCmdQueryCommunityPool()
func (*IntegrationTestSuite) TestGetCmdQueryDelegatorRewards ¶ added in v0.43.0
func (s *IntegrationTestSuite) TestGetCmdQueryDelegatorRewards()
func (*IntegrationTestSuite) TestGetCmdQueryParams ¶ added in v0.43.0
func (s *IntegrationTestSuite) TestGetCmdQueryParams()
func (*IntegrationTestSuite) TestGetCmdQueryValidatorCommission ¶ added in v0.43.0
func (s *IntegrationTestSuite) TestGetCmdQueryValidatorCommission()
func (*IntegrationTestSuite) TestGetCmdQueryValidatorOutstandingRewards ¶ added in v0.43.0
func (s *IntegrationTestSuite) TestGetCmdQueryValidatorOutstandingRewards()
func (*IntegrationTestSuite) TestGetCmdQueryValidatorSlashes ¶ added in v0.43.0
func (s *IntegrationTestSuite) TestGetCmdQueryValidatorSlashes()
func (*IntegrationTestSuite) TestGetCmdSubmitProposal ¶ added in v0.43.0
func (s *IntegrationTestSuite) TestGetCmdSubmitProposal()
func (*IntegrationTestSuite) TestNewFundCommunityPoolCmd ¶ added in v0.43.0
func (s *IntegrationTestSuite) TestNewFundCommunityPoolCmd()
func (*IntegrationTestSuite) TestNewSetWithdrawAddrCmd ¶ added in v0.43.0
func (s *IntegrationTestSuite) TestNewSetWithdrawAddrCmd()
func (*IntegrationTestSuite) TestNewWithdrawAllRewardsCmd ¶ added in v0.43.0
func (s *IntegrationTestSuite) TestNewWithdrawAllRewardsCmd()
func (*IntegrationTestSuite) TestNewWithdrawAllRewardsGenerateOnly ¶
func (s *IntegrationTestSuite) 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.
func (*IntegrationTestSuite) TestNewWithdrawAllTokenizeShareRecordRewardCmd ¶
func (s *IntegrationTestSuite) TestNewWithdrawAllTokenizeShareRecordRewardCmd()
func (*IntegrationTestSuite) TestNewWithdrawRewardsCmd ¶ added in v0.43.0
func (s *IntegrationTestSuite) TestNewWithdrawRewardsCmd()
Click to show internal directories.
Click to hide internal directories.