Skip to content
This repository has been archived by the owner on Nov 16, 2022. It is now read-only.

hotfix: Emit Kafka msg for staking genesis state. #2240

Merged
merged 3 commits into from
Jul 15, 2020
Merged

Conversation

taobun
Copy link
Member

@taobun taobun commented Jul 15, 2020

Implementation details

  • Emit message to create validator and delegation rows when start chain from exported genesis from old chain.

Please ensure the following requirements are met before submitting a pull request:

  • The pull request is targeted against the correct target branch
  • The pull request includes a description of the implementation/work done in detail.
  • The pull request includes any and all appropriate unit/integration tests (Test by sync with current devnet).
  • You have added a relevant changelog entry to CHANGELOG_UNRELEASED.md
  • You have re-reviewed the files affected by the pull request (e.g. using the Files changed tab in the Github PR explorer)

@taobun taobun requested review from sorawit and Benzbeeb July 15, 2020 12:20
@render
Copy link

render bot commented Jul 15, 2020

@@ -107,7 +107,7 @@ func (app *App) InitChain(req abci.RequestInitChain) abci.ResponseInitChain {
"balance": app.BankKeeper.GetCoins(app.DeliverContext, account.GetAddress()).String(),
})
}
// Staking module
// GenUtil module for create validator genesis transaction.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: transactions

@taobun taobun force-pushed the genesis-validator branch from 64ba2f7 to e16fbb4 Compare July 15, 2020 12:29
@Benzbeeb Benzbeeb merged commit 03159d3 into master Jul 15, 2020
@Benzbeeb Benzbeeb deleted the genesis-validator branch July 15, 2020 12:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants