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

Simulation: Custom Genesis File Time #4747

Closed
4 tasks
alexanderbez opened this issue Jul 19, 2019 · 0 comments · Fixed by #4750
Closed
4 tasks

Simulation: Custom Genesis File Time #4747

alexanderbez opened this issue Jul 19, 2019 · 0 comments · Fixed by #4750
Assignees

Comments

@alexanderbez
Copy link
Contributor

alexanderbez commented Jul 19, 2019

There are various places in the SDK's state machine where the block time is highly integral to core business logic (e.g. governance, vesting, etc...)

When running simulation from a custom genesis file (i.e. not random), the genesis time must also not be random, but rather use the genesis file's timestamp. Not only that, but the genesis file's timestamp should be that of the last block (exported block) time.

e.g.

When running simulations on a migrated exported mainnet genesis at height 1017669, the genesis time that should be used is 1562964590.


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants