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

feat: store and retrieve valid merkle roots in RLN db #702

Merged
merged 1 commit into from
Sep 4, 2023

Conversation

richard-ramos
Copy link
Member

Description

When a node is restarted, and has access to a persisted tree, the window of acceptable roots is not
persisted, and may result in an empty deque. To mitigate this bug, we are persisting the window of acceptable roots in
the rln metadata.

Issue

Part of #655

@status-im-auto
Copy link

status-im-auto commented Sep 1, 2023

Jenkins Builds

Click to see older builds (12)
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ fb3edc3 #1 2023-09-01 15:10:17 ~1 min linux 📦deb
✔️ fb3edc3 #1 2023-09-01 15:10:56 ~1 min nix-flake 📄log
✔️ fb3edc3 #1 2023-09-01 15:12:12 ~3 min tests 📄log
✔️ fb3edc3 #1 2023-09-01 15:12:12 ~3 min tests 📄log
✔️ fb3edc3 #1 2023-09-01 15:13:12 ~4 min android 📦tgz
✔️ fb3edc3 #1 2023-09-01 15:18:36 ~9 min ios 📦tgz
✔️ fb3edc3 #2 2023-09-04 14:31:25 ~30 sec linux 📦deb
✔️ fb3edc3 #2 2023-09-04 14:32:35 ~1 min tests 📄log
✔️ fb3edc3 #2 2023-09-04 14:32:52 ~1 min nix-flake 📄log
✔️ fb3edc3 #2 2023-09-04 14:34:00 ~3 min tests 📄log
✔️ fb3edc3 #2 2023-09-04 14:34:27 ~3 min android 📦tgz
✔️ fb3edc3 #2 2023-09-04 14:34:36 ~3 min ios 📦tgz
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 35e0473 #3 2023-09-04 14:43:59 ~1 min linux 📦deb
✔️ 35e0473 #3 2023-09-04 14:44:09 ~1 min tests 📄log
✔️ 35e0473 #3 2023-09-04 14:44:40 ~1 min tests 📄log
✔️ 35e0473 #3 2023-09-04 14:44:43 ~1 min nix-flake 📄log
✔️ 35e0473 #3 2023-09-04 14:45:49 ~3 min android 📦tgz
✔️ 35e0473 #3 2023-09-04 14:46:37 ~3 min ios 📦tgz
✔️ 72df629 #4 2023-09-04 14:48:38 ~47 sec tests 📄log
✔️ 72df629 #4 2023-09-04 14:48:53 ~1 min linux 📦deb
✔️ 72df629 #4 2023-09-04 14:49:32 ~1 min tests 📄log
✔️ 72df629 #4 2023-09-04 14:49:42 ~1 min nix-flake 📄log
✔️ 72df629 #4 2023-09-04 14:50:44 ~3 min android 📦tgz
✔️ 72df629 #4 2023-09-04 14:51:25 ~3 min ios 📦tgz

Copy link
Collaborator

@chaitanyaprem chaitanyaprem left a comment

Choose a reason for hiding this comment

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

LGTM

Base automatically changed from load-from-block to master September 4, 2023 14:30
@richard-ramos richard-ramos merged commit f9179cd into master Sep 4, 2023
10 checks passed
@richard-ramos richard-ramos deleted the restore-roots branch September 4, 2023 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

5 participants