docs: update docs (#19676)
Co-authored-by: son trinh <son@decentrio.ventures> Co-authored-by: Julien Robert <julien@rbrt.fr>
This commit is contained in:
co-authored by
son trinh
Julien Robert
parent
2bf7e9f846
commit
2bfc037a07
+8
-8
@@ -10,25 +10,25 @@ import (
|
||||
|
||||
const ModuleName = "runtime"
|
||||
|
||||
// App implements the common methods for a Cosmos SDK-based application
|
||||
// AppI implements the common methods for a Cosmos SDK-based application
|
||||
// specific blockchain.
|
||||
type AppI interface {
|
||||
// The assigned name of the app.
|
||||
// Name the assigned name of the app.
|
||||
Name() string
|
||||
|
||||
// Application updates every begin block.
|
||||
// BeginBlocker updates every begin block.
|
||||
BeginBlocker(ctx sdk.Context) (sdk.BeginBlock, error)
|
||||
|
||||
// Application updates every end block.
|
||||
// EndBlocker updates every end block.
|
||||
EndBlocker(ctx sdk.Context) (sdk.EndBlock, error)
|
||||
|
||||
// Application update at chain (i.e app) initialization.
|
||||
// InitChainer update at chain (i.e app) initialization.
|
||||
InitChainer(ctx sdk.Context, req *abci.RequestInitChain) (*abci.ResponseInitChain, error)
|
||||
|
||||
// Loads the app at a given height.
|
||||
// LoadHeight load the app at a given height.
|
||||
LoadHeight(height int64) error
|
||||
|
||||
// Exports the state of the application for a genesis file.
|
||||
// ExportAppStateAndValidators exports the state of the application for a genesis file.
|
||||
ExportAppStateAndValidators(forZeroHeight bool, jailAllowedAddrs, modulesToExport []string) (types.ExportedApp, error)
|
||||
}
|
||||
|
||||
@@ -36,6 +36,6 @@ type AppI interface {
|
||||
// specific blockchain that chooses to utilize the sdk simulation framework.
|
||||
type AppSimI interface {
|
||||
AppI
|
||||
// Helper for the simulation framework.
|
||||
// SimulationManager helper for the simulation framework.
|
||||
SimulationManager() *module.SimulationManager
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user