Documentation ¶
Index ¶
- Constants
- Variables
- func CallContract(t testing.TB, cli rpctransact.TransactClient, ...) *exec.TxExecution
- func CommittedTxCount(t *testing.T, em event.Emitter) chan int
- func CreateContract(t testing.TB, cli rpctransact.TransactClient, inputAddress crypto.Address, ...) *exec.TxExecution
- func DumpStorage(t *testing.T, client infoclient.RPCClient, addr crypto.Address) *rpc.ResultDumpStorage
- func GetAccount(t *testing.T, client infoclient.RPCClient, addr crypto.Address) *acm.Account
- func GetSequence(t *testing.T, client infoclient.RPCClient, addr crypto.Address) uint64
- func GetStorage(t *testing.T, client infoclient.RPCClient, addr crypto.Address, key []byte) []byte
- func MakeDefaultCallTx(t *testing.T, client infoclient.RPCClient, addr *crypto.Address, code []byte, ...) *txs.Envelope
- func NewExecutionEventsClient(t testing.TB, listenAddress string) rpcevents.ExecutionEventsClient
- func NewQueryClient(t testing.TB, listenAddress string) rpcquery.QueryClient
- func NewTransactClient(t testing.TB, listenAddress string) rpctransact.TransactClient
- func UpdateName(t testing.TB, cli rpctransact.TransactClient, inputAddress crypto.Address, ...) *exec.TxExecution
Constants ¶
View Source
const UpsieDownsieCallCount = 1 + (34 - 17) + 1 + (34 - 23)
Recursive call count for UpsieDownsie() function call from strange_loop.sol Equals initial call, then depth from 17 -> 34, one for the bounce, then depth from 34 -> 23, so... (I didn't say it had to make sense):
Variables ¶
View Source
var GenesisDoc = integration.TestGenesisDoc(PrivateAccounts)
View Source
var PrivateAccounts = integration.MakePrivateAccounts(10) // make keys
Functions ¶
func CallContract ¶
func CallContract(t testing.TB, cli rpctransact.TransactClient, inputAddress, contractAddress crypto.Address, data []byte) *exec.TxExecution
func CreateContract ¶
func CreateContract(t testing.TB, cli rpctransact.TransactClient, inputAddress crypto.Address, bytecode []byte) *exec.TxExecution
func DumpStorage ¶
func DumpStorage(t *testing.T, client infoclient.RPCClient, addr crypto.Address) *rpc.ResultDumpStorage
dump all storage for an account. currently unused
func GetAccount ¶
get the account
func GetSequence ¶
get an account's sequence number
func GetStorage ¶
func MakeDefaultCallTx ¶
func NewExecutionEventsClient ¶
func NewExecutionEventsClient(t testing.TB, listenAddress string) rpcevents.ExecutionEventsClient
func NewQueryClient ¶
func NewQueryClient(t testing.TB, listenAddress string) rpcquery.QueryClient
func NewTransactClient ¶
func NewTransactClient(t testing.TB, listenAddress string) rpctransact.TransactClient
Helpers
func UpdateName ¶
func UpdateName(t testing.TB, cli rpctransact.TransactClient, inputAddress crypto.Address, name, data string, expiresIn uint64) *exec.TxExecution
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.