From ea5c59c86254b47d924f778eec777156c5b21742 Mon Sep 17 00:00:00 2001 From: nhpd Date: Thu, 11 Jul 2024 15:44:11 +0400 Subject: [PATCH] fix: fix add-consumer-section for v4 --- cmd/neutrond/consumer.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/neutrond/consumer.go b/cmd/neutrond/consumer.go index 6ef10a887..d697ecee0 100644 --- a/cmd/neutrond/consumer.go +++ b/cmd/neutrond/consumer.go @@ -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