Documentation ¶
Index ¶
- func BuildLog(hash libcommon.Hash, blockNum string, address libcommon.Address, ...) rpctest.Log
- func ClearDevDB()
- func CompareLogEvents(expected, actual rpctest.Log) ([]error, bool)
- func DeleteLogs()
- func GenerateTopic(signature string) []libcommon.Hash
- func HashSlicesAreEqual(s1, s2 []libcommon.Hash) bool
- func HexToInt(hexStr string) uint64
- func NamespaceAndSubMethodFromMethod(method string) (string, string, error)
- func ParseResponse(resp interface{}) (string, error)
- func RandomNumberInRange(min, max uint64) (uint64, error)
- func UniqueIDFromEnode(enode string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteLogs ¶
func DeleteLogs()
func GenerateTopic ¶
func HashSlicesAreEqual ¶
func NamespaceAndSubMethodFromMethod ¶
NamespaceAndSubMethodFromMethod splits a parent method into namespace and the actual method
func ParseResponse ¶
ParseResponse converts any of the rpctest interfaces to a string for readability
func RandomNumberInRange ¶
RandomNumberInRange returns a random number between min and max NOT inclusive
func UniqueIDFromEnode ¶
UniqueIDFromEnode returns the unique ID from a node's enode, removing the `?discport=0` part
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.