Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TestContext ¶
type TestContext struct { T *testing.T Round uint64 Owner testParticipant Alice testParticipant Bob testParticipant Carol testParticipant ScAddress []byte Accounts *state.AccountsDB TxProcessor process.TransactionProcessor QueryService external.SCQueryService }
TestContext -
func (*TestContext) DeploySC ¶
func (context *TestContext) DeploySC(wasmPath string, parametersString string)
DeploySC -
func (*TestContext) ExecuteSC ¶
func (context *TestContext) ExecuteSC(sender *testParticipant, txData string)
ExecuteSC -
func (*TestContext) QuerySCInt ¶
func (context *TestContext) QuerySCInt(function string, args [][]byte) uint64
QuerySCInt -
Click to show internal directories.
Click to hide internal directories.