Versions in this module Expand all Collapse all v0 v0.0.2 Oct 31, 2023 v0.0.1 Oct 30, 2023 Changes in this version + func AccountExists(accnts state.AccountsAdapter, addressBytes []byte) bool + func ComputeExpectedBalance(existing *big.Int, transferred *big.Int, gasLimit uint64, gasPrice uint64) *big.Int + func CreateAccount(accnts state.AccountsAdapter, pubKey []byte, nonce uint64, balance *big.Int) ([]byte, error) + func CreateDeployTx(senderAddressBytes []byte, senderNonce uint64, value *big.Int, gasPrice uint64, ...) *dataTransaction.Transaction + func CreateEmptyAddress() []byte + func CreateInMemoryShardAccountsDB() *state.AccountsDB + func CreateMemUnit() storage.Storer + func CreateMoveBalanceTx(nonce uint64, value *big.Int, sndAddress []byte, rcvAddress []byte, ...) *dataTransaction.Transaction + func CreateOneSCExecutorMockVM(accnts state.AccountsAdapter) vmcommon.VMExecutionHandler + func CreatePreparedTxProcessorAndAccountsWithMockedVM(t *testing.T, vmOpGas uint64, senderNonce uint64, senderAddressBytes []byte, ...) (process.TransactionProcessor, state.AccountsAdapter) + func CreateTransferTokenTx(nonce uint64, value *big.Int, scAddrress []byte, sndAddress []byte, ...) *dataTransaction.Transaction + func CreateTx(tb testing.TB, senderAddressBytes []byte, receiverAddressBytes []byte, ...) *dataTransaction.Transaction + func CreateTxProcessorWithOneSCExecutorMockVM(accnts state.AccountsAdapter, opGas uint64) process.TransactionProcessor + func CreateTxProcessorWithOneSCExecutorWithVMs(accnts state.AccountsAdapter, vmContainer process.VirtualMachinesContainer, ...) (process.TransactionProcessor, process.SmartContractProcessor) + func CreateVMAndBlockchainHook(accnts state.AccountsAdapter, gasSchedule map[string]map[string]uint64) (process.VirtualMachinesContainer, *hooks.BlockChainHookImpl) + func GetIntValueFromSC(gasSchedule map[string]map[string]uint64, accnts state.AccountsAdapter, ...) *big.Int + func TestAccount(t *testing.T, accnts state.AccountsAdapter, senderAddressBytes []byte, ...) *big.Int + func TestDeployedContractContents(t *testing.T, destinationAddressBytes []byte, accnts state.AccountsAdapter, ...) + type VMTestContext struct + Accounts state.AccountsAdapter + BlockchainHook vmcommon.BlockchainHook + ScProcessor process.SmartContractProcessor + TxProcessor process.TransactionProcessor + VMContainer process.VirtualMachinesContainer + func CreatePreparedTxProcessorAndAccountsWithVMs(senderNonce uint64, senderAddressBytes []byte, senderBalance *big.Int) VMTestContext + func CreateTxProcessorCoreVMWithGasSchedule(senderNonce uint64, senderAddressBytes []byte, senderBalance *big.Int, ...) VMTestContext + func (vmTestContext *VMTestContext) Close() + func (vmTestContext *VMTestContext) GetLatestError() error