keeper

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2023 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ComplianceKeeper

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

func DclauthKeeper

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

func DclupgradeKeeper added in v0.7.0

func DclupgradeKeeper(tb testing.TB, dclAuthKeeper types.DclauthKeeper, upgradeKeeper types.UpgradeKeeper) (*keeper.Keeper, sdk.Context)

func DefaultValidator

func DefaultValidator() types.Validator

func ModelKeeper

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

func PkiKeeper

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

func StoreTwoValidators

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

func ValidatorKeeper

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

func VendorinfoKeeper

func VendorinfoKeeper(tb 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