Documentation ¶
Overview ¶
Package genutil defines a "wrapper" module around the Cosmos SDK's native x/genutil module. In other words, it provides the exact same functionality as the native module in that it simply embeds the native module. However, it overrides `InitGenesis` which will return no validator set updates. Instead, it is assumed that some other module will provide the validator set updates.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAppModule ¶
func NewAppModule(accountKeeper types.AccountKeeper, stakingKeeper types.StakingKeeper, deliverTx genesis.TxHandler, txEncodingConfig client.TxEncodingConfig, ) module.GenesisOnlyAppModule
NewAppModule creates a new AppModule object
Types ¶
type AppModule ¶
AppModule implements an application module for the genutil module.
func (AppModule) InitGenesis ¶
func (am AppModule) InitGenesis(ctx sdk.Context, cdc codec.JSONCodec, data json.RawMessage) []abci.ValidatorUpdate
InitGenesis delegates the InitGenesis call to the underlying x/genutil module, however, it returns no validator updates as validator updates will be provided by the provider module.