elesto-dao / elesto

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

feat(mint): chain reset-resistant mint schedule #180

Closed gsora closed 2 years ago

gsora commented 2 years ago

This PR addresses the issue where if for some reason we have to restart the chain from block 0, the minting schedule would be restarted as well.

Instead of calculating the current year based on the block height, write down the first ever execution of the network and do calculations that way.

github-actions[bot] commented 2 years ago

This PR was marked as stale because there was no activity for 10 days

github-actions[bot] commented 2 years ago

This PR was marked as stale because there was no activity for 10 days

barriebyron commented 2 years ago

hi team! what's the status of this PR? (I hope that my suggested changes did not interrupt?)

github-actions[bot] commented 2 years ago

This PR was marked as stale because there was no activity for 10 days

noandrea commented 2 years ago

for reference, I've run the tests, simulations and smoke test querying supply.