Documentation ¶
Index ¶
- Variables
- func GetPreviousProposerConsAddr(ctx context.Context, storeService store.KVStoreService, cdc codec.BinaryCodec) (sdk.ConsAddress, error)
- func MigrateFunds(ctx context.Context, bankKeeper types.BankKeeper, feePool types.FeePool, ...) (types.FeePool, error)
- func MigrateStore(ctx context.Context, env appmodule.Environment, _ codec.BinaryCodec) error
- func SetPreviousProposerConsAddr(ctx context.Context, storeService store.KVStoreService, cdc codec.BinaryCodec, ...) error
Constants ¶
This section is empty.
Variables ¶
View Source
var OldProposerKey = []byte{0x01}
Functions ¶
func GetPreviousProposerConsAddr ¶
func GetPreviousProposerConsAddr(ctx context.Context, storeService store.KVStoreService, cdc codec.BinaryCodec) (sdk.ConsAddress, error)
GetPreviousProposerConsAddr returns the proposer consensus address for the current block.
func MigrateFunds ¶
func MigrateFunds(ctx context.Context, bankKeeper types.BankKeeper, feePool types.FeePool, macc, poolMacc sdk.ModuleAccountI) (types.FeePool, error)
MigrateFunds migrates the distribution module funds to pool module
func MigrateStore ¶
func MigrateStore(ctx context.Context, env appmodule.Environment, _ codec.BinaryCodec) error
MigrateStore removes the last proposer from store.
func SetPreviousProposerConsAddr ¶
func SetPreviousProposerConsAddr(ctx context.Context, storeService store.KVStoreService, cdc codec.BinaryCodec, consAddr sdk.ConsAddress) error
SetPreviousProposerConsAddr set the proposer public key for this block.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.