Skip to content

Commit

Permalink
fix: fix add-consumer-section for v4
Browse files Browse the repository at this point in the history
  • Loading branch information
NeverHappened committed Jul 11, 2024
1 parent 2b8d562 commit ea5c59c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/neutrond/consumer.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ func AddConsumerSectionCmd(defaultNodeHome string) *cobra.Command {

genesisState.Provider.InitialValSet = initialValset
genesisState.Provider.ConsensusState.NextValidatorsHash = tmtypes.NewValidatorSet(vals).Hash()
state.AppGenesis.Consensus.Validators = []tmtypes.GenesisValidator{{Address: pk.Address(), PubKey: pk, Power: 100, Name: "val"}}

state.ConsumerModuleState = genesisState

Expand Down

0 comments on commit ea5c59c

Please sign in to comment.