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()
- 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) TestGetParamsGRPC()
- func (s *IntegrationTestSuite) TestGetProposalDepositGRPC()
- func (s *IntegrationTestSuite) TestGetProposalDepositsGRPC()
- func (s *IntegrationTestSuite) TestGetProposalGRPC()
- func (s *IntegrationTestSuite) TestGetProposalVoteGRPC()
- func (s *IntegrationTestSuite) TestGetProposalVotesGRPC()
- func (s *IntegrationTestSuite) TestGetProposalsGRPC()
- func (s *IntegrationTestSuite) TestGetTallyGRPC()
- 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 MsgDeposit ¶ added in v0.45.0
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 ¶ added in v0.45.0
func NewDepositTestSuite ¶ added in v0.45.0
func NewDepositTestSuite(cfg network.Config) *DepositTestSuite
func (*DepositTestSuite) SetupSuite ¶ added in v0.45.0
func (s *DepositTestSuite) SetupSuite()
func (*DepositTestSuite) TearDownSuite ¶ added in v0.45.0
func (s *DepositTestSuite) TearDownSuite()
func (*DepositTestSuite) TestQueryDepositsInitialDeposit ¶ added in v0.45.0
func (s *DepositTestSuite) TestQueryDepositsInitialDeposit()
func (*DepositTestSuite) TestQueryDepositsWithoutInitialDeposit ¶ added in v0.45.0
func (s *DepositTestSuite) TestQueryDepositsWithoutInitialDeposit()
func (*DepositTestSuite) TestQueryProposalNotEnoughDeposits ¶ added in v0.45.0
func (s *DepositTestSuite) TestQueryProposalNotEnoughDeposits()
func (*DepositTestSuite) TestRejectedProposalDeposits ¶ added in v0.45.0
func (s *DepositTestSuite) TestRejectedProposalDeposits()
type IntegrationTestSuite ¶ added in v0.46.0
func NewIntegrationTestSuite ¶ added in v0.46.0
func NewIntegrationTestSuite(cfg network.Config) *IntegrationTestSuite
func (*IntegrationTestSuite) SetupSuite ¶ added in v0.46.0
func (s *IntegrationTestSuite) SetupSuite()
func (*IntegrationTestSuite) TearDownSuite ¶ added in v0.46.0
func (s *IntegrationTestSuite) TearDownSuite()
func (*IntegrationTestSuite) TestCmdGetProposal ¶ added in v0.46.0
func (s *IntegrationTestSuite) TestCmdGetProposal()
func (*IntegrationTestSuite) TestCmdGetProposals ¶ added in v0.46.0
func (s *IntegrationTestSuite) TestCmdGetProposals()
func (*IntegrationTestSuite) TestCmdParam ¶ added in v0.46.0
func (s *IntegrationTestSuite) TestCmdParam()
func (*IntegrationTestSuite) TestCmdParams ¶ added in v0.46.0
func (s *IntegrationTestSuite) TestCmdParams()
func (*IntegrationTestSuite) TestCmdProposer ¶ added in v0.46.0
func (s *IntegrationTestSuite) TestCmdProposer()
func (*IntegrationTestSuite) TestCmdQueryDeposit ¶ added in v0.46.0
func (s *IntegrationTestSuite) TestCmdQueryDeposit()
func (*IntegrationTestSuite) TestCmdQueryDeposits ¶ added in v0.46.0
func (s *IntegrationTestSuite) TestCmdQueryDeposits()
func (*IntegrationTestSuite) TestCmdQueryVote ¶ added in v0.46.0
func (s *IntegrationTestSuite) TestCmdQueryVote()
func (*IntegrationTestSuite) TestCmdQueryVotes ¶ added in v0.46.0
func (s *IntegrationTestSuite) TestCmdQueryVotes()
func (*IntegrationTestSuite) TestCmdTally ¶ added in v0.46.0
func (s *IntegrationTestSuite) TestCmdTally()
func (*IntegrationTestSuite) TestGetParamsGRPC ¶
func (s *IntegrationTestSuite) TestGetParamsGRPC()
func (*IntegrationTestSuite) TestGetProposalDepositGRPC ¶
func (s *IntegrationTestSuite) TestGetProposalDepositGRPC()
func (*IntegrationTestSuite) TestGetProposalDepositsGRPC ¶
func (s *IntegrationTestSuite) TestGetProposalDepositsGRPC()
func (*IntegrationTestSuite) TestGetProposalGRPC ¶
func (s *IntegrationTestSuite) TestGetProposalGRPC()
func (*IntegrationTestSuite) TestGetProposalVoteGRPC ¶
func (s *IntegrationTestSuite) TestGetProposalVoteGRPC()
func (*IntegrationTestSuite) TestGetProposalVotesGRPC ¶
func (s *IntegrationTestSuite) TestGetProposalVotesGRPC()
func (*IntegrationTestSuite) TestGetProposalsGRPC ¶
func (s *IntegrationTestSuite) TestGetProposalsGRPC()
func (*IntegrationTestSuite) TestGetTallyGRPC ¶
func (s *IntegrationTestSuite) TestGetTallyGRPC()
func (*IntegrationTestSuite) TestNewCmdDeposit ¶ added in v0.46.0
func (s *IntegrationTestSuite) TestNewCmdDeposit()
func (*IntegrationTestSuite) TestNewCmdSubmitProposal ¶ added in v0.46.0
func (s *IntegrationTestSuite) TestNewCmdSubmitProposal()
func (*IntegrationTestSuite) TestNewCmdVote ¶ added in v0.46.0
func (s *IntegrationTestSuite) TestNewCmdVote()
func (*IntegrationTestSuite) TestNewCmdWeightedVote ¶ added in v0.46.0
func (s *IntegrationTestSuite) TestNewCmdWeightedVote()
Click to show internal directories.
Click to hide internal directories.