MCPcopy Create free account
hub / github.com/OCEChain/OCEChain / initChainer

Method initChainer

app/app.go:139–160  ·  view source on GitHub ↗

initChainer implements the custom application logic that the BaseApp will invoke upon initialization. In this case, it will take the application's state provided by 'req' and attempt to deserialize said state. The state should contain all the genesis accounts. These accounts will be added to the app

(ctx sdk.Context, req abci.RequestInitChain)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

InitChainMethod · 0.80

Calls 3

ToAppAccountMethod · 0.80
SetAccountMethod · 0.80
UnmarshalJSONMethod · 0.45

Tested by

no test coverage detected