shared

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const AccountIndex = 0

AccountIndex is the test account index.

Variables

This section is empty.

Functions

func BaseInmemStorage

func BaseInmemStorage(t *testing.T, minimalSlashingData bool, walletType core.WalletType, privKey []byte) (*inmemory.InMemStore, error)

BaseInmemStorage creates the in-memory storage and creates the base account.

func RetrieveAccount

func RetrieveAccount(t *testing.T, store core.Storage) core.ValidatorAccount

RetrieveAccount retrieves test account fro the storage.

Types

This section is empty.

Jump to

Keyboard shortcuts

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