Aaryamann Challani
311f5ea0ad
chore(submodules): use zerokit v0.3.1 only ( #1886 )
2023-08-09 20:21:06 +05:30
Aaryamann Challani
76c73b62cd
feat(rln-relay): close db connection appropriately ( #1858 )
2023-07-27 17:21:21 +05:30
Aaryamann Challani
bf8fa8b972
test(ci): rln-relay compilation in docker ( #1853 )
...
* test(ci): rln-relay compilation in docker
* fix(ci): make explicit digest in base image
2023-07-24 19:25:28 +02:00
Ivan Folgueira Bande
1d3410c7bd
fix(libp2p): Updating nim-libp2p to fix the `wss` connectivity issue ( #1848 )
...
* Updating nim-libp2p to fix the `wss` connectivity issue
* The `nim-libp2p` adds many changes although we are actually interested
in the latest commit:
> wstransport.nim: avoid re-raising 'TransportOsError' to avoid stopping
`switch.accept` (#929 )
* The `nim-stew` bump is needed so that the `nim-libp2p` can compile.
* The changes in `waku_node.nim` are needed due to the changes in
`nim-stew`.
* waku_node.nim: returning a "completed" future within 'statusAndConfidenceHandler'
This is aimed to avoid the next exception happening in the wakunode:
```
Unhandled defect: Async procedure (service.nim(74) callHandler)
yielded `nil`, are you await'ing a `nil` Future? [AssertionDefect]
```
* Adding 'async' to 'statusAndConfidenceHandler' so that it properly returns a Future[void]
2023-07-13 18:00:55 +02:00
Aaryamann Challani
4f0bdf9a30
chore(rln-relay): bump zerokit ( #1838 )
2023-07-04 18:18:09 +05:30
Ivan Folgueira Bande
661638daaa
chore: bump nim-libp2p to 224f92e
2023-06-30 15:18:07 -04:00
Aaryamann Challani
add294a9b1
chore(rln-relay): bump zerokit for version fix ( #1822 )
2023-06-28 11:42:09 +05:30
Aaryamann Challani
bbded9eea7
feat(rln-relay): resume onchain sync from persisted tree db ( #1805 )
...
* feat(rln-relay): resume onchain sync from persisted tree db
* chore(rln-relay): bump zerokit
2023-06-19 15:21:18 +05:30
Aaryamann Challani
045f07c616
feat(rln-relay): metadata ffi api ( #1803 )
...
* feat(rln-relay): metadata ffi api
* chore(rln-relay): bump to latest master after merge
* fix(rln-relay): naming, visibility, tests
2023-06-16 11:33:41 +05:30
Ivan Folgueira Bande
9e2d0860c9
Updating 'vendor/nim-json-rpc' to get fix for wrong header in rpc response ( #1802 )
2023-06-15 15:21:46 +02:00
Tanguy
f6e89c311d
chore(deps): bump libp2p & websock ( #1800 )
2023-06-15 13:17:19 +02:00
Tanguy
613974c1b6
Revert "chore(libp2p): update nim-libp2p ( #1786 )" ( #1788 )
...
This reverts commit 93e09b8b77
.
2023-06-09 10:10:47 +02:00
Aaryamann Challani
dba84248f1
chore(rln-relay): pass in the path to the tree db ( #1782 )
...
* chore(rln-relay): pass in the path to the tree db
* fix(rln-relay): address visibility
Co-authored-by: Ivan Folgueira Bande <128452529+Ivansete-status@users.noreply.github.com>
* fix(rln-relay): make db used more explicit
* fix(rln-relay): reduce visibility
---------
Co-authored-by: Ivan Folgueira Bande <128452529+Ivansete-status@users.noreply.github.com>
2023-06-08 17:22:21 +05:30
Vaclav Pavlin
93e09b8b77
chore(libp2p): update nim-libp2p ( #1786 )
2023-06-08 12:54:28 +02:00
Aaryamann Challani
611e9539a6
feat(rln-relay): use new atomic_operation ffi api ( #1733 )
...
* chore(rln-relay): bump zerokit
* feat(rln-relay): use new atomic_operations ffi api
* fix(rln-relay): static gm
2023-05-18 10:42:08 +05:30
Ivan Folgueira Bande
665484c17b
refactor: proper use of setupNat ( #1740 )
...
Notice that I had to adapt to use 'rlpx_connected_peers' instead
of 'connected_peers' in 'wakunode1.nim' because due to the update
of the 'vendor/nim-eth', which adds the dependency-break with
'confutils' but also includes another changes.
Aside note: we cannot have 'confutils' dependency in 'nim-eth' because
that will prevent the generation of any waku dynamic library.
2023-05-17 18:32:53 +02:00
Aaryamann Challani
44c543129e
chore(rln-relay): use new config for ffi ( #1718 )
...
* chore(rln-relay): use new config for ffi
* chore: update zerokit submodule
* fix: missing comma
2023-05-10 12:54:58 +05:30
Alvaro Revuelta
703c3ab533
fix: unstable peers in mesh ( #1710 )
2023-05-02 15:40:13 +02:00
Lorenzo Delgado
7c229ece3b
build(deps): upgrade nim-chronos and nim-presto to latest version
2023-04-04 12:49:13 +02:00
Alvaro Revuelta
0ef46673f0
bug: bump libp2p with traffic metrics fix ( #1642 )
2023-04-04 11:19:05 +02:00
Lorenzo Delgado
67fa736db3
build(deps): upgrade nim-confutils to latest version
2023-03-31 17:20:58 +02:00
Alvaro Revuelta
11ff93c2cf
chore: bump nim-libp2p 53b060f ( #1633 )
2023-03-31 15:42:33 +02:00
Hanno Cornelius
11c19a3751
chore: update submodules ( #1601 )
...
* chore: update submodules
* fix: fix peer store test
* fix: legacy build requires Nim binary deps
2023-03-13 16:33:24 +02:00
Aaryamann Challani
6584b58593
feat(rln-relay): use precompiled resources w/ rln ( #1578 )
...
* feat(rln-relay): use precompiled resources w/ rln
* chore: remove resource cp stage from Dockerfile
* chore(makefile): remove DOCKER_IMAGE_STAGE from makefile
* chore: bump submodule, rev branch
2023-03-13 12:03:21 +05:30
Aaryamann Challani
8032b691c1
fix(submodule): remove vendor/news dir ( #1582 )
2023-02-28 18:12:07 +05:30
Aaryamann Challani
b6a011733d
chore(rln-relay): bump zerokit and update ffi ( #1571 )
...
fix(chat2): compilation
2023-02-22 19:47:12 +05:30
Lorenzo Delgado
8cb418a9e4
chore(deps): upgrade nim-sqlite3-abi to latest version
2023-02-20 10:35:56 +01:00
Alvaro Revuelta
d6887ccdb0
chore: bump nim-libp2p 444b837 ( #1546 )
...
* chore: bump nim-libp2p 444b837
* fix: update test with libp2p mods
2023-02-10 16:44:06 +01:00
Alvaro Revuelta
67939bb8ac
chore: bump nim-libp2p ( #1518 )
2023-01-30 15:30:12 +01:00
Aaryamann Challani
d9fca9b3a8
fix(submodule): remove rln dir ( #1519 )
2023-01-30 17:25:40 +05:30
Hanno Cornelius
3e0e1cb239
fix: fix underlying file descriptor leak ( #1483 )
2023-01-11 18:22:00 +02:00
Hanno Cornelius
76bb7520f3
chore: update submodules ( #1480 )
...
* chore: switch to nim-eth master branch
* chore: updated submodules
* fix: submodule without error handling
* fix: autonat client
2023-01-11 08:06:30 +02:00
Aaryamann Challani
019f357dc9
fix(deps): bump nim-secp256k1 ( #1468 )
2022-12-16 10:09:33 +05:30
G
226b44c86d
refactor(rln): use zerokit extended_key_gen in place of key_gen ( #1459 )
...
* chore(rln-relay): refactor mounting procedure
* fix(rln-relay): tests
* fix(rln-relay|chat2): update mounting proc in chat2, fix args to mountRlnRelay
* refactor(rln): use zerokit extended_key_gen in place of key_gen
refactor(rln): rename membershipKeyPair to identityCredential
update zerokit submodule
refactor(rln): use extended_key_gen; rebrand keypairs to idCredentials
refactor(rln): rename mountRlnRelay memKeyPair argument
* fix(rln): fix wrong field
* fix(rln): add () to toHex
Co-authored-by: Aaryamann Challani <43716372+rymnc@users.noreply.github.com>
Co-authored-by: rymnc <43716372+rymnc@users.noreply.github.com>
2022-12-14 12:28:09 +01:00
Lorenzo Delgado
e4c10ed661
feat(wakunode2): support log format format selection
2022-12-07 12:30:32 +01:00
Lorenzo Delgado
2b1741e4a6
chore(deps): upgrade nim-stew to latest version
2022-12-06 16:38:40 +01:00
Lorenzo Delgado
fd79cbe678
chore(deps): upgrade nim-eth to latest version
2022-11-30 16:12:58 +01:00
Lorenzo Delgado
679155208f
chore(deps): rebase nim-eth discv5 protocol id override branch
2022-11-30 09:03:32 +01:00
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
Lorenzo Delgado
47fe697b47
chore: upgrade nim-stew to latest version
2022-11-10 15:36:56 +01:00
Lorenzo Delgado
0e1dae5956
fix: replace nim's std/nre with nim-regex library
2022-11-02 15:55:09 +01: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
db9ccbe52a
chore(rln): update zerokit module ( #1254 )
2022-10-10 14:14:27 +02:00
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
G
f9c05aae52
chore(rln): Update zerokit submodule and RLN APIs ( #1209 )
...
* chore(rln): update zerokit submodule and APIs
* feat(rln): add new_circuit_from_data zerokit API
* chore(rln): update zerokit module
2022-10-05 00:06:33 +02:00
Jakub Sokołowski
2055beb6ec
nix: don't pull in gcc explicitly, stdenv has it
...
If we pull it explicitly we affect variables like `CC_FOR_TARGET` which
can break builds on MacOS due to need for `clang` use.
Depends on: https://github.com/status-im/nimbus-build-system/pull/51
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-10-04 18:29:02 +02:00
s1fr0
745364a12c
update submodule
2022-10-03 18:21:03 +02:00
Aaryamann Challani
4745c7872c
fix(ci): macos builds ( #1145 )
...
* chore: revert json rpc
* chore(ci): cleanup
* chore(ci): remove windows from build matrix
* Revert "chore(ci): remove windows from build matrix"
This reverts commit 1f1d33b5f4
.
2022-09-13 15:13:56 +05:30
Hanno Cornelius
7f23bdf29f
chore: update nwaku submodules ( #1123 )
...
* chore: update submodules
* fix: SIGTERM ambiguity
* fix: ambiguous RNGs
* fix: ContentType is no longer a string
* fix: more fixes related to ambiguous RNGs
* fix: start all protocols
* chore: also update nim-eth
* chore: important new fixes in nim-libp2p
* fix: more changes related to RNG. Some reversion to reflect nim-eth update
* fix: breaking changes in nim-eth submodule
* fix: start protocols in tests
* fix: chat2bridge protocols async mounting
* fix: v1 test compilation
* fix: rln test compilation
* fix: remove confusing keys qualifier for the same HmacDrbgContext
2022-09-07 16:31:27 +01:00
kdeme
d16073695b
fix(waku-v1): bump nim-secp256k1 for signature recovery id check
2022-08-26 22:38:55 +02:00