791 Commits

Author SHA1 Message Date
stubbsta
84c19da995 Improve pnpm path WIP 2025-06-13 09:07:33 +02:00
stubbsta
50a929966d Improve pnpm path WIP 2025-06-13 09:07:33 +02:00
stubbsta
24ec7d40c0 Fix error handling getPnpmpath 2025-06-13 09:07:33 +02:00
stubbsta
912d7b7dd0 Improve pnpm path 2025-06-13 09:07:33 +02:00
stubbsta
f0900f32ac add pnpm path 2025-06-13 09:07:33 +02:00
stubbsta
86a30615a1 monitor forge command 2025-06-13 09:07:31 +02:00
stubbsta
3f189034f7 Fix linting 2025-06-13 09:06:55 +02:00
stubbsta
229e5b6769 Run only rln_group_manager_onchain tests 2025-06-13 09:06:55 +02:00
stubbsta
197d9b82fa Fix formatting 2025-06-13 09:06:54 +02:00
stubbsta
b2a8d28a7a Cleanup anvil running procs 2025-06-12 14:14:59 +02:00
stubbsta
6d717b8db2 Install pnpm as global 2025-06-12 14:14:59 +02:00
stubbsta
0b15fbef27 Verify paths 2025-06-12 14:14:59 +02:00
stubbsta
ed7c75805a Debug for forge command 2025-06-12 14:14:59 +02:00
stubbsta
0753d2db9d Add lock to tests for rln_group_manager_onchain 2025-06-12 14:14:59 +02:00
stubbsta
f8b9f81bbb Fix anvil process call to null 2025-06-12 14:14:59 +02:00
stubbsta
17cf587ce6 Add additional checks for stopAnvil process 2025-06-12 14:14:59 +02:00
stubbsta
08f87c570a Remove unused Anvil options 2025-06-12 14:14:59 +02:00
stubbsta
adc78e3da9 Simplify token approval and balance check 2025-06-12 14:14:59 +02:00
stubbsta
1d5b07fb91 Use absolute path for waku-rlnv2-contract 2025-06-12 14:14:59 +02:00
stubbsta
30406542fe Improve handling of Result return value 2025-06-12 14:14:59 +02:00
stubbsta
ecd56c6bf4 Code cleanup and change some debug logging to trace 2025-06-12 14:14:58 +02:00
stubbsta
ffcfb95e02 Minor updates, error messages etc 2025-06-12 14:14:58 +02:00
stubbsta
da4946f59b Fix linting 2025-06-12 14:14:58 +02:00
stubbsta
62e7b145fa Fix error message formatting 2025-06-12 14:14:58 +02:00
stubbsta
c1fc24d4af Improve error logs 2025-06-12 14:14:58 +02:00
stubbsta
0acb393c3b Fix formatting 2025-06-12 14:14:58 +02:00
stubbsta
6fc1f69220 RLN Tests updated 2025-06-12 14:14:58 +02:00
stubbsta
05b87a296e Fix RLN test for new contract 2025-06-12 14:14:58 +02:00
stubbsta
8879703801 Rework RLN tests WIP 2025-06-12 14:14:58 +02:00
stubbsta
8adbeed5bd Clean up code and error handling 2025-06-12 14:14:58 +02:00
stubbsta
152bd250b0 Update rln tests with usermessagelimit new minimum 2025-06-12 14:14:58 +02:00
stubbsta
2aa0a64349 first implementation of token minting and approval 2025-06-12 14:14:58 +02:00
stubbsta
cba55f6fb5 Move TestToken deployment to own proc 2025-06-12 14:14:58 +02:00
stubbsta
5fe1c8a67f Clean up output of forge script command, debug logs to trace, warn to error 2025-06-12 14:14:58 +02:00
stubbsta
ecb07fed54 Add RlnV2 contract deployment using forge scripts 2025-06-12 14:14:58 +02:00
stubbsta
78239b4e99 Revert keystore credentials back to using LE 2025-06-12 14:14:31 +02:00
stubbsta
badbc07ffe Update all keystore credentials to use BE format 2025-06-12 14:14:30 +02:00
Ivan FB
336fbf8b64 fix: relay unsubscribe (#3422)
* waku_relay protocol fix unsubscribe and remove topic validator
* simplify subscription and avoid unneeded code
* tests adaptations
* call wakuRelay.subscribe only in one place within waku_node
2025-06-02 22:02:49 +02:00
NagyZoltanPeter
a39bcff6dc feat: Extend node /health REST endpoint with all protocol's state (#3419)
* Extend ndoe /health REST endpoint with all protocol's state

* Added check for Rendezvous peers availability

* Fine tune filter, added client protocols to health report

* Fix /health endpoint test

* Add explanatory description for state NOT_READY

* Fix formattings

* Apply suggestions from code review

Co-authored-by: Ivan FB <128452529+Ivansete-status@users.noreply.github.com>

* Apply code style changes and extended test

* Fix formatting

---------

Co-authored-by: Ivan FB <128452529+Ivansete-status@users.noreply.github.com>
2025-06-02 17:21:09 +02:00
gabrielmer
5e22ea18b6 chore: don't return error on double relay subscription/unsubscription (#3429) 2025-05-29 12:05:48 +02:00
Ivan FB
9f68c83fed chore: bump dependencies for v0.36 (#3410)
* properly pass userMessageLimit to OnchainGroupManager
* waku.nimble 2.2.4 Nim compiler
* rm stew/shims/net import
* change ValidIpAddress.init with parseIpAddress
* fix serialize for zerokit
* group_manager: separate if statements
* protocol_types: add encode UInt32 with zeros up to 32 bytes
* windows build: skip libunwind build and rm libunwind.a inlcusion step
* bump nph to overcome the compilation issues with 2.2.x
* bump nim-libp2p to v1.10.1
2025-05-26 21:58:02 +02:00
Darshan K
39e65dea28 fix: timestamp based validation (#3406) 2025-05-26 17:56:29 +05:30
Ivan FB
42ab866f2c chore: allow multiple rln eth clients (#3402)
* use of multiple Eth clients instead of just one
* config_chat2 enhance param comment
* group_manager: raise exception if could not connect to any of the eth clients
2025-05-12 10:57:13 +02:00
Darshan K
d86babac3a feat: deprecate sync / local merkle tree (#3312) 2025-05-09 05:37:58 +05:30
fryorcraken
cc66c7fe78 chore!: separate internal and CLI configurations (#3357)
Split `WakuNodeConfig` object for better separation of concerns and to introduce a tree-like structure to configuration.

* fix: ensure twn cluster conf is still applied when clusterId=1
* test: remove usage of `WakuNodeConf`
* Remove macro, split builder files, remove wakunodeconf from tests
* rm network_conf_builder module as it is not used

---------

Co-authored-by: NagyZoltanPeter <113987313+NagyZoltanPeter@users.noreply.github.com>
Co-authored-by: Ivan Folgueira Bande <ivansete@status.im>
2025-05-07 23:05:35 +02:00
Ivan FB
6bc05efc02 chore: Avoid double relay subscription (#3396)
* make sure subscribe once to every topic in waku_node
* start suggest use of removeValidator in waku_relay/protocol. Commented until libp2p updated.
2025-05-05 22:57:20 +02:00
NagyZoltanPeter
98c3979119 chore: return all peers from rest admin (#3395)
* Updated version of getting peers by /admin endpoints
2025-04-25 15:36:41 +02:00
Ivan FB
2d6e5ef9ad chore: rln_relay simplify code a little (#3392) 2025-04-25 14:52:37 +02:00
Simon-Pierre Vivier
0c63ce4e9b feat: refactor waku sync DOS protection (#3391) 2025-04-24 09:07:21 -04:00
NagyZoltanPeter
8394c15a1a fix: bad HttpCode conversion, add missing lightpush v3 rest api tests (#3389)
* Fix bad HttpCode conversion, add missing lightpush v3 rest api tests
2025-04-24 08:36:30 +02:00