Example WriteGenesis implementation
This commit is contained in:
committed by
rigelrozanski
parent
ef88ca4c21
commit
ff66629b68
@@ -1,10 +0,0 @@
|
||||
package types
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
)
|
||||
|
||||
// Run only once on chain initialization, should write genesis state to store
|
||||
// or throw an error if some required information was not provided, in which case
|
||||
// the application will panic.
|
||||
type InitGenesis func(ctx Context, data json.RawMessage) error
|
||||
Reference in New Issue
Block a user