Skip to content

Commit

Permalink
fix(cli): add chain-id to PrepareGenesis cmd (#1393)
Browse files Browse the repository at this point in the history
## What is the purpose of the change

The PR fix the `PrepareGenesis` cmd

## Brief change log

* fix(cli): add chain-id to PrepareGenesis cmd


## Testing and Verifying

Manually verified the change

## Documentation and Release Note

  - Does this pull request introduce a new feature or user-facing behavior changes? NO
  - Is a relevant changelog entry added to the `Unreleased` section in `CHANGELOG.md`? NO
  - How is the feature or change documented? not applicable
  • Loading branch information
angelorc authored May 3, 2022
1 parent cf3317c commit 4b12425
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/osmosisd/cmd/genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ func PrepareGenesis(clientCtx client.Context, appState map[string]json.RawMessag
cdc := depCdc

// chain params genesis
genDoc.ChainID = chainID
genDoc.GenesisTime = genesisParams.GenesisTime

genDoc.ConsensusParams = genesisParams.ConsensusParams
Expand Down

0 comments on commit 4b12425

Please sign in to comment.