Documentation ¶
Index ¶
- func MsgAdvanceEpochExec(clientCtx client.Context, from string, extraArgs ...string) (testutil.BufferWriter, error)
- func MsgCreateFixedAmountPlanExec(clientCtx client.Context, from string, file string, extraArgs ...string) (testutil.BufferWriter, error)
- func MsgSendExec(clientCtx client.Context, from string, to string, amount string, ...) (testutil.BufferWriter, error)
- func MsgStakeExec(clientCtx client.Context, from string, stakingCoins string, ...) (testutil.BufferWriter, error)
- type IntegrationTestSuite
- func (s *IntegrationTestSuite) SetupTest()
- func (s *IntegrationTestSuite) TearDownTest()
- func (s *IntegrationTestSuite) TestNewCreateFixedAmountPlanCmd()
- func (s *IntegrationTestSuite) TestNewCreateRatioPlanCmd()
- func (s *IntegrationTestSuite) TestNewHarvestCmd()
- func (s *IntegrationTestSuite) TestNewStakeCmd()
- func (s *IntegrationTestSuite) TestNewUnstakeCmd()
- type QueryCmdTestSuite
- func (s *QueryCmdTestSuite) SetupSuite()
- func (s *QueryCmdTestSuite) TearDownSuite()
- func (s *QueryCmdTestSuite) TestCmdQueryCurrentEpochDays()
- func (s *QueryCmdTestSuite) TestCmdQueryParams()
- func (s *QueryCmdTestSuite) TestCmdQueryPlan()
- func (s *QueryCmdTestSuite) TestCmdQueryPlans()
- func (s *QueryCmdTestSuite) TestCmdQueryPosition()
- func (s *QueryCmdTestSuite) TestCmdQueryQueuedStakings()
- func (s *QueryCmdTestSuite) TestCmdQueryRewards()
- func (s *QueryCmdTestSuite) TestCmdQueryStakings()
- func (s *QueryCmdTestSuite) TestCmdQueryTotalStakings()
- func (s *QueryCmdTestSuite) TestCmdQueryUnharvestedRewards()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MsgAdvanceEpochExec ¶
func MsgAdvanceEpochExec(clientCtx client.Context, from string, extraArgs ...string) (testutil.BufferWriter, error)
MsgAdvanceEpochExec creates a transaction to advance epoch by 1.
func MsgCreateFixedAmountPlanExec ¶
func MsgCreateFixedAmountPlanExec(clientCtx client.Context, from string, file string, extraArgs ...string) (testutil.BufferWriter, error)
MsgCreateFixedAmountPlanExec creates a transaction for creating a private fixed amount plan.
func MsgSendExec ¶
func MsgSendExec(clientCtx client.Context, from string, to string, amount string, extraArgs ...string) (testutil.BufferWriter, error)
MsgSendExec creates a transaction to transfer coins.
func MsgStakeExec ¶
func MsgStakeExec(clientCtx client.Context, from string, stakingCoins string, extraArgs ...string) (testutil.BufferWriter, error)
MsgStakeExec creates a transaction for staking coin.
Types ¶
type IntegrationTestSuite ¶
func (*IntegrationTestSuite) SetupTest ¶
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 ¶
func (s *IntegrationTestSuite) TearDownTest()
TearDownTest cleans up the current test network after each test in the suite.
func (*IntegrationTestSuite) TestNewCreateFixedAmountPlanCmd ¶
func (s *IntegrationTestSuite) TestNewCreateFixedAmountPlanCmd()
func (*IntegrationTestSuite) TestNewCreateRatioPlanCmd ¶
func (s *IntegrationTestSuite) TestNewCreateRatioPlanCmd()
func (*IntegrationTestSuite) TestNewHarvestCmd ¶
func (s *IntegrationTestSuite) TestNewHarvestCmd()
func (*IntegrationTestSuite) TestNewStakeCmd ¶
func (s *IntegrationTestSuite) TestNewStakeCmd()
func (*IntegrationTestSuite) TestNewUnstakeCmd ¶
func (s *IntegrationTestSuite) TestNewUnstakeCmd()
type QueryCmdTestSuite ¶
func (*QueryCmdTestSuite) SetupSuite ¶
func (s *QueryCmdTestSuite) SetupSuite()
func (*QueryCmdTestSuite) TearDownSuite ¶
func (s *QueryCmdTestSuite) TearDownSuite()
func (*QueryCmdTestSuite) TestCmdQueryCurrentEpochDays ¶
func (s *QueryCmdTestSuite) TestCmdQueryCurrentEpochDays()
func (*QueryCmdTestSuite) TestCmdQueryParams ¶
func (s *QueryCmdTestSuite) TestCmdQueryParams()
func (*QueryCmdTestSuite) TestCmdQueryPlan ¶
func (s *QueryCmdTestSuite) TestCmdQueryPlan()
func (*QueryCmdTestSuite) TestCmdQueryPlans ¶
func (s *QueryCmdTestSuite) TestCmdQueryPlans()
func (*QueryCmdTestSuite) TestCmdQueryPosition ¶
func (s *QueryCmdTestSuite) TestCmdQueryPosition()
func (*QueryCmdTestSuite) TestCmdQueryQueuedStakings ¶
func (s *QueryCmdTestSuite) TestCmdQueryQueuedStakings()
func (*QueryCmdTestSuite) TestCmdQueryRewards ¶
func (s *QueryCmdTestSuite) TestCmdQueryRewards()
func (*QueryCmdTestSuite) TestCmdQueryStakings ¶
func (s *QueryCmdTestSuite) TestCmdQueryStakings()
func (*QueryCmdTestSuite) TestCmdQueryTotalStakings ¶
func (s *QueryCmdTestSuite) TestCmdQueryTotalStakings()
func (*QueryCmdTestSuite) TestCmdQueryUnharvestedRewards ¶
func (s *QueryCmdTestSuite) TestCmdQueryUnharvestedRewards()
Click to show internal directories.
Click to hide internal directories.