Versions in this module Expand all Collapse all v0 v0.0.2 Oct 31, 2023 Changes in this version type TestContext + GasLimit uint64 v0.0.1 Oct 30, 2023 Changes in this version + const DummyCodeMetadataHex + const VMTypeHex + func CreateDeployTxData(scCode string) string + func FormatHexNumber(number uint64) string + func GetSCCode(fileName string) string + type TestContext struct + Accounts *state.AccountsDB + Alice testParticipant + Bob testParticipant + Carol testParticipant + Owner testParticipant + QueryService external.SCQueryService + Round uint64 + ScAddress []byte + ScCodeMetadata vmcommon.CodeMetadata + ScProcessor process.SmartContractProcessor + T *testing.T + TxProcessor process.TransactionProcessor + VMContainer process.VirtualMachinesContainer + func SetupTestContext(t *testing.T) TestContext + func (context *TestContext) Close() + func (context *TestContext) DeploySC(wasmPath string, parametersString string) error + func (context *TestContext) ExecuteSC(sender *testParticipant, txData string) error + func (context *TestContext) GetLatestError() error + func (context *TestContext) QuerySCBytes(function string, args [][]byte) []byte + func (context *TestContext) QuerySCInt(function string, args [][]byte) uint64 + func (context *TestContext) QuerySCString(function string, args [][]byte) string + func (context *TestContext) UpgradeSC(wasmPath string, parametersString string) error