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: storeV3 client #1028

Merged
merged 6 commits into from
May 3, 2024
Merged

feat: storeV3 client #1028

merged 6 commits into from
May 3, 2024

Conversation

richard-ramos
Copy link
Member

@richard-ramos richard-ramos commented Feb 7, 2024

  • Use waku-proto protobuffer (once available)
  • Implement queryFrom
  • TODOs
  • Test units
  • Interop against nwaku
  • Github action to test this feature automatically against nwaku

@status-im-auto
Copy link

status-im-auto commented Feb 7, 2024

Jenkins Builds

Click to see older builds (28)
Commit #️⃣ Finished (UTC) Duration Platform Result
✖️ d4dbc04 #1 2024-02-07 20:40:02 ~1 min nix-flake 📄log
✖️ b0c0e87 #2 2024-02-07 21:24:29 ~53 sec nix-flake 📄log
✔️ 1e0deed #3 2024-02-28 18:19:47 ~1 min nix-flake 📄log
✔️ 44df347 #4 2024-04-25 14:47:25 ~1 min nix-flake 📄log
✔️ b30f5c5 #5 2024-04-25 21:04:02 ~1 min nix-flake 📄log
✔️ 29c0184 #6 2024-04-25 22:58:11 ~1 min nix-flake 📄log
✔️ 3687448 #7 2024-04-26 01:46:24 ~1 min nix-flake 📄log
✔️ 5cbf4a6 #8 2024-04-26 13:28:22 ~1 min nix-flake 📄log
✔️ d0854ab #9 2024-04-26 13:38:52 ~1 min nix-flake 📄log
✔️ efc0c7b #10 2024-04-26 13:57:08 ~1 min nix-flake 📄log
✔️ 1813b2e #11 2024-04-26 14:11:03 ~1 min nix-flake 📄log
✔️ 0935786 #12 2024-04-26 14:25:28 ~1 min nix-flake 📄log
✔️ eea2142 #13 2024-04-26 14:31:13 ~1 min nix-flake 📄log
✔️ 854b19f #14 2024-04-26 14:50:58 ~1 min nix-flake 📄log
✔️ 373fd68 #15 2024-04-26 14:53:42 ~1 min nix-flake 📄log
✔️ dbd047b #16 2024-04-26 14:59:53 ~1 min nix-flake 📄log
✔️ c273310 #17 2024-04-26 15:02:54 ~1 min nix-flake 📄log
✔️ 63c5abc #18 2024-04-26 15:14:04 ~1 min nix-flake 📄log
✔️ 8f5103e #19 2024-04-26 15:19:03 ~1 min nix-flake 📄log
✔️ 5edab88 #20 2024-04-26 15:21:52 ~2 min nix-flake 📄log
✔️ 43ec2f5 #21 2024-04-26 15:24:35 ~2 min nix-flake 📄log
✔️ 7feaf11 #22 2024-04-26 15:27:33 ~1 min nix-flake 📄log
✔️ 5abca34 #23 2024-04-26 15:29:48 ~1 min nix-flake 📄log
✔️ 5590bda #24 2024-04-26 15:33:58 ~1 min nix-flake 📄log
✔️ 10a4d87 #25 2024-04-26 15:38:58 ~1 min nix-flake 📄log
✔️ b54e1f6 #26 2024-04-26 15:41:43 ~1 min nix-flake 📄log
✔️ 6993120 #27 2024-04-26 15:51:43 ~1 min nix-flake 📄log
✔️ 01fc9de #28 2024-04-26 18:28:39 ~1 min nix-flake 📄log
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ eca4482 #29 2024-04-26 18:32:29 ~1 min nix-flake 📄log
✔️ 2b5da59 #30 2024-05-02 20:00:48 ~1 min nix-flake 📄log

@chaitanyaprem chaitanyaprem linked an issue Feb 16, 2024 that may be closed by this pull request
@richard-ramos
Copy link
Member Author

Just few items missing: the validation of response codes and interop tests against waku-org/nwaku#2431 once available.

@richard-ramos
Copy link
Member Author

richard-ramos commented Apr 25, 2024

Some issues were identified during interop with nwaku:

Also, the protobuffer used in this PR uses different variable type compared to the spec vacp2p/rfc#665 . I do believe that the implementation in nwaku and go-waku is what should be used tho.

@richard-ramos richard-ramos force-pushed the store-v3 branch 17 times, most recently from 5abca34 to 5590bda Compare April 26, 2024 15:31
@richard-ramos richard-ramos force-pushed the store-v3 branch 4 times, most recently from 6993120 to 01fc9de Compare April 26, 2024 18:26
@richard-ramos
Copy link
Member Author

@chaitanyaprem This PR is ready to review!
The test units are failing because of the issues being solved in waku-org/nwaku#2636 but once those are fixed, this PR should be good to go!

Btw, this is like 1500 lines PR, but fear not! It's because i renamed a package from store to legacy_store. The core changes of this PR can be found inside the store folder.

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
Left few comments/queries, but can be merged.

.github/docker-compose/nwaku.yml Outdated Show resolved Hide resolved
waku/v2/node/wakunode2.go Show resolved Hide resolved
waku/v2/protocol/store/client.go Show resolved Hide resolved
@richard-ramos richard-ramos merged commit 28c2a27 into master May 3, 2024
11 of 12 checks passed
@richard-ramos richard-ramos deleted the store-v3 branch May 3, 2024 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

feat: allow query messages based on message hash from waku store
4 participants