2105 Commits

Author SHA1 Message Date
Prem Chaitanya Prathi
6dffef863f metrics fix 2025-06-26 16:00:07 +05:30
Prem Chaitanya Prathi
23e2282e8f proper fix for stream closed and reduce mixpool polling interval 2025-06-26 16:00:07 +05:30
Prem Chaitanya Prathi
8acc5355ef potential fix for stream issue 2025-06-26 16:00:07 +05:30
Prem Chaitanya Prathi
5c594db4c5 modified lp example config 2025-06-26 16:00:07 +05:30
Prem Chaitanya Prathi
c29a14fae1 set TRACE level in example 2025-06-26 16:00:07 +05:30
Prem Chaitanya Prathi
a7ad39a73b use counter instead of gauge 2025-06-26 16:00:07 +05:30
Prem Chaitanya Prathi
ba0c282c35 take fix from mix for closing streams 2025-06-26 16:00:07 +05:30
Prem Chaitanya Prathi
e5e73d7681 testing by increasing per peer stream limit for simulation 2025-06-26 16:00:07 +05:30
Prem Chaitanya Prathi
643f6635cf enable metrics server in lp-mix example 2025-06-26 16:00:07 +05:30
Prem Chaitanya Prathi
309f7611be delay config for lp sim 2025-06-26 16:00:07 +05:30
Prem Chaitanya Prathi
883fcff5da add px-peer config for example 2025-06-26 16:00:07 +05:30
Prem Chaitanya Prathi
e8d9742f88 fix arg 2025-06-26 16:00:07 +05:30
Prem Chaitanya Prathi
ef74e1afd2 lightpush with config and metrics 2025-06-26 16:00:07 +05:30
Prem Chaitanya Prathi
311a049655 update mix with metrics 2025-06-26 16:00:07 +05:30
Prem Chaitanya Prathi
6c74baf13f add config for lpmix example 2025-06-26 16:00:07 +05:30
Prem Chaitanya Prathi
933c5469ff update mix with changed path 2025-06-26 16:00:07 +05:30
NagyZoltanPeter
09bac967be Fix mix imports 2025-06-26 16:00:04 +05:30
Prem Chaitanya Prathi
3ef75a2d47 update mix to integ branch 2025-06-26 15:59:22 +05:30
Prem Chaitanya Prathi
289185c5a6 change lightpush example to use absolute import paths 2025-06-26 15:59:22 +05:30
Prem Chaitanya Prathi
74dfe9804a change mix imports to not use relative paths 2025-06-26 15:59:22 +05:30
Prem Chaitanya Prathi
54fed2ff0f take changes after renaming mix files 2025-06-26 15:59:22 +05:30
Prem Chaitanya Prathi
10ed4bb375 update mix 2025-06-26 15:59:22 +05:30
Prem Chaitanya Prathi
a49d2dd785 update mix with import fix 2025-06-26 15:59:22 +05:30
Prem Chaitanya Prathi
2b5f7b6099 fix lightpushwithmix example 2025-06-26 15:59:22 +05:30
Prem Chaitanya Prathi
907f8527b1 generate mixKey if not provided 2025-06-26 15:59:20 +05:30
Prem Chaitanya Prathi
fa57dcddef filter peers if mix is enabled 2025-06-26 15:48:18 +05:30
Prem Chaitanya Prathi
4b26a54727 added px capability for lightpush example, node pool related fixes 2025-06-26 15:47:30 +05:30
Prem Chaitanya Prathi
136fa99c40 fix libp2p to custom branch and exclude service node from mix node pool 2025-06-26 15:46:33 +05:30
Prem Chaitanya Prathi
ea5bd66b33 committing mix submodule dir 2025-06-26 15:33:51 +05:30
Prem Chaitanya Prathi
1959f15625 update lightpush-mix example 2025-06-26 15:33:48 +05:30
Prem Chaitanya Prathi
dd713154b9 maintain mix node pool based on discovered nodes 2025-06-26 15:32:44 +05:30
Prem Chaitanya Prathi
1119ef0f64 add mix pubkey in enr and fix lightpush rebase issues 2025-06-26 15:26:48 +05:30
Prem Chaitanya Prathi
54e6fb8631 enable mix in enr and add mix protocol config 2025-06-26 15:26:24 +05:30
Prem Chaitanya Prathi
8ea2d27685 feat: poc to integrate mix into waku and use lightpush to demonstrate 2025-06-26 15:25:15 +05:30
Ivan FB
26c2b96cfe chore: rename modules (#3469) 2025-06-26 11:27:39 +02:00
Darshan K
5c38a53f7c feat: libwaku dll for status go (#3460) 2025-06-26 01:03:40 +05:30
fryorcraken
15025fe6cc test: include all factory tests (#3467)
* test: include all factory tests

* test: don't expect to override a preset
2025-06-25 13:58:49 +10:00
Ivan FB
d7a3a85db9 chore: Libwaku watchdog that can potentially raise a WakuNotResponding event if Waku is blocked (#3466)
* refactor add waku not responding event to libwaku

Co-authored-by: NagyZoltanPeter <113987313+NagyZoltanPeter@users.noreply.github.com>
2025-06-24 23:20:08 +02:00
AYAHASSAN287
5f5e0893e0 fix: failed sync test (#3464)
* Increase time window to avoid messages overlapping in the failed test
2025-06-24 14:54:38 +02:00
Tanya S
d3cf24f7a2 feat: Update implementation for new contract abi (#3390)
* update RLN contract abi functions and procs

* Clean up debugging lines

* Use more descriptive object field names for MembershipInfo

* Fix formatting

* fix group_manager after rebase to use new contract method sig

* Fix linting for group_manager.nim

* Test idcommitment to BE and debug logs

* Improve IdCommitment logging

* Update all keystore credentials to use BE format

* Add workaround for groupmanager web3 eth_call

* Add await to sendEthCallWithChainID

* Add error handling for failed eth_call

* Improve error handling for eth_call workaround

* Revert keystore credentials back to using LE

* Update toRateCommitment proc to use LE instead of BE

* Add IdCommitment to calldata as BE

* feat: Update rln contract deployment and tests (#3408)

* update RLN contract abi functions and procs

* update waku-rlnv2-contract submodule commit to latest

* Add RlnV2 contract deployment using forge scripts

* Clean up output of forge script command, debug logs to trace, warn to error

* Move TestToken deployment to own proc

* first implementation of token minting and approval

* Update rln tests with usermessagelimit new minimum

* Clean up code and error handling

* Rework RLN tests WIP

* Fix RLN test for new contract

* RLN Tests updated

* Fix formatting

* Improve error logs

* Fix error message formatting

* Fix linting

* Add pnpm dependency installation for rln tests

* Update test dependencies in makefile

* Minor updates, error messages etc

* Code cleanup and change some debug logging to trace

* Improve handling of Result return value

* Use absolute path for waku-rlnv2-contract

* Simplify token approval and balance check

* Remove unused Anvil options

* Add additional checks for stopAnvil process

* Fix anvil process call to null

* Add lock to tests for rln_group_manager_onchain

* Debug for forge command

* Verify paths

* Install pnpm as global

* Cleanup anvil running procs

* Add check before installing anvil

* CLean up onchain group_manager

* Add proc to setup environment for contract deployer

* Refactoring and improved error handling

* Fix anvil install directory string

* Fix linting in test_range_split

* Add const for the contract address length

* Add separate checks for why Approval transaction fails

* Update RLN contract address and chainID for TWN
2025-06-20 11:46:08 +02:00
Simon-Pierre Vivier
fd5780eae7 chore: lower waku sync log lvl (#3461) 2025-06-19 11:35:32 -04:00
Ivan FB
921d1d81af dnsName servers is not properly set to waku node (#3457) 2025-06-18 22:55:18 +02:00
Simon-Pierre Vivier
49b12e6cf3 remove echo from tests (#3459) 2025-06-18 21:53:13 +02:00
AYAHASSAN287
b1dc83ec03 test: Add comprehensive reconciliation unit-tests for Waku Store Sync (#3388)
* Revert "Revert "Add finger print tests""

This reverts commit 36066311f91da31ca69fef3fa327d5e7fda7e50c.

* Adding waku sync tests

* Adding test "reconciliation produces subranges when fingerprints differ"

* Modifing the range split test

* Add more checks to range split tests

* Adding more range split tests

* Make the test file ready for review

* delete fingerprint file

* Fix review points

* Update tests/waku_store_sync/test_range_split.nim

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

* revert change in noise utils file

* Apply linters

* revert to master

* Fix linters

* Update tests/waku_store_sync/test_range_split.nim

Co-authored-by: Simon-Pierre Vivier <simvivier@status.im>

---------

Co-authored-by: Ivan FB <128452529+Ivansete-status@users.noreply.github.com>
Co-authored-by: Simon-Pierre Vivier <simvivier@status.im>
2025-06-18 12:44:46 +03:00
AYAHASSAN287
d41179e562 test: Waku sync tests part2 (#3397)
* Revert "Revert "Add finger print tests""

This reverts commit 36066311f91da31ca69fef3fa327d5e7fda7e50c.

* Add state transition test

* Add last test for state transition

* Add new tests to transfer protocol

* Add stree test scenarios

* Add stress tests and edge scenarios

* Add test outside sync window

* Add edge tests

* Add last corner test

* Apply linters on files
2025-06-17 17:37:25 +03:00
Danish Arora
d01dd9959c fix: typo from DIRVER to DRIVER (#3442) 2025-06-17 10:34:10 +05:30
Ivan FB
478925a389 chore: refactor to unify online and health monitors (#3456) 2025-06-16 18:44:21 +02:00
NagyZoltanPeter
d148c536ca feat: lighptush v3 for lite-protocol-tester (#3455)
* Upgrade lpt to new config methods

* Make choice of legacy and v3 lightpush configurable on cli

* Adjust runner script to allow easy lightpush version selection

* Prepare selectable lightpush for infra env runs

* Fix misused result vs return

* Fixes and more explanatory comments added

* Fix ~pure virtual~ notice to =discard
2025-06-16 12:46:20 +02:00
Ivan FB
11b44e3e15 chore: refactor rm discv5-only (#3453) 2025-06-14 10:09:51 +02:00
Darshan K
0adddb01da chore: rest-relay-cache-capacity (#3454) 2025-06-13 15:08:47 +05:30