Documentation ¶
Index ¶
- func QueryAccountExec(clientCtx client.Context, address fmt.Stringer, extraArgs ...string) (testutil.BufferWriter, error)
- func TestGetBroadcastCommandOfflineFlag(t *testing.T)
- func TestGetBroadcastCommandWithoutOfflineFlag(t *testing.T)
- func TxAuxToFeeExec(clientCtx client.Context, filename string, extraArgs ...string) (testutil.BufferWriter, error)
- func TxBroadcastExec(clientCtx client.Context, filename string, extraArgs ...string) (testutil.BufferWriter, error)
- func TxDecodeExec(clientCtx client.Context, encodedTx string, extraArgs ...string) (testutil.BufferWriter, error)
- func TxEncodeExec(clientCtx client.Context, filename string, extraArgs ...string) (testutil.BufferWriter, error)
- func TxMultiSignBatchExec(clientCtx client.Context, filename string, from string, sigFile1 string, ...) (testutil.BufferWriter, error)
- func TxMultiSignExec(clientCtx client.Context, from string, filename string, extraArgs ...string) (testutil.BufferWriter, error)
- func TxSignBatchExec(clientCtx client.Context, from fmt.Stringer, filename string, ...) (testutil.BufferWriter, error)
- func TxSignExec(clientCtx client.Context, from fmt.Stringer, filename string, ...) (testutil.BufferWriter, error)
- func TxValidateSignaturesExec(clientCtx client.Context, filename string) (testutil.BufferWriter, error)
- type IntegrationTestSuite
- func (s *IntegrationTestSuite) SetupSuite()
- func (s *IntegrationTestSuite) TearDownSuite()
- func (s *IntegrationTestSuite) TestAuxSigner()
- func (s *IntegrationTestSuite) TestAuxToFee()
- func (s *IntegrationTestSuite) TestCLIEncode()
- func (s *IntegrationTestSuite) TestCLIMultisign()
- func (s *IntegrationTestSuite) TestCLIMultisignInsufficientCosigners()
- func (s *IntegrationTestSuite) TestCLIMultisignSortSignatures()
- func (s *IntegrationTestSuite) TestCLIQueryTxCmdByEvents()
- func (s *IntegrationTestSuite) TestCLIQueryTxCmdByHash()
- func (s *IntegrationTestSuite) TestCLIQueryTxsCmdByEvents()
- func (s *IntegrationTestSuite) TestCLISendGenerateSignAndBroadcast()
- func (s *IntegrationTestSuite) TestCLISignAminoJSON()
- func (s *IntegrationTestSuite) TestCLISignBatch()
- func (s *IntegrationTestSuite) TestCLISignGenOnly()
- func (s *IntegrationTestSuite) TestCLIValidateSignatures()
- func (s *IntegrationTestSuite) TestGetAccountCmd()
- func (s *IntegrationTestSuite) TestGetAccountsCmd()
- func (s *IntegrationTestSuite) TestMultisignBatch()
- func (s *IntegrationTestSuite) TestQueryParamsCmd()
- func (s *IntegrationTestSuite) TestSignBatchMultisig()
- func (s *IntegrationTestSuite) TestSignWithMultiSignersAminoJSON()
- func (s *IntegrationTestSuite) TestSignWithMultisig()
- func (s *IntegrationTestSuite) TestTxWithoutPublicKey()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func QueryAccountExec ¶
func TxAuxToFeeExec ¶
func TxAuxToFeeExec(clientCtx client.Context, filename string, extraArgs ...string) (testutil.BufferWriter, error)
TxAuxToFeeExec executes `GetAuxToFeeCommand` cli command with given args.
func TxBroadcastExec ¶
func TxDecodeExec ¶
func TxEncodeExec ¶
func TxMultiSignBatchExec ¶
func TxMultiSignExec ¶
func TxSignBatchExec ¶
func TxSignExec ¶
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) TestAuxSigner ¶
func (s *IntegrationTestSuite) TestAuxSigner()
func (*IntegrationTestSuite) TestAuxToFee ¶
func (s *IntegrationTestSuite) TestAuxToFee()
func (*IntegrationTestSuite) TestCLIEncode ¶
func (s *IntegrationTestSuite) TestCLIEncode()
func (*IntegrationTestSuite) TestCLIMultisign ¶
func (s *IntegrationTestSuite) TestCLIMultisign()
func (*IntegrationTestSuite) TestCLIMultisignInsufficientCosigners ¶
func (s *IntegrationTestSuite) TestCLIMultisignInsufficientCosigners()
func (*IntegrationTestSuite) TestCLIMultisignSortSignatures ¶
func (s *IntegrationTestSuite) TestCLIMultisignSortSignatures()
func (*IntegrationTestSuite) TestCLIQueryTxCmdByEvents ¶
func (s *IntegrationTestSuite) TestCLIQueryTxCmdByEvents()
func (*IntegrationTestSuite) TestCLIQueryTxCmdByHash ¶
func (s *IntegrationTestSuite) TestCLIQueryTxCmdByHash()
func (*IntegrationTestSuite) TestCLIQueryTxsCmdByEvents ¶
func (s *IntegrationTestSuite) TestCLIQueryTxsCmdByEvents()
func (*IntegrationTestSuite) TestCLISendGenerateSignAndBroadcast ¶
func (s *IntegrationTestSuite) TestCLISendGenerateSignAndBroadcast()
func (*IntegrationTestSuite) TestCLISignAminoJSON ¶
func (s *IntegrationTestSuite) TestCLISignAminoJSON()
func (*IntegrationTestSuite) TestCLISignBatch ¶
func (s *IntegrationTestSuite) TestCLISignBatch()
func (*IntegrationTestSuite) TestCLISignGenOnly ¶
func (s *IntegrationTestSuite) TestCLISignGenOnly()
func (*IntegrationTestSuite) TestCLIValidateSignatures ¶
func (s *IntegrationTestSuite) TestCLIValidateSignatures()
func (*IntegrationTestSuite) TestGetAccountCmd ¶
func (s *IntegrationTestSuite) TestGetAccountCmd()
func (*IntegrationTestSuite) TestGetAccountsCmd ¶
func (s *IntegrationTestSuite) TestGetAccountsCmd()
func (*IntegrationTestSuite) TestMultisignBatch ¶
func (s *IntegrationTestSuite) TestMultisignBatch()
func (*IntegrationTestSuite) TestQueryParamsCmd ¶
func (s *IntegrationTestSuite) TestQueryParamsCmd()
func (*IntegrationTestSuite) TestSignBatchMultisig ¶
func (s *IntegrationTestSuite) TestSignBatchMultisig()
func (*IntegrationTestSuite) TestSignWithMultiSignersAminoJSON ¶
func (s *IntegrationTestSuite) TestSignWithMultiSignersAminoJSON()
TestSignWithMultiSignersAminoJSON tests the case where a transaction with 2 messages which has to be signed with 2 different keys. Sign and append the signatures using the CLI with Amino signing mode. Finally, send the transaction to the blockchain.
func (*IntegrationTestSuite) TestSignWithMultisig ¶
func (s *IntegrationTestSuite) TestSignWithMultisig()
func (*IntegrationTestSuite) TestTxWithoutPublicKey ¶
func (s *IntegrationTestSuite) TestTxWithoutPublicKey()
TestTxWithoutPublicKey makes sure sending a proto tx message without the public key doesn't cause any error in the RPC layer (broadcast). See https://github.com/mkXultra/cosmos-sdk/issues/7585 for more details.
Click to show internal directories.
Click to hide internal directories.