Aaryamann Challani
24d288ccb4
fix(rln-relay): RangeDefect test ( #1318 )
...
* fix(rln-relay): RangeDefect test
* fix(rln-relay): any overflow
* fix(rln-relay): dont use int64 when its absolute value is being used anyway
* chore(rln): rename proc to be more meaningful about operation
* fix(rln): remove unused imports
2022-11-01 05:55:39 +05:30
Aaryamann Challani
bd516788cb
docs(operator-trial): add rln instructions ( #1311 )
...
* docs(operator-trial): add rln instructions
* fix(operator-trial): rln instructions
* fix(operator-trial): add docker instructions for rln
* fix(operator-trial): add doc in how-to index
2022-10-31 21:07:15 +05:30
Lorenzo Delgado
0de5a122ef
chore(common): move sqlite module to common module
2022-10-28 20:13:41 +02:00
Lorenzo Delgado
ee86d190d6
refactor(node): use store client in waku_node
2022-10-28 20:11:28 +02:00
Lorenzo Delgado
ed9b2b59b2
chore: remove legacy unused test suite
2022-10-28 17:44:46 +02:00
Lorenzo Delgado
2c1ad9f760
refactor(node): use lightpush client in waku_node
2022-10-28 16:30:01 +02:00
Alvaro Revuelta
d479aacec5
feat(wakunode2): add nwaku agent-string to switch ( #1302 )
2022-10-28 15:12:06 +02:00
Lorenzo Delgado
979f1d397a
feat(testlib): add enable/disable test debug utils
2022-10-28 15:04:29 +02:00
Hanno Cornelius
16c85db43c
chore: update submodules and bump Nim to 1.6.6 ( #1307 )
...
* chore: update submodules
* fix: libp2p now provides callback to update peer addrs
* fix: breaking change in EthereumNode constructor
* fix: contentType type has changed (again)
* fix: explicit future type
* fix: nim 1.6.6 error handling requirements
* fix: missed a spot - peer info addrs in sim2
* fix: help compiler a bit here
2022-10-28 12:51:46 +03:00
G
ea8d72188e
feat: add keyfile support for RLN credentials secure storage ( #1285 )
...
* feat(utils): add keyfile + test
* feat(keyfile): make id and version field optional
* feat(rln): enable input password for keyfile encryption
* refactor(keyfile): store multiple keyfiles in single file
* refactor(rln): write and read rln credentials proc using keyfiles + test update
* feat(keyfile): allow skip successful decryption to iterate among multiple keyfiles + test
* fix(rln): add rln-relay-cred-password in wakunode2 config
* chore(keyfile): remove unnencessary echo
* refactor(rln/kesyore): address reviewers' comments
* refactor(rln/keyfile): use defer instead of try/finally
* feat(rln): address reviewers comments; return all successful decryptions
* chore(keyfile): add comments; changed name to loadKeyfiles
* feat(keyfile): chmod 600 for keyfiles
* fix(rln): fix errors raised by readRlnCredentials
* feat(keyfile): add nim-eth tests; address reviewers comments
* fix(keyfile/rln): better error handling
* refactor(keyfile): refactoring nim-eth tests
* fix(keyfile): fix wrong index
* fix(keyfile): fix wrong password generation in test
* feat(keyfile): add wrong mac test
Co-authored-by: Aaryamann Challani <43716372+rymnc@users.noreply.github.com>
2022-10-28 11:13:05 +02:00
Sanaz Taheri
697c122972
chore(docs): removes the eth account address from the onchain-rln-relay tutorial ( #1280 )
...
Co-authored-by: Lorenzo Delgado <lorenzo@status.im>
Co-authored-by: Aaryamann Challani <43716372+rymnc@users.noreply.github.com>
2022-10-28 13:05:30 +05:30
Lorenzo Delgado
62328f0abd
feat(wakunode2): simplify wakunode2 config and decouple peer persistence
2022-10-28 00:05:02 +02:00
Lorenzo Delgado
0725da0b66
chore(node): waku node code reorganization
2022-10-27 17:29:09 +02:00
Lorenzo Delgado
bccb73c325
feat(store): simplify wakunode2 configuration options
2022-10-26 17:10:30 +02:00
kaiserd
f5ce9ce4a4
fix(wakunode2): no peer-exchange peer error msg
...
Co-authored-by: ksr <kaiserd@users.noreply.github.com>
2022-10-26 12:50:19 +02:00
Lorenzo Delgado
efd1496e4e
ci(jenkins): use MAKEFLAGS and NIMFLAGS pipeline params in build and test stages
2022-10-25 16:58:52 +02:00
Lorenzo Delgado
7e7bba4a98
feat(lightpush): add waku lightpush protocol client
2022-10-25 14:55:31 +02:00
kaiserd
c99b0a4778
fix: call runPeerExchangeDiscv5Loop ( #1297 )
2022-10-25 12:15:10 +02:00
Hanno Cornelius
8f5363ea8f
docs: add docker and quickstart guides ( #1289 )
2022-10-24 11:31:33 +03:00
Lorenzo Delgado
9b59052bcd
chore: extract test procedures and constants into a common module
2022-10-21 15:01:39 +02:00
Lorenzo Delgado
c19081b6ce
refactor(wakunode2): extract setup proc definitions from main section
2022-10-21 15:01:01 +02:00
Aaryamann Challani
bdb120d842
feat(chat2): metrics server + metrics logging ( #1279 )
...
* feat(rln-relay): periodically log metrics
* fix(chat2): enable metrics by default in chat2 config
* test(chat2): metrics, gc compilation error
* chore(metrics): make metrics a util, and import into wakunode2 apps dir
* fix(metrics): raise error
* fix(metrics): gc error
* fix(wakunode2): remove setup_metrics
* chore(metrics): waku utils metrics
* fix(metrics): create waku_metrics in node dir
* fix(metrics): log scope
* fix(chat2): disable metrics server by default
* fix(utils): collectorAsF64 proc def
* fix(metrics): store metrics path
2022-10-21 14:03:36 +05:30
Lorenzo Delgado
339914bb73
ci: run ci test workflows selectively
2022-10-20 18:44:22 +02:00
Sanaz Taheri
46d4e95637
chore(rln-relay): Changes the test scenario of testnet2 tutorial to one chat user ( #1261 )
...
* changes the test scenario to one chat user
* minor rewording
* deletes a surplus newline
2022-10-20 09:37:09 -07:00
Lorenzo Delgado
e5c3aa560e
feat(store): add waku store client module
2022-10-20 18:09:40 +02:00
Lorenzo Delgado
89c75f414f
chore(store): disable temporarily the store resume flaky test case
2022-10-20 14:56:28 +02:00
Hanno Cornelius
a12a359b79
fix: store cursors should be exclusive and match a DB item ( #1263 )
...
* fix(store): use exclusive cursor
* fix(store): read correct column length
Co-authored-by: Lorenzo Delgado <lorenzo@status.im>
2022-10-20 13:24:40 +03:00
Aaryamann Challani
78e224f45c
feat(rln-relay): add metrics dashboard ( #1275 )
...
* feat(rln-relay): add metrics dashboard
* feat(rln-relay): single node dashboard
2022-10-19 15:08:15 +05:30
Alvaro Revuelta
df6d215424
fix: log-level being ignored ( #1272 )
2022-10-18 18:03:43 -05:00
Lorenzo Delgado
757804c9ee
chore(wakunode2): move wakunode2 to apps directory
2022-10-18 12:35:26 -05:00
Alvaro Revuelta
d5acb6aab2
chore(wakucanary): resolve dns ( #1271 )
2022-10-18 10:13:42 -05:00
Lorenzo Delgado
5046a4b3da
refactor(node): split wakunode into waku_node and wakunode2
2022-10-18 09:05:53 -05:00
Lorenzo Delgado
b139692b05
refactor(wakunode2): move config random private key generation to a procedure ( #1273 )
2022-10-18 07:06:54 -05:00
Aaryamann Challani
9a6a7334ef
feat(rln-relay): periodically log metrics ( #1262 )
...
* feat(rln-relay): periodically log metrics
* chore(rln-relay): log rln metrics immediately
* fix(metrics): calculation etc
* chore(metrics): parseAndAccumulate into collector utils
* fix(metrics): use standard logging interval
2022-10-18 17:07:44 +05:30
Jakub Sokołowski
44e49a0235
ci: separate discord notification into a function
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-10-12 22:33:17 +02:00
Jakub Sokołowski
b9a84af5c2
ci: add username and email to build notifications
...
Makes it easier to identify who to talk to about a deployment.
This depends on the following plugin being installed:
https://plugins.jenkins.io/build-user-vars-plugin/
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-10-12 22:33:16 +02:00
Lorenzo Delgado
5fbc537cbf
chore: move apps and tools to their own directory
2022-10-12 14:41:25 -05:00
G
a2a5a6ef01
refactor(rln): display byte arrays in hex as uints and fix Kilic's proofVerify proc ( #1259 )
...
* refactor(rln): convert 32 bytes arrays to hex as uints
* fix(rln): fix Kilic's proofVerify proc to take stub validRoots
* refactor(rln): use input's length when convert to/from hex
* chore(rln): print more commitments inHex in debug logs
2022-10-12 10:38:48 +02:00
Aaryamann Challani
04154ab90f
chore(rln-relay): make account address optional ( #1258 )
...
* chore(rln-relay): make account address optional
* fix(rln-relay): onchain test
* chore(chat2): update docs, and handle error case in chat2
* fix(rln-relay): handle registration better
2022-10-12 07:48:11 +05:30
Alvaro Revuelta
a36de4036b
chore(wakucanary): add canary tool ( #1205 )
...
* chore(wakucanary): create folder structure
* chore(wakucanary): spawn waku node
* chore(wakucanary): get supported protocols from lp2p
* chore(wakucanary): add timeout + refactor
* chore(wakucanary): fix comments v1
* chore(wakucanary): update readme
* chore(wakucanary): static->relay, abbr, logLevel, filter issue, colon
* chore(wakucanary): fix typos
2022-10-11 05:58:44 +02:00
G
f282621a1c
fix(rln): set maxEpochGap as maximum epoch gap ( #1257 )
2022-10-10 21:50:16 +02:00
G
586d549113
fix(rln): fix encoding to LE for idcommitments ( #1256 )
2022-10-10 19:35:43 +02:00
Hanno Cornelius
5e90085242
docs: fix broken Kibana link ( #1255 )
2022-10-10 16:24:05 +03:00
Aaryamann Challani
3a80fae634
test(rln-relay): setup heartbeat ws subscription and log when connection drops ( #1253 )
...
* test(rln-relay): setup heartbeat ws subscription and log when connection drops
* fix(rln-relay): quantity
* fix(rln-relay): allow fromBlock to be passed to sub proc
* chore(rln-relay): cleaner logs
* fix(rln-relay): typo
2022-10-10 17:55:12 +05:30
G
db9ccbe52a
chore(rln): update zerokit module ( #1254 )
2022-10-10 14:14:27 +02:00
Aaryamann Challani
f8c4d9aebc
chore(rln-relay): additional logging ( #1243 )
...
* chore(rln-relay): additional logging
* fix: whitespace
2022-10-08 12:14:52 +05:30
G
3e1e7cc74f
feat(RLN): Add verify against multiple roots ( #1250 )
...
* update zerokit submodule
* fix(rln): allow Buffer creation on empty arrays
* feat(rln): use verify_with_root
* fix(rln): update test to work with verify_with_root
2022-10-07 21:24:54 +02:00
Aaryamann Challani
8a8c745e30
chore(rln-relay): disable merkle root validation ( #1246 )
...
* chore(rln-relay): disable merkle root validation
* brings back validation of the root but without invalidating the message
* adds the tracking issue
Co-authored-by: sanaz <staheri14@ku.edu.tr>
2022-10-06 13:17:01 -07:00
Sanaz Taheri Boshrooyeh
44d8a2026d
chore(rln-relay): adds Rln-relay testnet2 tutorial ( #1232 )
...
* first version
* proof read
* adds a new line
2022-10-07 02:14:30 +08:00
Hanno Cornelius
a9fa3a29a4
docs: release v0.12.0 ( #1231 )
2022-10-06 17:29:58 +01:00