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: waku store sync 2.0 protocols & tests #3216

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

SionoiS
Copy link
Contributor

@SionoiS SionoiS commented Dec 17, 2024

Description

Third PR for the new Waku store sync 2.0

Include the protocols themselves.

Transfer protocol does not have tests yet.

Specification
Research issue

Changes

  • Recon protocol
  • transfer protocol
  • tests

N.B. Cannot be merged before #3215
Followed by #3217

Issue

Copy link

github-actions bot commented Dec 17, 2024

You can find the image built from this PR at

quay.io/wakuorg/nwaku-pr:3216

Built from eb0008e

@SionoiS SionoiS requested a review from jm-clius January 7, 2025 15:59
Copy link
Collaborator

@Ivansete-status Ivansete-status left a comment

Choose a reason for hiding this comment

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

Thanks for the PR! 🥳
Some comments so far

tests/waku_store_sync/test_protocol.nim Outdated Show resolved Hide resolved
tests/waku_store_sync/test_protocol.nim Outdated Show resolved Hide resolved
tests/waku_store_sync/test_protocol.nim Outdated Show resolved Hide resolved
tests/waku_store_sync/test_protocol.nim Outdated Show resolved Hide resolved
tests/waku_store_sync/test_protocol.nim Outdated Show resolved Hide resolved

reconciliation_roundtrips.observe(roundTrips)

await conn.close()
Copy link
Collaborator

Choose a reason for hiding this comment

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

The conn gets closed after every reconciliation is complete right?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes it's the last step

waku/waku_store_sync/reconciliation.nim Outdated Show resolved Hide resolved
waku/waku_store_sync/reconciliation.nim Outdated Show resolved Hide resolved
waku/waku_store_sync/reconciliation.nim Outdated Show resolved Hide resolved
waku/waku_store_sync/reconciliation.nim Outdated Show resolved Hide resolved
Copy link
Contributor

@jm-clius jm-clius left a comment

Choose a reason for hiding this comment

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

Thanks! :)

waku/waku_store_sync/reconciliation.nim Outdated Show resolved Hide resolved
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

Successfully merging this pull request may close these issues.

3 participants