v4

package
v0.0.0-...-84712ed Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	OldProposerKey = []byte{0x01}
	NewProposerKey = collections.NewPrefix(1)
)

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, cdc codec.BinaryCodec) error

func SetPreviousProposerConsAddr

func SetPreviousProposerConsAddr(ctx context.Context, storeService store.KVStoreService, cdc codec.BinaryCodec, consAddr sdk.ConsAddress) error

set the proposer public key for this block

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL