nwaku/tests/v2
Sanaz Taheri Boshrooyeh 6c8ab0ab0f
Feat(rln-relay): enables two modes of onchain and offchain (#992)
* adds the contract handler file

* adds integration test for the group listening

* adds groupManagement proc

* deletes rln relay contract handler file

* brings back all the tests

* replaces toUINT256 with getIdCommitment proc

* replaces individual futures with an array of futures

* adds code documentation

* asyncSpawn instead of await

* adds untitest for toIDCommitment and toUInt256

* reorganizes the test and add rlnInstance

* mounts handleGroupUpdates on the rln peer

* asyncSpawn to await

* implements toIDCommitment

* updates the unittest

* improves the code documentation

* removes unused tests

* WIP

* uncomments the tests

* defines a new mountRlnRelayStatic proc

* splits mountRlnRelay into two procs for dynamic and static group management

* adds a config for off-chain and on-chain rln-relay

* runs dynamic or static mode of rln-relay based on the input config

* adds Eth private key and account configs

* reads Eth private key and account the configs

* comments put the second register proc

* add proper call to the rlnrelay dynamic mode

* adds todo

* adds new rln relay configs

* splits register into two procs

* makes eth account private key non-optional

* removes getIdCommitment and edits the register proc

* removes getIdCommitment calls

* uncomments the commented tests

* fixes a bug

* removes contract deployment for the offchain test

* fixes a bug, edits comments

* removes custom types  without proper parsing and serialization routines from the configs

* fixes a bug

* switches to stew byte utils

* removes log decoding

* WIP

* updates register proc

* edits test titles

* removes eth private key config

* changes the output of register proc to return the registered index

* integrates the registration process into mountRlnRelayDynamic

* integration test for the register proc

* brings back the onchain tests

* updates comments

* cleans up

* disambiguates the Address type namespace

* fixes type ambiguities

* adds default values for rln key and index

* updates config descriptions

* adds type conversion from hex to MembershipKeyPair

* adds more code documentation

* passed the group value instead of option  to the mount proc

* fix a bug

* a minor input type fix for rln chat2

* groups let declarations

* adds default values for addresses

* logs registered keys
2022-06-17 15:00:19 -07:00
..
resources Resolve jenkins windows error (#777) 2021-11-23 11:40:43 +00: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_enr_utils.nim Update submodules (#814) 2022-01-14 10:25:01 +01:00
test_jsonrpc_waku.nim Refactoring timestamps (#842) 2022-02-17 16:00:15 +01:00
test_message_store.nim feat(store): sqlite only store (#982) 2022-06-13 19:59:53 +02:00
test_migration_utils Add db migration support for peer store (#648) 2021-06-25 14:06:56 -07:00
test_migration_utils.nim General refactoring: `nim-waku` (#671) 2021-07-16 17:13:36 +02:00
test_namespacing_utils.nim General refactoring: `nim-waku` (#671) 2021-07-16 17:13:36 +02:00
test_pagination_utils.nim Store data model updates and fixes (#864) 2022-02-28 17:29:01 +01:00
test_peer_exchange.nim chore: update submodules (#974) 2022-05-20 12:57:19 +02:00
test_peer_manager.nim Remove node peerInfo copy (#801) 2022-01-10 16:07:35 +01:00
test_peer_storage.nim chore: update submodules (#987) 2022-06-01 11:49:41 +02:00
test_rest_debug_api.nim feat(rest): Add HTTP REST API (#727). Debug API POC 2022-06-14 18:20:15 +02:00
test_rest_debug_api_serdes.nim feat(rest): Add HTTP REST API (#727). Debug API POC 2022-06-14 18:20:15 +02:00
test_rest_serdes.nim feat(rest): Add HTTP REST API (#727). Debug API POC 2022-06-14 18:20:15 +02:00
test_rln_wrappers.nim
test_utils.nim
test_waku.nim
test_waku_bridge.nim Bridge improvements (#875) 2022-03-08 11:48:17 +01:00
test_waku_discv5.nim discv5 dns bootstrap (#888) 2022-03-17 17:33:17 +01:00
test_waku_dnsdisc.nim Remove node peerInfo copy (#801) 2022-01-10 16:07:35 +01:00
test_waku_filter.nim feat(store): ability to decouple store from relay (#937) 2022-05-23 20:42:48 +02:00
test_waku_keepalive.nim chore: update submodules (#974) 2022-05-20 12:57:19 +02:00
test_waku_lightpush.nim Update submodules (#814) 2022-01-14 10:25:01 +01:00
test_waku_noise.nim feat(noise): add Noise Handshake processing and after-handshake encryption (#934) 2022-06-03 21:12:41 +02:00
test_waku_pagination.nim Store data model updates and fixes (#864) 2022-02-28 17:29:01 +01:00
test_waku_payload.nim Bump chronos and fix exception tracking issues (#436) 2021-03-26 10:52:04 +01:00
test_waku_rln_relay.nim Feat(rln-relay): enables two modes of onchain and offchain (#992) 2022-06-17 15:00:19 -07:00
test_waku_rln_relay_onchain.nim Feat(rln-relay): enables two modes of onchain and offchain (#992) 2022-06-17 15:00:19 -07:00
test_waku_store.nim feat(store): sqlite only store (#982) 2022-06-13 19:59:53 +02:00
test_waku_store_queue.nim fix(store): timestamp validity checks (#876) 2022-04-11 14:58:18 +02:00
test_waku_swap.nim Remove node peerInfo copy (#801) 2022-01-10 16:07:35 +01:00
test_waku_swap_contracts.nim
test_wakunode.nim Feat(rln-relay): enables two modes of onchain and offchain (#992) 2022-06-17 15:00:19 -07: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