Ivan Folgueira Bande
aa3e1a66d5
fix(sqlite): Properly set user_version to 7 so that the migration procedure is not started ( #2031 )
2023-09-14 14:12:37 +02:00
Álex Cabeza Romero
df338b19d1
test(waku-filter): Subscriber ping tests ( #2023 )
...
* Move waku filter utility functions to a different file for reuse.
* Add asyncSetup and asyncTeardown templates.
* Implement waku filter subscriber ping tests.
2023-09-14 11:30:56 +02:00
Ivan Folgueira Bande
e8602021b6
chore(postgres): not loading the libpq library by default & better user feedback ( #2028 )
...
* removing implicit dependency with libpq if postgres is not being used.
* We only run the postgres tests when explicitly willing to, i.e. make
POSTGRES=1 test. The reason is that the postgres tests expect a
database instance to be running locally.
2023-09-13 12:45:55 +02:00
NagyZoltanPeter
563b2b20a5
chore: move SubscriptionManager under waku_core ( #2025 )
...
* chore: cherry-pick from Filter V2 RestApi PR: move FilterPushHandler and SubscriptionManager from Filter V1 to under waku_core
2023-09-12 17:08:40 +02:00
Álex Cabeza Romero
ebe715e9fa
docs(README): List possible WSL Issue ( #1995 )
...
* Add disclaimer on WSL building issue to README.
* Add bundled nim runtime information to README.
2023-09-11 18:06:19 +02:00
Vaclav Pavlin
e8776fd664
chore(ci): add js-waku test to pre-release workflow ( #2017 )
2023-09-11 16:16:53 +02:00
Aaryamann Challani
a4e783303c
fix(rln-relay): waku_rln_number_registered_memberships metrics appropriately handled ( #2018 )
2023-09-11 19:21:45 +05:30
gabrielmer
47ae19c104
fix: prevent IP 0.0.0.0 from being published and update peers with empty ENR data ( #1982 )
2023-09-11 11:30:12 +03:00
Aaryamann Challani
645b034367
feat(rln-relay): removed rln from experimental 🚀 ( #2001 )
...
* feat(rln-relay): removed rln from experimental 🚀
* fix(waku_node): if rln-relay is nil, return true
* chore(tests): mark rest health as skipped
2023-09-11 12:02:31 +05:30
Aaryamann Challani
76e34077b2
chore(rln-relay): updated docs ( #1993 )
2023-09-11 11:10:41 +05:30
Aaryamann Challani
21604e6bfd
fix(rln-relay): missed roots during sync ( #2015 )
2023-09-08 18:24:27 +05:30
Vaclav Pavlin
5d976df9a6
chore(ci): execute js-waku integration tests on image build ( #2006 )
2023-09-08 14:01:59 +02:00
Alvaro Revuelta
7d9d8a3fb4
fix(p2p): fix possible connectivity issue ( #1996 )
2023-09-08 13:36:26 +02:00
NagyZoltanPeter
fc6194bb6b
feat: Rest endoint /health for rln ( #2011 )
...
* Rest endoint /health added
* Remove dev-debug echo
* Changed not ready message
* Update waku/node/rest/health/handlers.nim
Co-authored-by: Ivan Folgueira Bande <128452529+Ivansete-status@users.noreply.github.com>
* Various fixes on PR foundings, added comments
---------
Co-authored-by: Ivan Folgueira Bande <128452529+Ivansete-status@users.noreply.github.com>
2023-09-08 11:19:47 +02:00
Aaryamann Challani
a8095d871e
fix(rln-db-inspector): use valueOr pattern ( #2012 )
2023-09-08 13:58:27 +05:30
Aaryamann Challani
ec42e2c758
feat(rln_db_inspector): create rln_db_inspector tool ( #1999 )
...
* feat(rln_db_inspector): create rln_db_inspector tool
* Apply suggestions from code review
Co-authored-by: Ivan Folgueira Bande <128452529+Ivansete-status@users.noreply.github.com>
---------
Co-authored-by: Ivan Folgueira Bande <128452529+Ivansete-status@users.noreply.github.com>
2023-09-07 18:15:25 +05:30
Simon-Pierre Vivier
b991682b28
fix(tests): relay tests use random port to avoid conflict ( #1998 )
2023-09-07 07:41:56 -04:00
Ivan Folgueira Bande
1fb13b0967
Adding healtcheck and reconnection mechanism to the postgres archive driver ( #1997 )
...
It starts an asynchronous infinite task that checks the connectivity
with the database. In case of error, the postgres_healthcheck task
tries to reconnect for a while, and if it determines that the connection
cannot be resumed, then it invokes a callback indicating that
situation. For the case of the `wakunode2` app, this callback
quits the application itself and adds a log trace indicating
the connectivity issue with the database.
2023-09-06 19:16:37 +02:00
Aaryamann Challani
5638bd06bb
chore(rln-relay): add isReady check ( #1989 )
...
* chore(rln-relay): add isReady check
* fix(rln-relay): multiple parameters for checking if node is in sync
* fix: set latesthead in newHeadCallback
* fix: explicit rpc call
* fix: unhandled exception
2023-09-06 14:16:19 +05:30
Aaryamann Challani
483f40c8f7
chore(rln-relay): clean up nullifier table every MaxEpochGap ( #1994 )
2023-09-06 13:48:02 +05:30
Alvaro Revuelta
ea31b531b5
Add utils to Dockerfile ( #1991 )
2023-09-05 15:50:54 +02:00
Vaclav Pavlin
988501922f
chore(ci): use commit instead of master for docker image ( #1990 )
2023-09-05 11:58:01 +02:00
Aaryamann Challani
debc5f19d9
feat(relay): ordered validator execution ( #1966 )
...
* feat(relay): ordered validator execution
* fix: make more readable
* test: ignore accepts only
* fix: idempotent .subscribe
* fix(rln-relay): make validators private
Co-authored-by: Ivan Folgueira Bande <128452529+Ivansete-status@users.noreply.github.com>
* fix: include comments, unsubscribe behaviour
* fix: compilation
---------
Co-authored-by: Ivan Folgueira Bande <128452529+Ivansete-status@users.noreply.github.com>
2023-09-05 14:35:07 +05:30
Aaryamann Challani
97a7c9d04d
chore(rln-relay): log levels for certain logs ( #1986 )
2023-09-04 18:43:59 +05:30
Vaclav Pavlin
4ed414576a
fix(ci): incorrect use of braces ( #1987 )
2023-09-04 14:08:11 +02:00
Aaryamann Challani
a14c32614a
chore(rln-relay): use the only key from keystore if only 1 exists ( #1984 )
...
* chore(rln-relay): use the only key from keystore if only 1 exists
* fix: convert iterator to seq and then index into it
2023-09-04 15:46:44 +05:30
Vaclav Pavlin
1b835b4e2a
chore(ci): enable experimental for the PR image builds ( #1976 )
2023-09-04 10:47:12 +02:00
Aaryamann Challani
be48891f77
chore(rln-relay): confirm that the provided credential is correct using onchain query ( #1980 )
2023-09-04 11:22:31 +05:30
Alvaro Revuelta
05c988645d
chore(api): validate rln message before sending (rest + rpc) ( #1968 )
2023-09-01 15:03:59 +02:00
Aaryamann Challani
1a318c2990
fix(Makefile): invalid path to crate build ( #1981 )
2023-09-01 16:50:55 +05:30
Ivan Folgueira Bande
68e8d9a79c
chore(cbindings): Thread-safe libwaku. WakuNode instance created directly from the Waku Thread ( #1957 )
...
* libwaku: create the WakuNode in the Waku thread. Not in the main thread
* node_lifecycle_request.nim: moving hard-coded value to a const item
* libwaku.nim: start using 'isOkOr' instead of 'isErr()'-approach
* node_lifecycle_request.nim: better 'async' & 'await' usage. Not block the runtime
2023-09-01 08:37:02 +02:00
Ivan Folgueira Bande
0c40588aff
Dockerfile: forcing a particular heaptrack version to avoid build issues ( #1979 )
2023-09-01 08:17:12 +02:00
Simon-Pierre Vivier
037b166263
fix: --topic should be ignore when using --pubsub-topic or --content-topic ( #1977 )
2023-08-31 16:13:45 -04:00
Ivan Folgueira Bande
7d37f2ec28
external_config.nim: cleanup 'store-resume-peer' attribute ( #1970 )
2023-08-31 17:29:05 +02:00
Alvaro Revuelta
f262397d71
fix(tests): fix flaky test ( #1972 )
2023-08-31 12:24:41 +02:00
Aaryamann Challani
d262837ea5
fix(rln-relay): deserialization of valid merkle roots ( #1973 )
2023-08-31 13:19:43 +05:30
richΛrd
e272bec9c5
chore: add debug log indicating succesful message pushes and also log the message hash ( #1965 )
2023-08-30 18:10:51 -04:00
Vaclav Pavlin
26c06b2714
fix(ci): rename tools artifact to prevent conflict ( #1971 )
2023-08-30 17:29:41 +02:00
Aaryamann Challani
7d53aec164
chore(rln-keystore-generator): log out the membership index upon registration ( #1963 )
2023-08-30 11:50:20 +05:30
Aaryamann Challani
9b1d2904c1
fix(Makefile): rln was enabled by default ( #1964 )
2023-08-30 00:22:22 +05:30
Aaryamann Challani
e7b2b88f5b
fix(rln-relay): modify keystore credentials logic ( #1956 )
...
* fix(rln-relay): modify keystore credentials logic
fix: bump version
* Update waku/waku_rln_relay/group_manager/on_chain/group_manager.nim
Co-authored-by: Ivan Folgueira Bande <128452529+Ivansete-status@users.noreply.github.com>
* Update tests/waku_rln_relay/test_waku_rln_relay.nim
Co-authored-by: Ivan Folgueira Bande <128452529+Ivansete-status@users.noreply.github.com>
* Update waku/waku_keystore/protocol_types.nim
Co-authored-by: Ivan Folgueira Bande <128452529+Ivansete-status@users.noreply.github.com>
* fix: greatly improve error handling
* fix: display proc and appropriate assert
---------
Co-authored-by: Ivan Folgueira Bande <128452529+Ivansete-status@users.noreply.github.com>
2023-08-29 17:46:21 +05:30
Aaryamann Challani
ac25855018
fix(Makefile): error out if rln-keystore-generator not compiled with rln flag ( #1960 )
...
* fix(Makefile): error out if rln-keystore-generator not compiled with rln flag
* fix(Makefile): make rln default to true for target
2023-08-29 15:36:22 +05:30
Aaryamann Challani
bd3be21929
fix(rln-relay): sync from deployed block number ( #1955 )
...
* fix(rln-relay): sync from deployed block number
* fix(rln-relay): remove option usage for ints
* fix: unnecessary decl
2023-08-29 13:12:13 +05:30
Ivan Folgueira Bande
04df6d1fa7
Removing bridge.md tutorial as v1 doc was removed ( #1954 )
2023-08-28 10:09:42 +02:00
Aaryamann Challani
01634f57f0
fix(rln-relay): window of acceptable roots synced to rln metadata ( #1953 )
...
* fix(rln-relay): window of acceptable roots synced to rln metadata
* fix(rln-relay): s/var/let, use for loop
2023-08-25 23:29:17 +05:30
Aaryamann Challani
cc9f8d4254
chore(rln-relay): integrate waku rln registry ( #1943 )
2023-08-25 22:48:52 +05:30
Aaryamann Challani
32aa1c5b61
fix(rln-relay): bump zerokit to v0.3.2 ( #1951 )
2023-08-25 13:44:57 +05:30
Simon-Pierre Vivier
4539dfc761
feat(discv5): topic subscriptions update discv5 filter predicate ( #1918 )
2023-08-23 11:50:59 -04:00
Simon-Pierre Vivier
c369b3294e
feat: topic subscriptions updates discv5 ENR ( #1875 )
2023-08-23 09:53:17 -04:00
Aaryamann Challani
c07d63db46
fix(rln-relay): flush_interval incorrectly set ( #1933 )
2023-08-23 18:23:44 +05:30