Aaryamann Challani
1563ea8188
fix(rln-relay): graceful shutdown with non-zero exit code ( #2429 )
...
* fix(rln-relay): graceful shutdown with non-zero exit code
* fix: missed args
* fix: exception str
Co-authored-by: Ivan FB <128452529+Ivansete-status@users.noreply.github.com>
* fix: remove old comment
---------
Co-authored-by: Ivan FB <128452529+Ivansete-status@users.noreply.github.com>
2024-02-15 16:55:08 +05:30
Aaryamann Challani
3842584558
feat(rln-relay-v2): nonce/messageId manager ( #2413 )
...
* feat(rln-relay-v2): nonce/messageId manager
* fix: simplify
2024-02-13 10:18:02 +05:30
Aaryamann Challani
9133a2439c
feat(rln-relay-v2): rln-keystore-generator updates ( #2392 )
...
* chore: init rln-v2 in OnchainGroupManager
* chore: update wrappers
* fix: units for userMessageLimit
* valueOr for error handling
* fix: len usage
2024-02-09 16:31:45 +05:30
Ivan FB
45bc8add32
relay: add trace logs in case of msg validation rejection ( #2285 )
2023-12-15 13:34:30 +01:00
Ivan FB
7c692cc313
chore: vendor bump for 0.23.0 ( #2274 )
...
* on_chain/group_manager: use .async: (raises:[Exception]).
* bump nim-dnsdisc
* update nim-chronos to the latest state
* chat2.nim: catch any possible exception when stopping
* chat2bridge.nim: make it to compile after vendor bump
* ValidIpAddress (deprecated) -> IpAddress
* vendor/nim-libp2p additional bump
* libwaku: adapt to vendor bump
* testlib/wakunode.nim: adapt to vendor bump (ValidIpAddress -> IpAddress)
* waku_node: avoid throwing any exception from stop*(node: WakuNode)
* test_confutils_envvar.nim: ValidIpAddress -> IpAddress
* test_jsonrpc_store: capture exception
* test_rln*: handling exceptions
* adaptation to make test_rln_* to work properly
* signature enhancement of group_manager methods
2023-12-14 07:16:39 +01:00
Aaryamann Challani
a90ccfafd0
fix(rln-relay): segfault when no params except rln-relay is passed in ( #2047 )
2023-09-25 13:26:16 +05:30
Ivan Folgueira Bande
6694ec7689
Adding 'librln' to libwaku and cleaning waku_example.c ( #2044 )
...
* When adding the dependency with 'librln' to 'libwaku', it is required
to remove the dependency with 'confutils' because the 'nim-confutils'
module prevents the creation of a dynamic library (libwaku.so.)
* waku_example.c: less code is needed because the Waku Thread attends
any Waku event whereas the main thread can have a blocking scanf
to retrieve user inputs.
2023-09-19 17:01:32 +02:00
Aaryamann Challani
d91b0bdb2b
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
7c4ce7361b
chore(rln-relay): clean up nullifier table every MaxEpochGap ( #1994 )
2023-09-06 13:48:02 +05:30
Aaryamann Challani
507966c844
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
1c18e4eff1
chore(rln-relay): log levels for certain logs ( #1986 )
2023-09-04 18:43:59 +05:30
Aaryamann Challani
8b34c4a4e6
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
Alvaro Revuelta
1b96999d55
chore(api): validate rln message before sending (rest + rpc) ( #1968 )
2023-09-01 15:03:59 +02:00
Aaryamann Challani
eeff44c9f0
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
0566d21000
chore(rln-relay): integrate waku rln registry ( #1943 )
2023-08-25 22:48:52 +05:30
Alvaro Revuelta
fa716d9b92
chore(rln): remove old and add new rln metric ( #1926 )
2023-08-22 16:30:33 +02:00
Aaryamann Challani
a2519906c6
fix(rln-relay): remove registration capability ( #1916 )
2023-08-22 11:49:18 +05:30
Alvaro Revuelta
6320ffb28a
chore(rln): run rln in all relay pubsubtopics + remove cli flags ( #1917 )
2023-08-21 08:55:34 +02:00
Aaryamann Challani
ce6f7e9e77
fix(rln-relay): invalid start index being set results in invalid proofs ( #1915 )
...
* fix(rln-relay): invalid proof usage
* fix(rln-relay): use startIndex from first event in block
* fix: latestIndex set after registerBatch
2023-08-18 16:38:24 +05:30
Hanno Cornelius
5e2e1b6bd0
chore: remove references to v2 ( #1898 )
...
* chore: remove references to v2
* fix: lingering rln-relay import path
2023-08-09 18:11:50 +01:00