File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 11package v1
22
3- func NewGenesisState () * GenesisState {
3+ func NewGenesisState (params Params ) * GenesisState {
44 return & GenesisState {
5- Params : Params {
6- BlockInterval : 50 ,
7- },
5+ Params : params ,
86 }
97}
108
119func DefaultGenesisState () * GenesisState {
12- return NewGenesisState ()
10+ return NewGenesisState (
11+ DefaultParams (),
12+ )
1313}
1414
1515func (m * GenesisState ) Validate () error {
Original file line number Diff line number Diff line change 77
88// Default parameter values for the Params struct
99var (
10- DefaultBlockInterval int64 = 10 // Default block interval in block numbers
10+ DefaultBlockInterval int64 = 100 // Default block interval in block numbers
1111 DefaultChannelID = "" // Default IBC channel ID
1212 DefaultPortID = "" // Default IBC port ID
1313 DefaultTimeout = 1 * time .Minute // Default timeout duration
You can’t perform that action at this time.
0 commit comments