Documentation ¶
Index ¶
- Constants
- func DepConfig() depinject.Config
- func Rollback(ctx context.Context, cfg Config, rCfg RollbackConfig) error
- func Run(ctx context.Context, cfg Config) error
- func Start(ctx context.Context, cfg Config) (<-chan error, func(context.Context) error, error)
- type App
- type Config
- type RollbackConfig
Constants ¶
View Source
const (
Bech32HRP = "omni"
)
Bech32HRP is the human-readable-part of the Bech32 address format.
View Source
const Name = "halo"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type App ¶
type App struct { *runtime.App // keepers AccountKeeper authkeeper.AccountKeeper BankKeeper bankkeeper.Keeper StakingKeeper *stakingkeeper.Keeper SlashingKeeper slashingkeeper.Keeper DistrKeeper distrkeeper.Keeper ConsensusParamsKeeper consensuskeeper.Keeper EVMEngKeeper *evmengkeeper.Keeper AttestKeeper *attestkeeper.Keeper ValSyncKeeper *valsynckeeper.Keeper RegistryKeeper registrykeeper.Keeper // contains filtered or unexported fields }
App extends an ABCI application, but with most of its parameters exported. They are exported for convenience in creating helper functions, as object capabilities aren't needed for testing.
func (App) ExportAppStateAndValidators ¶
func (App) ExportAppStateAndValidators(_ bool, _, _ []string) (servertypes.ExportedApp, error)
func (App) LegacyAmino ¶
func (App) LegacyAmino() *codec.LegacyAmino
func (App) SetCometAPI ¶
SetCometAPI sets the comet API client. TODO(corver): Figure out how to use depinject to set this.
func (App) SimulationManager ¶
func (App) SimulationManager() *module.SimulationManager
SimulationManager implements the SimulationApp interface.
type Config ¶
Config wraps the halo (app) and comet (client) configurations.
func (Config) BackendType ¶
func (c Config) BackendType() dbm.BackendType
BackendType returns the halo config backend type or the comet backend type otherwise.
type RollbackConfig ¶
type RollbackConfig struct {
RemoveCometBlock bool
}
func DefaultRollbackConfig ¶
func DefaultRollbackConfig() RollbackConfig
Click to show internal directories.
Click to hide internal directories.