Documentation
¶
Index ¶
- Variables
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- type Keeper
- func (k Keeper) ChangeoverToRollup(ctx sdk.Context, lastValidatorSet []stakingtypes.Validator) (initialValUpdates []abci.ValidatorUpdate, err error)
- func (keeper Keeper) GetSequencer(ctx sdk.Context) types.Sequencer
- func (k Keeper) InitGenesis(ctx sdk.Context, data *types.GenesisState) []abci.ValidatorUpdate
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) MigrateFromSoveregin(ctx sdk.Context, sequencer types.Sequencer) error
Constants ¶
This section is empty.
Variables ¶
View Source
var LastValidatorSet []stakingtypes.Validator
Functions ¶
func NewMsgServerImpl ¶
NewMsgServerImpl returns an implementation of the bank MsgServer interface for the provided Keeper.
Types ¶
type Keeper ¶
type Keeper struct { Schema collections.Schema Sequencer collections.Item[types.Sequencer] NextSequencerChangeHeight collections.Item[int64] Params collections.Item[types.Params] // contains filtered or unexported fields }
func NewKeeper ¶
func NewKeeper(cdc codec.BinaryCodec, storeService storetypes.KVStoreService, ak types.AccountKeeper, authority string, ) Keeper
NewKeeper creates a new sequencer Keeper instance
func (Keeper) ChangeoverToRollup ¶
func (k Keeper) ChangeoverToRollup(ctx sdk.Context, lastValidatorSet []stakingtypes.Validator) (initialValUpdates []abci.ValidatorUpdate, err error)
ChangeoverToConsumer includes the logic that needs to execute during the process of a cometBFT chain to rollup changeover. This method constructs validator updates that will be given to tendermint, which allows the consumer chain to start using the provider valset, while the standalone valset is given zero voting power where appropriate.
func (Keeper) InitGenesis ¶
func (k Keeper) InitGenesis(ctx sdk.Context, data *types.GenesisState) []abci.ValidatorUpdate
Click to show internal directories.
Click to hide internal directories.