Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lisk-genesis create genesis block function does not order address by length #5800

Closed
ManuGowda opened this issue Sep 10, 2020 · 0 comments
Closed
Assignees
Milestone

Comments

@ManuGowda
Copy link
Contributor

Expected behavior

accounts must be ordered lexicographically.

Actual behavior

createGenesisBlock function does not order the accounts by taking address length into consideration, leading to invalid ordered(non lexicographical order) account.

Steps to reproduce

  • Use createGenesisBlock function and pass (devnet genesisBlock + add few more random accounts)
  • Start the application by passing updated generated genesisBlock
  • Should receive validator error with message containing lexicographical.

Which version(s) does this affect? (Environment, OS, etc...)

5.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants