Documentation ¶
Index ¶
- func MsgDeposit(clientCtx client.Context, from, id, deposit string, extraArgs ...string) (testutil.BufferWriter, error)
- func MsgSubmitProposal(clientCtx client.Context, from, title, description, proposalType string, ...) (testutil.BufferWriter, error)
- func MsgVote(clientCtx client.Context, from, id, vote string, extraArgs ...string) (testutil.BufferWriter, error)
- type DepositTestSuite
- func (s *DepositTestSuite) SetupSuite()
- func (s *DepositTestSuite) TearDownSuite()
- func (s *DepositTestSuite) TestQueryDepositsInitialDeposit()
- func (s *DepositTestSuite) TestQueryDepositsWithoutInitialDeposit()
- func (s *DepositTestSuite) TestQueryProposalNotEnoughDeposits()
- func (s *DepositTestSuite) TestRejectedProposalDeposits()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MsgDeposit ¶
func MsgSubmitProposal ¶
func MsgSubmitProposal(clientCtx client.Context, from, title, description, proposalType string, extraArgs ...string) (testutil.BufferWriter, error)
MsgSubmitProposal creates a tx for submit proposal
Types ¶
type DepositTestSuite ¶
func NewDepositTestSuite ¶
func NewDepositTestSuite(cfg network.Config) *DepositTestSuite
func (*DepositTestSuite) SetupSuite ¶
func (s *DepositTestSuite) SetupSuite()
func (*DepositTestSuite) TearDownSuite ¶
func (s *DepositTestSuite) TearDownSuite()
func (*DepositTestSuite) TestQueryDepositsInitialDeposit ¶
func (s *DepositTestSuite) TestQueryDepositsInitialDeposit()
func (*DepositTestSuite) TestQueryDepositsWithoutInitialDeposit ¶
func (s *DepositTestSuite) TestQueryDepositsWithoutInitialDeposit()
func (*DepositTestSuite) TestQueryProposalNotEnoughDeposits ¶
func (s *DepositTestSuite) TestQueryProposalNotEnoughDeposits()
func (*DepositTestSuite) TestRejectedProposalDeposits ¶
func (s *DepositTestSuite) TestRejectedProposalDeposits()
Click to show internal directories.
Click to hide internal directories.