nwaku/tests/v2
Aaryamann Challani 07833ce313
feat(rln-relay): process blocks atomically (#1349)
* test(rln-relay): atomic block processing

* fix(rln-relay): use correct starting index

* fix(rln-relay): args

* fix(rln-relay): append length

* fix(rln-relay): tests, remove insertMember

* fix(rln-relay): camelCase, cleanup

* fix(rln-relay): actually process per block

* fix(rln-relay): clean up

* chore(gitignore): Update .gitignore

Co-authored-by: Lorenzo Delgado <lorenzo@status.im>

* Update waku/v2/protocol/waku_rln_relay/waku_rln_relay_utils.nim

Co-authored-by: Sanaz Taheri <35961250+staheri14@users.noreply.github.com>

* Update waku/v2/protocol/waku_rln_relay/waku_rln_relay_utils.nim

Co-authored-by: Sanaz Taheri <35961250+staheri14@users.noreply.github.com>

* fix(rln-relay): args

* fix(rln-relay): add prefix def

* fix(rln-relay): make test cleaner

* chore(rln-relay): apply suggestions

Co-authored-by: G. <28568419+s1fr0@users.noreply.github.com>
Co-authored-by: Lorenzo Delgado <lorenzo@status.im>

* chore(rln-relay): add member order check

* test(rln-relay): batch insert in tests

* fix(rln-relay): test batching

* fix(rln-relay): toSeq the HSlice

* fix(rln-relay): naming

* fix(rln-relay): add insertMember back

* fix(rln-relay): serialize util, address review

* fix(rln-relay): add atomicity desc

* fix(rln-relay): inHex

* fix(rln-relay): explicit proc def

* fix(rln-relay): indexGap condition

* fix(rln-relay): func sig

* fix(rln-relay): onchain test

* fix(rln-relay): use asyncSpawn vs asyncCheck

* fix(rln-relay): do not explicitly insert into the index

* fix(rln-relay): condition, semantics

* fix(rln-relay): index must be 1

* chore(rln-relay): line br

* fix(rln-relay): missing return ok(true)

Co-authored-by: Lorenzo Delgado <lorenzo@status.im>
Co-authored-by: Sanaz Taheri <35961250+staheri14@users.noreply.github.com>
Co-authored-by: G. <28568419+s1fr0@users.noreply.github.com>
2022-11-10 22:28:31 +05:30
..
resources Resolve jenkins windows error (#777) 2021-11-23 11:40:43 +00:00
testlib refactor: unify pubsub topic type and default value 2022-11-09 09:55:47 +01:00
00002_test.up.sql Persisting Waku message timestamp & implementing DB migration & convert receiver timestamp data type to float64 (#607) 2021-06-16 13:23:55 -07:00
test_confutils_envvar.nim feat(wakunode2): support configuration via environment variables 2022-11-03 17:58:48 +01:00
test_enr_utils.nim chore(networkmonitor): tool to discover and provide metrics on peers (#1290) 2022-11-10 10:29:34 +01:00
test_envvar_serialization.nim feat(wakunode2): support configuration via environment variables 2022-11-03 17:58:48 +01:00
test_jsonrpc_waku.nim refactor(store): decouple waku store public api types from rpc types 2022-11-09 18:50:18 +01:00
test_message_cache.nim refactor: continue pubsub/content types started in #1352 (#1362) 2022-11-09 15:00:11 +01:00
test_message_store_queue.nim refactor(queue_store): rename queue_store module and simplify api 2022-11-08 16:10:23 +01:00
test_message_store_queue_index.nim refactor(message_store): move message_store to node module 2022-11-04 19:48:22 +01:00
test_message_store_queue_pagination.nim refactor(store): decouple waku store public api types from rpc types 2022-11-09 18:50:18 +01:00
test_message_store_sqlite.nim refactor(store): decouple waku store public api types from rpc types 2022-11-09 18:50:18 +01:00
test_message_store_sqlite_query.nim refactor(store): decouple waku store public api types from rpc types 2022-11-09 18:50:18 +01:00
test_namespacing_utils.nim General refactoring: `nim-waku` (#671) 2021-07-16 17:13:36 +02:00
test_peer_exchange.nim refactor: unify pubsub topic type and default value 2022-11-09 09:55:47 +01:00
test_peer_manager.nim chore: remove unused imports 2022-11-04 10:52:08 +01:00
test_peer_storage.nim chore: remove unused imports 2022-11-04 10:52:08 +01:00
test_rest_debug_api.nim chore: remove unused imports 2022-11-04 10:52:08 +01:00
test_rest_debug_api_serdes.nim chore: remove unused imports 2022-11-04 10:52:08 +01:00
test_rest_relay_api.nim refactor: continue pubsub/content types started in #1352 (#1362) 2022-11-09 15:00:11 +01:00
test_rest_relay_api_serdes.nim refactor: continue pubsub/content types started in #1352 (#1362) 2022-11-09 15:00:11 +01:00
test_rest_serdes.nim feat(rest): Add HTTP REST API (#727). Amend Debug REST API client 2022-06-22 20:30:44 +02:00
test_rln_wrappers.nim Nim wrappers for Rln lib (Key and Params generation) (#373) 2021-02-10 12:51:41 -08:00
test_sqlite_migrations.nim refactor(sqlite): move migrations logic to sqlite common module 2022-11-02 16:36:33 +01:00
test_utils.nim Rln relay/membership contract (#359) 2021-02-04 12:10:25 -08:00
test_utils_keyfile.nim feat: add keyfile support for RLN credentials secure storage (#1285) 2022-10-28 11:13:05 +02:00
test_utils_peers.nim chore: randomize waku tcp ports in tests 2022-11-03 14:47:56 +01:00
test_waku_bridge.nim chore: rename protocols rpc_codec procs from init to decode 2022-11-07 16:24:16 +01:00
test_waku_discv5.nim chore: rename protocols rpc_codec procs from init to decode 2022-11-07 16:24:16 +01:00
test_waku_dnsdisc.nim chore: randomize waku tcp ports in tests 2022-11-03 14:47:56 +01:00
test_waku_filter.nim refactor: unify pubsub topic type and default value 2022-11-09 09:55:47 +01:00
test_waku_keepalive.nim chore: remove unused imports 2022-11-04 10:52:08 +01:00
test_waku_lightpush.nim refactor: unify pubsub topic type and default value 2022-11-09 09:55:47 +01:00
test_waku_noise.nim chore: rename protocols rpc_codec procs from init to decode 2022-11-07 16:24:16 +01:00
test_waku_noise_sessions.nim chore: rename protocols rpc_codec procs from init to decode 2022-11-07 16:24:16 +01:00
test_waku_payload.nim chore: rename protocols rpc_codec procs from init to decode 2022-11-07 16:24:16 +01:00
test_waku_peer_exchange.nim chore: rename protocols rpc_codec procs from init to decode 2022-11-07 16:24:16 +01:00
test_waku_rln_relay.nim feat(rln-relay): process blocks atomically (#1349) 2022-11-10 22:28:31 +05:30
test_waku_rln_relay_onchain.nim feat(rln-relay): process blocks atomically (#1349) 2022-11-10 22:28:31 +05:30
test_waku_store.nim refactor(store): decouple waku store public api types from rpc types 2022-11-09 18:50:18 +01:00
test_waku_store_client.nim refactor(store): decouple waku store public api types from rpc types 2022-11-09 18:50:18 +01:00
test_waku_store_resume.nim refactor(message_store): move message_store to node module 2022-11-04 19:48:22 +01:00
test_waku_store_rpc_codec.nim refactor(store): decouple waku store public api types from rpc types 2022-11-09 18:50:18 +01:00
test_waku_swap.nim refactor(store): decouple waku store public api types from rpc types 2022-11-09 18:50:18 +01:00
test_waku_swap_contracts.nim Better error handling with Results from interactions with swap-contracts-module (#393) 2021-02-25 10:47:48 +08:00
test_wakunode.nim chore: rename protocols rpc_codec procs from init to decode 2022-11-07 16:24:16 +01:00
test_wakunode_filter.nim chore: remove unused imports 2022-11-04 10:52:08 +01:00
test_wakunode_lightpush.nim refactor: unify pubsub topic type and default value 2022-11-09 09:55:47 +01:00
test_wakunode_relay.nim chore: rename protocols rpc_codec procs from init to decode 2022-11-07 16:24:16 +01:00
test_wakunode_rln_relay.nim chore: rename protocols rpc_codec procs from init to decode 2022-11-07 16:24:16 +01:00
test_wakunode_store.nim refactor(store): decouple waku store public api types from rpc types 2022-11-09 18:50:18 +01:00
test_web3.nim Improvement/bridge improvements (#429) 2021-03-23 10:04:51 +02:00
utils.nim Remove node peerInfo copy (#801) 2022-01-10 16:07:35 +01:00