Aaryamann Challani
2d46c35117
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
Álex Cabeza Romero
f86baa01a7
test(rln): Implement some rln unit tests ( #2356 )
...
* Fix sanity check location.
* Implement some rln tests.
2024-02-02 09:56:41 +01:00
Aaryamann Challani
b88facd0b7
feat(rln-relay-v2): update C FFI api's and serde ( #2385 )
...
* feat(rln-relay-v2): integrate new ffi bindings, serde
* chore: remove ExtendedRateLimitProof, add comments
* fix: typo
2024-02-02 00:26:47 +05:30
Aaryamann Challani
c55ca06756
chore(rln-relay-v2): use rln-v2 contract code ( #2381 )
...
* chore(rln-relay-v2): use rln-v2 contract code
* fix: reduced duped code
2024-01-30 23:28:30 +05:30
Aaryamann Challani
efdc5244f6
chore(rln-relay): remove websocket from OnchainGroupManager ( #2364 )
...
* chore(rln-relay): remove websocket from OnchainGroupManager
* fix: swap ws for http
2024-01-23 23:22:45 +05:30
Ivan FB
c9d558f878
relay: add trace logs in case of msg validation rejection ( #2285 )
2023-12-15 13:34:30 +01:00
Alvaro Revuelta
5847f49d3d
fix: make rln rate limit spec compliant ( #2294 )
2023-12-15 10:26:17 +01:00
Ivan FB
385daf16be
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
15c1f974df
fix(rln-relay): graceful retries on rpc calls ( #2250 )
...
* fix(rln-relay): graceful retries on rpc calls
* fix: missing file
2023-12-11 14:59:16 +05:30
omahs
958b9bd712
chore: fix typos ( #2239 )
2023-11-30 11:08:08 +01:00
Ivan FB
13fb7c2f74
group_manager.nim more except detail when cant connect eth client ( #2195 )
2023-11-20 23:25:55 +01:00
Alvaro Revuelta
1042cacd3f
chore(rln): add more hardcoded memberhips to static group ( #2108 )
2023-10-05 13:25:24 +02:00
Aaryamann Challani
45fe2d3bee
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
292de5a6c1
bumping web3 ( #2066 )
2023-09-25 08:13:40 +02:00
Ivan Folgueira Bande
11e7394e0d
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
2e515a06ed
chore(rln-relay): logs, updated submodule, leaves_set metric ( #2024 )
...
* chore(rln-relay): logs, updated submodule, leaves_set metric
* chore(rln-relay): update build script, fix makefile
2023-09-18 10:56:58 +05:30
Aaryamann Challani
a4e783303c
fix(rln-relay): waku_rln_number_registered_memberships metrics appropriately handled ( #2018 )
2023-09-11 19:21:45 +05:30
Aaryamann Challani
21604e6bfd
fix(rln-relay): missed roots during sync ( #2015 )
2023-09-08 18:24:27 +05:30
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
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
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
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
d262837ea5
fix(rln-relay): deserialization of valid merkle roots ( #1973 )
2023-08-31 13:19:43 +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
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
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
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
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
f08315cdde
fix(rln-relay): remove registration capability ( #1916 )
2023-08-22 11:49:18 +05:30
Alvaro Revuelta
af95b5713f
chore(rln): run rln in all relay pubsubtopics + remove cli flags ( #1917 )
2023-08-21 08:55:34 +02:00
Aaryamann Challani
b3bb7a1113
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
b9d5d28af5
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