Documentation ¶
Index ¶
- func MsgAdvanceEpochExec(clientCtx client.Context, from string, extraAtgs ...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)
- func NewAppConstructor(encodingCfg params.EncodingConfig, db *dbm.MemDB) network.AppConstructor
- func NewConfig(dbm *dbm.MemDB) network.Config
- 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) TestCmdQueryRewards()
- func (s *QueryCmdTestSuite) TestCmdQueryStakings()
- func (s *QueryCmdTestSuite) TestCmdQueryTotalStakings()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MsgAdvanceEpochExec ¶ added in v0.1.1
func MsgAdvanceEpochExec(clientCtx client.Context, from string, extraAtgs ...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 ¶ added in v0.1.1
func MsgSendExec(clientCtx client.Context, from string, to string, amount string, extraAtgs ...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.
func NewAppConstructor ¶
func NewAppConstructor(encodingCfg params.EncodingConfig, db *dbm.MemDB) network.AppConstructor
NewAppConstructor returns a new network AppConstructor.
Types ¶
type IntegrationTestSuite ¶ added in v0.1.1
func (*IntegrationTestSuite) SetupTest ¶ added in v0.1.1
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.1.1
func (s *IntegrationTestSuite) TearDownTest()
TearDownTest cleans up the current test network after each test in the suite.
func (*IntegrationTestSuite) TestNewCreateFixedAmountPlanCmd ¶ added in v0.1.1
func (s *IntegrationTestSuite) TestNewCreateFixedAmountPlanCmd()
func (*IntegrationTestSuite) TestNewCreateRatioPlanCmd ¶ added in v0.1.1
func (s *IntegrationTestSuite) TestNewCreateRatioPlanCmd()
func (*IntegrationTestSuite) TestNewHarvestCmd ¶ added in v0.1.1
func (s *IntegrationTestSuite) TestNewHarvestCmd()
func (*IntegrationTestSuite) TestNewStakeCmd ¶ added in v0.1.1
func (s *IntegrationTestSuite) TestNewStakeCmd()
func (*IntegrationTestSuite) TestNewUnstakeCmd ¶ added in v0.1.1
func (s *IntegrationTestSuite) TestNewUnstakeCmd()
type QueryCmdTestSuite ¶ added in v0.1.1
func (*QueryCmdTestSuite) SetupSuite ¶ added in v0.1.1
func (s *QueryCmdTestSuite) SetupSuite()
func (*QueryCmdTestSuite) TearDownSuite ¶ added in v0.1.1
func (s *QueryCmdTestSuite) TearDownSuite()
func (*QueryCmdTestSuite) TestCmdQueryCurrentEpochDays ¶ added in v0.1.1
func (s *QueryCmdTestSuite) TestCmdQueryCurrentEpochDays()
func (*QueryCmdTestSuite) TestCmdQueryParams ¶ added in v0.1.1
func (s *QueryCmdTestSuite) TestCmdQueryParams()
func (*QueryCmdTestSuite) TestCmdQueryPlan ¶ added in v0.1.1
func (s *QueryCmdTestSuite) TestCmdQueryPlan()
func (*QueryCmdTestSuite) TestCmdQueryPlans ¶ added in v0.1.1
func (s *QueryCmdTestSuite) TestCmdQueryPlans()
func (*QueryCmdTestSuite) TestCmdQueryRewards ¶ added in v0.1.1
func (s *QueryCmdTestSuite) TestCmdQueryRewards()
func (*QueryCmdTestSuite) TestCmdQueryStakings ¶ added in v0.1.1
func (s *QueryCmdTestSuite) TestCmdQueryStakings()
func (*QueryCmdTestSuite) TestCmdQueryTotalStakings ¶ added in v0.1.1
func (s *QueryCmdTestSuite) TestCmdQueryTotalStakings()