* x/capability: simulations * update logs * validate genesis state * InitGenesis and ExportGenesis functions * update validation func * fix import-export sim * remove nondeterminism from capability genesis * Update x/capability/types/genesis.go * Update x/capability/types/genesis.go * fix tests * fix merge * consistency updates * try fix nondeterminism * fix conditional * Fix random index logic * lint * lint Co-authored-by: Aditya Sripal <adityasripal@gmail.com> Co-authored-by: Aleksandr Bezobchuk <aleks.bezobchuk@gmail.com> Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
43 lines
1.2 KiB
Go
43 lines
1.2 KiB
Go
package capability
|
|
|
|
import (
|
|
"github.com/cosmos/cosmos-sdk/x/capability/keeper"
|
|
"github.com/cosmos/cosmos-sdk/x/capability/types"
|
|
)
|
|
|
|
// DONTCOVER
|
|
|
|
// nolint
|
|
const (
|
|
ModuleName = types.ModuleName
|
|
StoreKey = types.StoreKey
|
|
MemStoreKey = types.MemStoreKey
|
|
)
|
|
|
|
// nolint
|
|
var (
|
|
NewKeeper = keeper.NewKeeper
|
|
NewCapability = types.NewCapability
|
|
RevCapabilityKey = types.RevCapabilityKey
|
|
FwdCapabilityKey = types.FwdCapabilityKey
|
|
KeyIndex = types.KeyIndex
|
|
KeyPrefixIndexCapability = types.KeyPrefixIndexCapability
|
|
ErrCapabilityTaken = types.ErrCapabilityTaken
|
|
ErrOwnerClaimed = types.ErrOwnerClaimed
|
|
ErrCapabilityNotOwned = types.ErrCapabilityNotOwned
|
|
RegisterCodec = types.RegisterCodec
|
|
ModuleCdc = types.ModuleCdc
|
|
NewOwner = types.NewOwner
|
|
NewCapabilityOwners = types.NewCapabilityOwners
|
|
)
|
|
|
|
// nolint
|
|
type (
|
|
Keeper = keeper.Keeper
|
|
ScopedKeeper = keeper.ScopedKeeper
|
|
Capability = types.Capability
|
|
CapabilityOwners = types.CapabilityOwners
|
|
GenesisState = types.GenesisState
|
|
GenesisOwners = types.GenesisOwners
|
|
)
|