test

package
v0.19.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 26, 2018 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

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 StrangeLoopBytecode = hex.MustDecodeString(strangeLoopBytecodeHex)

Functions

func CallContract

func CallContract(t testing.TB, cli pbtransactor.TransactorClient,
	inputAccount *pbtransactor.InputAccount, contractAddress []byte) (call *pbevents.EventDataCall)

func CommittedTxCount

func CommittedTxCount(t *testing.T, em event.Emitter) chan int

func NewEventsClient

func NewEventsClient(t testing.TB) pbevents.EventsClient

func NewExecutionEventsClient

func NewExecutionEventsClient(t testing.TB) pbevents.ExecutionEventsClient

func NewTransactorClient

func NewTransactorClient(t testing.TB) pbtransactor.TransactorClient

Helpers

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL