Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func (*Manager) ClearState ¶
func (*Manager) SetState ¶
func (mgr *Manager) SetState( mode sdk.ExecMode, unbranchedStore storetypes.CommitMultiStore, h cmtproto.Header, logger log.Logger, streamingManager storetypes.StreamingManager, )
SetState sets the BaseApp's state for the corresponding mode with a branched multi-store (i.e. a CacheMultiStore) and a new Context with the same multi-store branch, and provided header.
type State ¶
type State struct {
MultiStore storetypes.CacheMultiStore
// contains filtered or unexported fields
}
func NewState ¶
func NewState(ctx sdk.Context, ms storetypes.CacheMultiStore) *State
func (*State) CacheMultiStore ¶
func (st *State) CacheMultiStore() storetypes.CacheMultiStore
CacheMultiStore calls and returns a CacheMultiStore on the state's underlying CacheMultiStore.
func (*State) SetContext ¶
SetContext updates the state's context to the context provided.