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

Improve first sync #175

Open
RiccardoM opened this issue Aug 19, 2021 · 0 comments
Open

Improve first sync #175

RiccardoM opened this issue Aug 19, 2021 · 0 comments
Assignees

Comments

@RiccardoM
Copy link
Contributor

Feature description

We should find a way to improve the first sync of BDJuno. This can be done for example via the export of the current state chain and then using the genesis_file_path field to provide BDJuno a starting point. However, this will loose all the historical data such as:

  • Proposals that did not pass
  • Voting power snaphots after a proposal passes

Implementation proposal

To solve this, we could create a list of things that are deleted from the chain state (eg. proposals that did not make it into voting period) and get them using the tx_search endpoint by searching for specific messages.

@RiccardoM RiccardoM self-assigned this Aug 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant