record

package
v0.0.0-...-96f998e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateRecordExec

func CreateRecordExec(t *testing.T,
	network simapp.Network,
	clientCtx client.Context,
	from string,
	digest string,
	digestAlgo string,
	extraArgs ...string,
) *simapp.ResponseTx

CreateRecordExec creates a record

Parameters: - t: *testing.T - network: simapp.Network - clientCtx: client.Context - from: string - digest: string - digestAlgo: string - extraArgs: ...string Returns *simapp.ResponseTx

func QueryRecordExec

func QueryRecordExec(t *testing.T,
	network simapp.Network,
	clientCtx client.Context,
	recordID string,
	resp proto.Message,
	extraArgs ...string,
)

QueryRecordExec queries a record.

Parameters: - t: *testing.T - network: simapp.Network - clientCtx: client.Context - recordID: string - resp: proto.Message - extraArgs: ...string

Types

type QueryTestSuite

type QueryTestSuite struct {
	e2e.TestSuite
}

QueryTestSuite is a suite of end-to-end tests for the nft module

func (*QueryTestSuite) TestQueryCmd

func (s *QueryTestSuite) TestQueryCmd()

TestQueryCmd tests all query command in the nft module

type TxTestSuite

type TxTestSuite struct {
	e2e.TestSuite
}

TxTestSuite is a suite of end-to-end tests for the nft module

func (*TxTestSuite) TestTxCmd

func (s *TxTestSuite) TestTxCmd()

TestTxCmd tests all tx command in the nft module

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL