test_config

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2019 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ABIFilePath string
View Source
var DBConfig config.Database
View Source
var Infura *viper.Viper
View Source
var InfuraClient config.Client
View Source
var TestClient config.Client
View Source
var TestConfig *viper.Viper

Functions

func CleanCheckedHeadersTable

func CleanCheckedHeadersTable(db *postgres.DB, columnNames []string)

func CleanTestDB

func CleanTestDB(db *postgres.DB)

func NewTestBlock

func NewTestBlock(blockNumber int64, repository repositories.BlockRepository) (blockId int64)

func NewTestDB

func NewTestDB(node core.Node) *postgres.DB

func NewTestNode

func NewTestNode() core.Node

Returns a new test node, with the same ID

Types

This section is empty.

Jump to

Keyboard shortcuts

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