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

Store beacon aggregate after self-repair #606

Merged
merged 15 commits into from
Oct 12, 2022

Conversation

samuelmanzanera
Copy link
Member

Description

Store beacon summaries aggregate after self-repair to maintain a better security and data availability.
Explorer changes have been made to make the requests faster with this new design.
The DB now allow storing aggregates and clear the summaries after self repair.

Fixes #565

Type of change

  • New feature (non-breaking change which adds functionality)

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

@samuelmanzanera samuelmanzanera added feature New feature request beacon chain Involve BeaconChain DB Involve database self repair Involve SelfRepair mechanism labels Oct 5, 2022
@samuelmanzanera samuelmanzanera self-assigned this Oct 5, 2022
@@ -0,0 +1,3 @@
#!/usr/bin/env bash

release_remote_ctl eval --mfa "Mix.Tasks.Archethic.Migrate" --argv "$@"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

An error is returned when script is called :
▸ Incomplete module/function/arity specification for --mfa!: "Mix.Tasks.Archethic.Migrate"
In the command you need to pass the function name "Mix.Tasks.Archethic.Migrate.run/1"

@samuelmanzanera samuelmanzanera merged commit df6fd91 into develop Oct 12, 2022
@samuelmanzanera samuelmanzanera deleted the store_beacon_aggregate branch October 12, 2022 08:13
@samuelmanzanera samuelmanzanera mentioned this pull request May 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beacon chain Involve BeaconChain DB Involve database feature New feature request self repair Involve SelfRepair mechanism
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants