keeper

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2022 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ComplianceKeeper

func ComplianceKeeper(
	t testing.TB,
	dclauthKeeper types.DclauthKeeper,
	modelKeeper types.ModelKeeper,
	compliancetestKeeper types.CompliancetestKeeper,
) (*keeper.Keeper, sdk.Context)

func CompliancetestKeeper

func CompliancetestKeeper(
	t testing.TB,
	dclauthKeeper types.DclauthKeeper,
	modelKeeper types.ModelKeeper,
) (*keeper.Keeper, sdk.Context)

func DclauthKeeper

func DclauthKeeper(t testing.TB) (*keeper.Keeper, sdk.Context)

func DefaultValidator

func DefaultValidator() types.Validator

func ModelKeeper

func ModelKeeper(t testing.TB, dclauthKeeper types.DclauthKeeper) (*keeper.Keeper, sdk.Context)

func PkiKeeper

func PkiKeeper(t testing.TB, dclauthKeeper types.DclauthKeeper) (*keeper.Keeper, sdk.Context)

func StoreTwoValidators

func StoreTwoValidators(setup TestSetup) (types.Validator, types.Validator)

func ValidatorKeeper

func ValidatorKeeper(t testing.TB, dclauthK *dclauthkeeper.Keeper) (*keeper.Keeper, sdk.Context)

func VendorinfoKeeper

func VendorinfoKeeper(t testing.TB, dclauthKeeper types.DclauthKeeper) (*keeper.Keeper, sdk.Context)

Types

type TestSetup

type TestSetup struct {
	Ctx             sdk.Context
	ValidatorKeeper keeper.Keeper
	DclauthKeeper   dclauthkeeper.Keeper
}

func Setup

func Setup(t *testing.T) TestSetup

Jump to

Keyboard shortcuts

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