elesto-dao / elesto

The ElestoDAO node
Apache License 2.0
4 stars 1 forks source link

Custom mint in case of chain reset #148

Closed noandrea closed 2 years ago

noandrea commented 2 years ago

In the unlikely case where we need to dump and reload the state of the chain, and by doing that we need for some reasons to begin from block 1 again, the mint module logic, which is based on the height of the chain, will have to be changed.

How likely is this scenario?

noandrea commented 2 years ago

the outcome of the task is to have a new version of the mint module that is not susceptible to this problem

noandrea commented 2 years ago

@sahith-narahari suggests using the block timestamp at block 1 to calculate the block inflation

noandrea commented 2 years ago

@noandrea check the test for the credential module

github-actions[bot] commented 2 years ago

This issue was marked as stale because there was no activity for 15 days