Versions in this module Expand all Collapse all v0 v0.0.1 Oct 8, 2022 Changes in this version + const AddressSize + var MaximumWasmerInstanceCount = uint64(10) + var SCAddressPrefix = []byte("\x00\x00\x00\x00\x00\x00\x00\x00\x0f\x0f") + func AddFinishData(vmOutput *vmcommon.VMOutput, data []byte) + func AddNewOutputAccount(vmOutput *vmcommon.VMOutput, sender []byte, address []byte, balanceDelta int64, ...) *vmcommon.OutputAccount + func AddTestSmartContractToWorld(world *worldmock.MockWorld, identifier string, code []byte) *worldmock.Account + func BuildSCModule(scName string, prefixToTestSCs string) + func DefaultTestContractCallInput() *vmcommon.ContractCallInput + func DefaultTestContractCreateInput() *vmcommon.ContractCreateInput + func GetSCCode(fileName string) []byte + func GetTestSCCode(scName string, prefixToTestSCs string) []byte + func GetTestSCCodeModule(scName string, moduleName string, prefixToTestSCs string) []byte + func LoadGasScheduleConfig(filepath string) (config.GasScheduleMap, error) + func LoadTomlFileToMap(relativePath string) (map[string]interface{}, error) + func MakeTestSCAddress(identifier string) []byte + func MakeVMOutput() *vmcommon.VMOutput + func MakeVMOutputError() *vmcommon.VMOutput + func NewAndesVM(blockChainHook vmcommon.BlockchainHook, hostParameters *andes.VMHostParameters) (*vmHost, error) + func OpenFile(relativePath string) (*os.File, error) + func SetStorageUpdate(account *vmcommon.OutputAccount, key []byte, data []byte) + func SetStorageUpdateStrings(account *vmcommon.OutputAccount, key string, data string) + func TryCatch(try TryFunction, catch CatchFunction, catchFallbackMessage string) + type CatchFunction func(error) + type TryFunction func()