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

fix(rln-relay): bump zerokit to v0.3.2 #1951

Merged
merged 1 commit into from
Aug 25, 2023
Merged

fix(rln-relay): bump zerokit to v0.3.2 #1951

merged 1 commit into from
Aug 25, 2023

Conversation

rymnc
Copy link
Contributor

@rymnc rymnc commented Aug 25, 2023

Description

Bumps zerokit to v0.3.2, which includes a fix for tree persistence

Changes

  • Updated .gitmodules zerokit branch
  • Updated zerokit submodule
  • Updated build_rln.sh

Issue

closes #1944

@rymnc rymnc self-assigned this Aug 25, 2023
@rymnc rymnc marked this pull request as ready for review August 25, 2023 00:43
@github-actions
Copy link

You can find the image built from this PR at

quay.io/wakuorg/nwaku-pr:1951

@rymnc
Copy link
Contributor Author

rymnc commented Aug 25, 2023

@alrevuelta can you confirm that this branch does not produce the bug you mentioned?

@@ -17,7 +17,7 @@ fi
host_triplet=$(rustup show | grep "Default host: " | cut -d' ' -f3)

# Download the prebuilt rln library if it is available
if curl --silent --fail-with-body -L "https://github.com/vacp2p/zerokit/releases/download/v0.3.1/$host_triplet-rln.tar.gz" >> "$host_triplet-rln.tar.gz"
if curl --silent --fail-with-body -L "https://github.com/vacp2p/zerokit/releases/download/v0.3.2/$host_triplet-rln.tar.gz" >> "$host_triplet-rln.tar.gz"
Copy link
Member

Choose a reason for hiding this comment

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

Maybe an unnecessary overkill, but what about getting the version from the submodule?

Something like

$ git submodule status vendor/zerokit | awk '{print $3}' | sed 's/[()]//g'
v0.3.1

So that there is only one source of truth for the version?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

will address in a follow up pr, thanks!

Copy link
Member

@vpavlin vpavlin left a comment

Choose a reason for hiding this comment

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

blocked on @alrevuelta's review, but otherwise ok:)

Copy link
Contributor

@alrevuelta alrevuelta left a comment

Choose a reason for hiding this comment

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

lgtm! indeed it fixes the issue of the db disappearing every second run. Thanks for such a quick fix. I must admit it was very very tricky to reproduce 😢

@rymnc rymnc merged commit 32aa1c5 into master Aug 25, 2023
13 checks passed
@rymnc rymnc deleted the bump-zerokit-v0.3.2 branch August 25, 2023 08:14
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.

bug: rln db disappears
3 participants