Darshan K
8da2a9c0a5
chore: refactor relative path to better absolute ( #2861 )
2024-07-06 00:03:38 +02:00
Ivan Folgueira Bande
b574636e72
Merge branch 'release/v0.30' into update-master-from-release-v0.30
2024-07-02 10:16:40 +02:00
gabrielmer
3e8094a4ef
chore: saving agent and protoVersion in peerStore ( #2860 )
2024-07-01 13:29:14 +02:00
Darshan K
d41280cc7a
chore: unit test for duplicate message push ( #2852 )
...
* chore: add unit test for testing duplicate message push with timedcache
* chore: update according to better naming convention
---------
Co-authored-by: NagyZoltanPeter <113987313+NagyZoltanPeter@users.noreply.github.com>
2024-06-28 18:16:06 +05:30
Darshan K
7ad9722ecf
chore: remove all pre-nim-1.6 deadcode from codebase ( #2857 )
2024-06-28 16:04:57 +05:30
Aaryamann Challani
e093af4c12
chore(rln-relay): add chain-id flag to wakunode and restrict usage if mismatches rpc provider ( #2858 )
2024-06-28 11:19:16 +02:00
Alvaro Revuelta
393d65faf9
chore: add TWN parameters for RLNv2 ( #2843 )
2024-06-27 11:45:21 +02:00
gabrielmer
67c6b2142c
chore: adding origin to peers admin endpoint ( #2848 )
2024-06-26 17:59:12 +02:00
Ivan FB
75ed5d14e3
chore: archive.nim - increase the max limit of content topics per query to 100 ( #2846 )
2024-06-26 12:24:15 +02:00
Aaryamann Challani
ec3d02a028
fix(rln-relay): clear nullifier log only if length is over max epoch gap ( #2836 )
2024-06-24 13:29:56 +02:00
Darshan K
944b044e93
chore: better descriptive log ( #2826 )
...
* chore: update logs with topic discription & debug msg
* chore: update unit according to error msg
* chore: update rest unit according to error msg
* chore: add content-topic with debug msg
2024-06-20 18:38:55 +05:30
Aaryamann Challani
aa16002a4e
feat(rlnv2): clean fork of rlnv2 ( #2828 )
...
* chore(rlnv2): contract interface changes (#2770 )
* fix: tests
* fix: remove stuint[32]
* chore(submodule): update zerokit submodule to v0.5.1 (#2782 )
* fix: remove cond comp for lightpush test
* fix: ci and nonceManager
2024-06-20 14:55:50 +02:00
Aaryamann Challani
7e4f18cda7
feat(rlnv2): clean fork of rlnv2 ( #2828 )
...
* chore(rlnv2): contract interface changes (#2770 )
* fix: tests
* fix: remove stuint[32]
* chore(submodule): update zerokit submodule to v0.5.1 (#2782 )
* fix: remove cond comp for lightpush test
* fix: ci and nonceManager
2024-06-20 11:35:21 +02:00
Akhil
0b97106cbe
feat: RLN proofs as a lightpush service ( #2768 )
2024-06-13 21:10:00 +04:00
gabrielmer
767e89d5f1
added message to failed assert ( #2805 )
2024-06-12 22:27:10 +02:00
NagyZoltanPeter
641aa48696
Use random ports in rest tests instead of fixed ones ( #2804 )
2024-06-12 15:07:33 +02:00
gabrielmer
49372441c5
fix: increase on chain group manager starting balance ( #2795 )
2024-06-10 14:31:16 +02:00
Ivan FB
21a96cea7d
postgres partitions: ensure the partition ranges are o'clock ( #2776 )
...
Also, skip the error "partition already exists" because that happens
when multiple nodes interact with the same database.
2024-06-05 17:45:38 +02:00
gabrielmer
3fd715cfc2
unifying clusterId to be uint16 ( #2777 )
2024-06-05 15:32:35 +02:00
Ivan FB
8a51db68bd
test_waku_store.nim: add logs to better analyse uncertain flaky tests ( #2740 )
2024-05-29 10:05:07 +02:00
Prem Chaitanya Prathi
b13a11ad7c
fix: move postgres related tests under linux conditional
2024-05-28 17:24:22 +05:30
Simon-Pierre Vivier
6ab1084d46
fix: invalid cursor returning messages ( #2724 )
...
Co-authored-by: Ivan FB <128452529+Ivansete-status@users.noreply.github.com>
2024-05-27 10:54:10 -04:00
Simon-Pierre Vivier
2db1cf3fcb
fix: store v3 bug fixes ( #2718 )
2024-05-23 08:01:52 -04:00
Ivan FB
652fc172d4
chore: generic change to reduce the number of compilation warnings ( #2696 )
2024-05-16 22:29:11 +02:00
Ivan FB
103ed86021
test_client: simple sleep to try avoid macos CI test failures ( #2707 )
2024-05-16 18:04:04 +02:00
Ivan FB
6df7df2bb2
test_client: add nil error handling after serverSwitch.start() clientSwitch.start() ( #2703 )
2024-05-15 12:36:17 +02:00
Akhil
41cdb92be7
feat: Added message size check before relay for lightpush ( #2695 )
2024-05-15 14:13:13 +04:00
Ivan FB
0b2859ed5a
chore: move code from wakunode2 to a more generic place, waku ( #2670 )
...
* testlib/wakunode.nim: not use cluster-id == 1 to avoid test rln by default
2024-05-13 17:45:48 +02:00
Álex Cabeza Romero
d3a2c4e76d
test(sharding): Implement sharding tests ( #2603 )
...
* Implement sharding tests.
2024-05-13 17:43:14 +02:00
Álex Cabeza Romero
9dd59c727e
test(peer-and-connection-management): Implement tests ( #2566 )
...
* Implement peer and connection management tests.
* Fix multiple peers added on initialisation.
* Remove clusterId parameter from newTestWakuNode.
2024-05-13 17:25:44 +02:00
Ivan FB
5440dd3fbc
chore: Postgres enhance get oldest timestamp ( #2687 )
...
* postgres: consider also the existing paritions when getting oldest timestamp
* test_driver_postgres_query: adapt test to oldest timestamp
2024-05-10 18:31:01 +02:00
gabrielmer
bbffa88a0d
fix: use await instead of waitFor in async tests ( #2690 )
2024-05-10 14:13:58 +02:00
NagyZoltanPeter
e028362086
feat: Added flexible rate limit checks for store, legacy store and lightpush ( #2668 )
...
* Added flexible rate limit checks for store, legacy store and lightpush. Also added rate and traffic metrics.
* Fix chat2 after WakuLegacyStoreCodec rename
* Update waku/common/ratelimit.nim
Co-authored-by: Ivan FB <128452529+Ivansete-status@users.noreply.github.com>
* Update waku/common/ratelimit.nim
Co-authored-by: Ivan FB <128452529+Ivansete-status@users.noreply.github.com>
* Update waku/waku_store_legacy/protocol.nim
Co-authored-by: Ivan FB <128452529+Ivansete-status@users.noreply.github.com>
* Fix review findings, added limit to debug logs
---------
Co-authored-by: Ivan FB <128452529+Ivansete-status@users.noreply.github.com>
2024-05-09 20:07:49 +02:00
Simon-Pierre Vivier
3e51b9d904
fix: message cache removal crash ( #2682 )
2024-05-09 10:38:55 -04:00
gabrielmer
42b250b9e9
adding wait after starting node to avoid segfault ( #2686 )
2024-05-09 11:31:58 +02:00
Simon-Pierre Vivier
9ae579b714
feat: store v3 return pubsub topics ( #2676 )
2024-05-08 15:35:56 -04:00
gabrielmer
9be3221b5d
feat: supporting meta field in store ( #2609 )
2024-05-06 10:20:21 +02:00
Ivan FB
1d35ca970f
refactor: big refactor to add waku component in libwaku instead of onlu waku node ( #2658 )
2024-05-03 14:07:15 +02:00
Simon-Pierre Vivier
db72e2b823
fix: store v3 validate cursor & remove messages ( #2636 )
2024-05-01 14:47:06 -04:00
Aaryamann Challani
44703f2608
fix(waku_keystore): sigsegv on different appInfo ( #2654 )
...
* fix(waku_keystore): sigsegv on different appInfo
* fix: field specific errors
* fix: more verbose error logs
2024-05-01 23:05:22 +05:30
Aaryamann Challani
8ada4e06f1
fix(rln-relay): persist metadata every batch during initial sync ( #2649 )
...
* fix(rln-relay): persist metadata every batch during initial sync
* fix: test
* Apply suggestions from code review
Co-authored-by: Ivan FB <128452529+Ivansete-status@users.noreply.github.com>
* patch: isOkOr template
---------
Co-authored-by: Ivan FB <128452529+Ivansete-status@users.noreply.github.com>
2024-04-30 18:52:47 +05:30
Ivan FB
7bab843003
refactor: metrics server. Simplify app.nim module ( #2650 )
2024-04-30 15:07:17 +02:00
Aaryamann Challani
7dd7531a4a
chore(rln-relay): resultify rln-relay 1/n ( #2607 )
...
* chore(rln-relay): resultify rln-relay 1/n
* fix: v2 too
* fix: for static group manager
* fix: cleanup, make PR digestable
* fix: remove resultified retry wrapper
* fix: cleanup
* fix: cleanup
2024-04-26 11:53:58 +02:00
Simon-Pierre Vivier
665d9e3a06
feat: store v3 ( #2431 )
2024-04-25 09:09:52 -04:00
Ivan FB
963d79aee7
refactor: addition of waku_api/rest/builder.nim and reduce app.nim ( #2623 )
2024-04-24 15:59:50 +02:00
NagyZoltanPeter
daa88019d0
chore: Separation of node health and initialization state from rln_relay ( #2612 )
...
* Separation of node health and initialization state from rln_relay status. Make (only) health endpoint avail early and install others in the last stage of node setup.
* Proper json report from /health, adjusted and fixed test, added convenient script for checking node health
* Stop wakunode2 if configured rest server cannot be started
* Fix wakuRlnRelay protocol existence check
* Fix typo
* Removed unused imports from touched files.
* Added missing /health test for all
2024-04-23 18:53:18 +02:00
Prem Chaitanya Prathi
9045af9363
fix: don't use WakuMessageSize in req/resp protocols ( #2601 )
...
* fix: don't use WakuMessageSize in req/resp protocols
2024-04-20 09:10:52 +05:30
Ivan FB
dc7d036074
refactor: move app.nim and networks_config.nim to waku/factory ( #2608 )
2024-04-19 20:03:36 +02:00
kaichao
4f63fa9f88
fix: create options api for cors preflight request ( #2598 )
2024-04-18 18:29:50 +08:00
Ivan FB
1dc7224c48
fix: node restart test issue ( #2576 )
...
* test_protocol.nim: enhance test reboot and connect
- Is not necessary to start the node if the switch object has been
already started
- Enable an existing "Relay can receive messages after reboot and
reconnect" test
- Explicit reconnect to peer in "Relay can receive messages after reboot
and reconnect" test
* tests/waku_relay/utils: avoid starting the proto again in newTestSwitch proc
With that, we avoid double start of the protocol.
* bump nim-libp2p
2024-04-18 11:20:39 +02:00