72 Commits

Author SHA1 Message Date
Emil Ivanichkov
3cf58e439c build(nim config): Add config file for the tests 2024-03-14 15:40:17 +02:00
Emil Ivanichkov
6a6e4e9d33 build(SNM): Add test task and make command 2024-03-14 15:40:17 +02:00
Emil Ivanichkov
433d00d7fc test(waku api): Add tests for waku api 2024-03-14 15:40:17 +02:00
Emil Ivanichkov
1de5bbfedb feat(SNM): Introduce status monitoring 2024-03-14 15:40:17 +02:00
Emil Ivanichkov
142b559250 feat(SNM): Handle waku pari via waku api call 2024-03-14 15:40:17 +02:00
Emil Ivanichkov
618884c0e2 feat(waku rest): Initial implementation of waku rest api 2024-03-14 15:40:17 +02:00
Emil Ivanichkov
21c3d92aa8 feat(SNM no-command): Run waku node on SNM start 2024-03-14 15:40:17 +02:00
Emil Ivanichkov
27f47d3354 refactor(waku utils): Separate waku node start from pairing process 2024-03-14 15:40:17 +02:00
Emil Ivanichkov
ed5f30260c refactor(SNM config): Make waku node params part of no-command config 2024-03-14 15:40:17 +02:00
Emil Ivanichkov
f54600b17e refactor(SNM config): Move rest config top level 2024-03-14 15:40:17 +02:00
Emil Ivanichkov
ab80677ff5 refactor(): Introduce more structured imports 2024-03-08 18:56:44 +02:00
Emil Ivanichkov
1e697e253e feat(SNM): Initial implementation of doRunStatusNodeManager
This includes:
- Initial implementation of global state object called `SNM`
- It's corresponding `init` & `run` functions that initialize and start
a rest server
- Formatting improvements in the `import` section of
  `src/status_node_manager.nim`
2024-03-08 18:10:12 +02:00
Emil Ivanichkov
e79d36b411 feat(rest): Add common rest server utils 2024-03-08 18:10:12 +02:00
Emil Ivanichkov
d69a0206a7 feat(rest): Add common serialization utils 2024-03-08 18:10:12 +02:00
Emil Ivanichkov
40543e3706 feat(SNM config): Add rest config params 2024-03-08 18:10:12 +02:00
Emil Ivanichkov
2ddcb2863f fix(.gitignore): Do not ignore src/status_node_manager 2024-03-07 18:40:35 +02:00
Emil Ivanichkov
93de2f4792 fix(build): Fix build after nwaku pkg bump 2024-03-05 11:03:16 +02:00
Emil Ivanichkov
6831b73f13 chore(nimble): Bump nwaku & nim-metrics 2024-03-05 11:03:16 +02:00
Emil Ivanichkov
8f4aaaf95e fix(nims): Fix paths in example tasks 2024-03-05 11:03:16 +02:00
Emil Ivanichkov
c1709f8c0c config(git): Use https in .gitmodules 2024-03-05 10:11:53 +02:00
Emil Ivanichkov
ee19a3a443 build(nimble): Add before build step 2024-03-05 10:11:53 +02:00
Emil Ivanichkov
67029328e9 build(nimble): Add nim link flags related to rln
This is a temporary solution to ensure that `nimble build` will succeed
2024-03-05 10:11:53 +02:00
Emil Ivanichkov
fa6fdc5d53 feat(cli/pair): Implement pair CLI command 2024-03-05 10:11:53 +02:00
Emil Ivanichkov
b188b19e62 feat(cli/pair): Add configuration for pair CLI command 2024-03-05 10:11:53 +02:00
Emil Ivanichkov
d150d6d60a build(SNM): Add task and make command for building status-node-manager 2024-03-05 10:11:53 +02:00
Emil Ivanichkov
d7a4f0b246 feat(waku-utils): Add function that performs pairing
A single function that set-up and start nwaku instance, init and
finalize handshake (pairing) and return 2 objects - Waku node &
handshake result. They can be used for future message transfers.
2024-03-05 10:11:53 +02:00
Emil Ivanichkov
0e955cb653 chore(folder names): Rename waku-utils to waku_utils
It is more Nim friendly this way
2024-03-05 10:11:53 +02:00
Emil Ivanichkov
8d85619eb0 refactor(waku utils): Minor improvements
- Fix types
- Remove unused variables
- Formating changes
2024-03-05 10:11:53 +02:00
Emil Ivanichkov
e4695e382c refactor(ci): Split Install dependencies step from Run tests 2024-02-29 09:41:31 +02:00
Emil Ivanichkov
ac56cf7e67 refactor(ci): Allow failure on Windows
This is a temporary change, as there is currently a problem on
Windows that requires investigation.

More information about the problem can be found here https://github.com/status-im/status-node-manager/issues/9.
2024-02-29 09:41:31 +02:00
Emil Ivanichkov
12af66cef2 refactor(ci): Test only with nim version 1.6
`nwaku` is built on the `nimbus-build-system` that is based on
`nim 1.6.18`, and is therefore not compatible with `2.0`
2024-02-29 09:41:31 +02:00
Emil Ivanichkov
93db4c8a84 refactor(ci): Remove i386 cpu jobs
Running the status node manager on 32-bit architectures is highly
unlikely.
2024-02-29 09:41:31 +02:00
Emil Ivanichkov
7714f6d492 feat(waku utils): Add function that init and start waku instance 2024-02-12 16:15:01 +02:00
Emil Ivanichkov
e9c728c64d config(tasks): Fix path of nwaku examples 2024-02-12 15:58:15 +02:00
Emil Ivanichkov
e4b310467c feat(waku examples): Add examples of pairing with nwaku instance 2024-02-12 15:58:15 +02:00
Emil Ivanichkov
572c240c35 config(tasks): Add build task for js-waku example 2024-02-12 15:58:15 +02:00
Emil Ivanichkov
f13adff445 feat(waku examples): Add examples of pairing with js-waku instance 2024-02-12 15:58:13 +02:00
Emil Ivanichkov
bac788bbdc refactor(format): Imports and formatting improvements 2024-02-08 17:05:17 +02:00
Emil Ivanichkov
3b625211f2 feat(waku-utils): Implement initiatorHandshake
closes https://github.com/status-im/status-node-manager/issues/7
2024-02-08 17:05:17 +02:00
Emil Ivanichkov
428ed13946 fix(waku-utils): Set transportMessage to correct value 2024-02-08 17:05:17 +02:00
Emil Ivanichkov
3a52927a55 config(nimcache) Use full path for nim cache in config.nims 2024-02-02 21:07:13 +02:00
Emil Ivanichkov
c94a8b77f8 config(libbacktrace): Disable libbacktrace 2024-02-02 21:07:13 +02:00
Emil Ivanichkov
982459187b build(Makefile): Set up libbacktrace make instructions 2024-02-02 21:07:13 +02:00
Emil Ivanichkov
73ae79ce29 chore(nimble): Add libbacktrace to the dependencies 2024-02-02 21:07:13 +02:00
Emil Ivanichkov
828cc4d580 config(verbosity): Set up verbosity level during building 2024-02-02 21:07:13 +02:00
Emil Ivanichkov
ac63e53d49 config(logging): Add chronicles configuration 2024-02-02 21:07:13 +02:00
Emil Ivanichkov
ba5c3a85f6 config(discovery): Set discv5_protocol_id to d5waku
Upon detailed examination, it was discovered that the discrepancy
described in #6 originated due to the absence of this define in
the `status-node-manager`'s config.
2024-02-02 21:07:13 +02:00
Emil Ivanichkov
7b2f06ad8b refactor(config.nim): Sync config.nim with the one in nwaku 2024-02-02 21:07:13 +02:00
Emil Ivanichkov
27cbacfbd0 fix(ci): Use the local nim_build.sh in Build Nim and Nimble step 2024-02-01 11:03:11 +02:00
Emil Ivanichkov
75f2514e61 feat(scripts): Add build_nim.sh script for the CI
This is custom version of the
[`build_nim.sh`](https://github.com/status-im/nimbus-build-system/blob/master/scripts/build_nim.sh) script used by Status
The difference is that we use newer version of `nimble`
2024-02-01 11:03:11 +02:00