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
Aaryamann Challani
1ae5b5a951
fix(rln-relay): RLN DB should be aware of chain and contract address ( #1932 )
2023-08-23 18:23:30 +05:30
Aaryamann Challani
c9b48ea1a0
feat(rln_keystore_generator): wired to onchain group manager ( #1931 )
...
* feat(rln_keystore_generator): wired to onchain group manager
* fix(Makefile): rename target to best practice
2023-08-23 18:20:40 +05:30
Vaclav Pavlin
505d196796
chore(ci): add a job checking config options and db schema ( #1927 )
2023-08-23 09:33:11 +02:00
Aaryamann Challani
07945a37c0
chore(rln_keystore_generator): generate and persist credentials ( #1928 )
...
* chore(rln_keystore_generator): next iteration
* fix: error accessing
* fix: indentation
2023-08-23 12:51:33 +05:30
Aaryamann Challani
8239b45582
chore(rln-relay): rename keystore application to waku-rln-relay ( #1924 )
2023-08-23 12:02:03 +05:30
Alvaro Revuelta
56c228f815
chore(rln): remove old and add new rln metric ( #1926 )
2023-08-22 16:30:33 +02:00
Aaryamann Challani
3d849541e2
feat(rln): init rln_keystore_generator ( #1925 )
...
* feat(rln): init rln_keystore_generator
* chore: mv to tools
2023-08-22 19:53:05 +05:30
Aaryamann Challani
6c6302f9e1
fix(rln-relay): waitFor startup, otherwise valid proofs will be marked invalid ( #1920 )
2023-08-22 17:47:06 +05:30
Alvaro Revuelta
0ac8a7f0cd
fix(test): fix flaky rln test ( #1923 )
2023-08-22 10:10:54 +02:00