Documentation
¶
Index ¶
- 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 IntegrationTestSuite
- func (s *IntegrationTestSuite) SetupSuite()
- func (s *IntegrationTestSuite) TearDownSuite()
- func (s *IntegrationTestSuite) TestCmdGetProposal()
- func (s *IntegrationTestSuite) TestCmdGetProposals()
- func (s *IntegrationTestSuite) TestCmdParam()
- func (s *IntegrationTestSuite) TestCmdParams()
- func (s *IntegrationTestSuite) TestCmdProposer()
- func (s *IntegrationTestSuite) TestCmdQueryDeposit()
- func (s *IntegrationTestSuite) TestCmdQueryDeposits()
- func (s *IntegrationTestSuite) TestCmdQueryVote()
- func (s *IntegrationTestSuite) TestCmdQueryVotes()
- func (s *IntegrationTestSuite) TestCmdTally()
- func (s *IntegrationTestSuite) TestNewCmdDeposit()
- func (s *IntegrationTestSuite) TestNewCmdSubmitProposal()
- func (s *IntegrationTestSuite) TestNewCmdVote()
- func (s *IntegrationTestSuite) TestNewCmdWeightedVote()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 IntegrationTestSuite ¶
func NewIntegrationTestSuite ¶
func NewIntegrationTestSuite(cfg network.Config) *IntegrationTestSuite
func (*IntegrationTestSuite) SetupSuite ¶
func (s *IntegrationTestSuite) SetupSuite()
func (*IntegrationTestSuite) TearDownSuite ¶
func (s *IntegrationTestSuite) TearDownSuite()
func (*IntegrationTestSuite) TestCmdGetProposal ¶
func (s *IntegrationTestSuite) TestCmdGetProposal()
func (*IntegrationTestSuite) TestCmdGetProposals ¶
func (s *IntegrationTestSuite) TestCmdGetProposals()
func (*IntegrationTestSuite) TestCmdParam ¶
func (s *IntegrationTestSuite) TestCmdParam()
func (*IntegrationTestSuite) TestCmdParams ¶
func (s *IntegrationTestSuite) TestCmdParams()
func (*IntegrationTestSuite) TestCmdProposer ¶
func (s *IntegrationTestSuite) TestCmdProposer()
func (*IntegrationTestSuite) TestCmdQueryDeposit ¶
func (s *IntegrationTestSuite) TestCmdQueryDeposit()
func (*IntegrationTestSuite) TestCmdQueryDeposits ¶
func (s *IntegrationTestSuite) TestCmdQueryDeposits()
func (*IntegrationTestSuite) TestCmdQueryVote ¶
func (s *IntegrationTestSuite) TestCmdQueryVote()
func (*IntegrationTestSuite) TestCmdQueryVotes ¶
func (s *IntegrationTestSuite) TestCmdQueryVotes()
func (*IntegrationTestSuite) TestCmdTally ¶
func (s *IntegrationTestSuite) TestCmdTally()
func (*IntegrationTestSuite) TestNewCmdDeposit ¶
func (s *IntegrationTestSuite) TestNewCmdDeposit()
func (*IntegrationTestSuite) TestNewCmdSubmitProposal ¶
func (s *IntegrationTestSuite) TestNewCmdSubmitProposal()
func (*IntegrationTestSuite) TestNewCmdVote ¶
func (s *IntegrationTestSuite) TestNewCmdVote()
func (*IntegrationTestSuite) TestNewCmdWeightedVote ¶
func (s *IntegrationTestSuite) TestNewCmdWeightedVote()
Click to show internal directories.
Click to hide internal directories.