Skip to content

Commit

Permalink
fix default genesis l2sequence
Browse files Browse the repository at this point in the history
  • Loading branch information
beer-1 committed Nov 15, 2023
1 parent 758fc75 commit f7355b6
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions x/opchild/types/genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,12 @@ func NewGenesisState(params Params, validators []Validator) *GenesisState {
// DefaultGenesisState gets the raw genesis raw message for testing
func DefaultGenesisState() *GenesisState {
return &GenesisState{
Params: DefaultParams(),
LastValidatorPowers: []LastValidatorPower{},
Validators: []Validator{},
Exported: false,
Params: DefaultParams(),
LastValidatorPowers: []LastValidatorPower{},
Validators: []Validator{},
Exported: false,
NextL2Sequence: 1,
FinalizedL1Sequences: []uint64{},
}
}

Expand Down

0 comments on commit f7355b6

Please sign in to comment.