v4

package
v0.0.0-...-f74a9f6 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

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