Danish Arora
8f85be3b34
Merge branch 'feat/rln-light-without-zerokit' of github.com:waku-org/js-waku into chore/match-spec-format
2025-04-04 15:55:06 +05:30
Danish Arora
6997987a60
chore: public methods written above private methods
2025-04-03 19:56:11 +05:30
Danish Arora
7aaa84a68c
chore: use CredentialsManager for rln.ts
2025-04-03 19:51:55 +05:30
Danish Arora
9f8fd15ba9
chore: setup and use rln_base_contract
2025-04-03 18:21:40 +05:30
Danish Arora
317d835c3a
chore: rename RLNLight to CredentialsManager, add logs
2025-04-02 20:39:03 +05:30
Danish Arora
ad0e277525
test
2025-04-02 20:19:15 +05:30
Danish Arora
f39d215cca
chore: use array of arrays with named obj structure for identity credential
2025-04-02 18:30:11 +05:30
Danish Arora
861a776d05
chore: treeIndex as number
2025-04-02 17:33:10 +05:30
Danish Arora
cad3e7afc5
chore: update treeIndex to be a hexadecimal
2025-04-02 17:22:03 +05:30
Danish Arora
69ec4082bf
chore: update keystore/identity format to spec
2025-04-02 17:17:19 +05:30
Danish Arora
38f6b9c215
chore: treeIndex to be a string
2025-04-02 16:37:54 +05:30
Danish Arora
0c9ac61ae7
chore: chainId to be a string
2025-04-02 16:35:49 +05:30
Danish Arora
1e6e9092fa
Merge branch 'master' of github.com:waku-org/js-waku into feat/rln-light-without-zerokit
2025-03-31 15:24:37 +05:30
Danish Arora
a8ff776962
chore(rln): update ABI and contract address to Linea Sepolia, enhancements ( #2294 )
...
* chore: update ABI
* chore: update contract address and chain ID to Linea Sepolia
* chore: improve error handling
* fix: bigint conversion
* chore: update tests
* chore: clean comments
* chore: export keystore types
* chore: update README with contract address
* tests: add reusable mock functions
* chore: LINEA_CONTRACT instead of SEPOLIA_CONTRACT
* chore: add linea to cspell
* chore: add rateLimit to MembershipInfo
* fix(tests): rate limit additions
* chore: update gitignore
2025-03-31 14:32:29 +05:30
Danish Arora
6198efbe4c
chore: big number conversions
2025-03-27 12:46:47 +05:30
Danish Arora
5e19700f40
fix: returns for ratelimit
2025-03-27 11:10:12 +05:30
Danish Arora
eb555e95b5
chore: export
2025-03-27 11:00:47 +05:30
Danish Arora
d07080ebe4
chore: fix
2025-03-27 11:00:35 +05:30
Danish Arora
b73929be99
feat: RLNLight
2025-03-27 11:00:34 +05:30
Danish Arora
df5b9c6afa
fix: determine start options
2025-03-27 10:59:59 +05:30
Danish Arora
76f86de9c7
chore: add rateLimit to MembershipInfo
2025-03-27 10:54:51 +05:30
Danish Arora
5f980cb3a7
chore: add linea to cspell
2025-03-26 23:52:03 +05:30
Danish Arora
41c5763bc2
chore: LINEA_CONTRACT instead of SEPOLIA_CONTRACT
2025-03-26 15:46:08 +05:30
Danish Arora
d528534a1d
tests: add reusable mock functions
2025-03-26 15:43:31 +05:30
Danish Arora
4fc9cca0cc
chore: update README with contract address
2025-03-26 15:39:49 +05:30
Danish Arora
52011fe83d
chore: export keystore types
2025-03-26 15:39:48 +05:30
Danish Arora
0f04b04704
chore: clean comments
2025-03-26 15:39:48 +05:30
Danish Arora
1026e5e262
chore: update tests
2025-03-26 15:39:48 +05:30
Danish Arora
7adb05431e
fix: bigint conversion
2025-03-26 15:39:48 +05:30
Danish Arora
43c7843a5a
chore: improve error handling
2025-03-26 15:39:48 +05:30
Danish Arora
2438a562b4
chore: update contract address and chain ID to Linea Sepolia
2025-03-26 15:39:47 +05:30
Danish Arora
6db7b4cab9
chore: update ABI
2025-03-26 15:39:47 +05:30
Sasha
ea6daae927
chore: release master ( #2311 )
utils-v0.0.22
proto-v0.0.9
relay-v0.0.17
message-encryption-v0.0.32
message-hash-v0.1.18
enr-v0.0.28
sdk-v0.0.30
rln-v0.1.4
sds-v0.0.2
discovery-v0.0.7
core-v0.0.34
interfaces-v0.0.29
2025-03-24 14:41:33 +01:00
Sasha
1ee77c0423
fix: downgraid chainsafe ( #2316 )
...
* fix: downgraid chainsafe
* up lock
* up lock
* bump playwright
* add override section
2025-03-24 13:07:29 +01:00
fryorcraken
d27db21ba5
fix: do not use waku test fleet as default bootstrap ( #2312 )
...
The waku test fleet is unstable and should not be used as boostrap.
The issue is that DNS Discovery looks for "2" nodes and stop there. Meaning that if those "discovered" nodes are not reachable (ie, coming from test suite). js-waku does not connect.
2025-03-20 16:32:27 +01:00
Sasha
e0b8bd8c9c
chore: update release please and add packages ( #2305 )
2025-03-20 00:40:34 +01:00
Sasha
044da751bd
fix: npm action branch detection ( #2308 )
2025-03-19 11:55:59 +01:00
fryorcraken
edfb56243d
doc: build first to avoid not found deps issues ( #2307 )
...
* doc: build first to avoid not found deps issues
* fix: Remove XMLHttpRequest usage
XMLHttpRequest API is deprecated and not available in browser extensions.
Replace the culprit dependency with a more modern one.
Some options are removed. The assumption is that nobody uses them. It can always be added if a developer wants the flexibility.
* test: simplify test
The test focus on testing DNS Discovery, there is no need to also have a nwaku local node for bootstrap.
Bootstrap on nwaku local node is used in many other tests.
2025-03-19 09:43:41 +01:00
Sasha
c315b363c5
chore: update ci npm command ( #2304 )
2025-03-17 09:57:16 +01:00
Arseniy Klempner
8db7690233
Merge pull request #2293 from waku-org/feat/sds-sync
...
feat(sds): send and receive sync messages
2025-03-13 11:52:21 -07:00
Arseniy Klempner
13ae5d4f73
feat(sds): send and receive sync messages
2025-03-13 11:29:55 -07:00
Arseniy Klempner
5b3a256b4c
Merge pull request #2280 from waku-org/feat/sds-buffer-sweep
...
feat(sds): adds logic to sweep incoming and outgoing buffers
2025-03-04 07:01:23 -08:00
Arseniy Klempner
f7666a6588
feat(sds): adds logic to sweep incoming and outgoing buffers
2025-03-03 22:09:44 -08:00
Danish Arora
6fc6bf3916
feat(rln): migrate from v1 to v2, rate limiting, memberships, test coverage ( #2262 )
...
* chore: update ABIs and deployed address
* chore: remove storage contract references
* feat: upgrading adapter to basic rlnv2
* feat: rate limit
* chore: upgrade packages revert
* fix: tests
* chore: remove uneeded file
* feat(rln): implement RLNv2 rate limiting and membership states
- Add rate limit validation and handling in proof generation/verification
- Implement membership lifecycle state management (Active/GracePeriod/Expired)
- Add new membership management methods:
- getMembershipInfo
- extendMembership
- eraseMembership
- registerMembership
- Update proof verification to include rate limit checks
- Refactor message serialization to include rate limit data
Breaking changes:
- verifyWithRoots now takes roots as array instead of spread parameters
- Proof verification methods now accept optional rateLimit parameter
* fix: typo
* chore: add to cspell
* chore: reduce diff
* chore: simplify subdir for abi
* chore: address comments
* chore: simplify access to variables
* chore: address comments
* chore: simplify constants
* chore: add error handling
* chore: change rln v2 references to rln
* fix: check
2025-03-03 18:14:06 +05:30
Sasha
09108d9284
feat: enable auto start upon node creation ( #2291 )
...
* feat: enable auto start upon node creation
* update the state
2025-02-27 14:00:28 +01:00
Sasha
f199d92d60
feat: migrate to latest LightPush version ( #2281 )
...
* create retry manager
* update tests
* add retry manager tests, update peer manager
* fix start & merge with master
* return send to many logic
* add new error handling
* add sections to protocol errors
* fix check
* up test
* add waku.start in test
* fix check and test
* improve name
2025-02-25 22:40:03 +01:00
Sasha
0ede57f387
chore: simplify protocol creation ( #2283 )
...
* simplify protocol creation
* up relay
* fix check
* up size limit config
2025-02-25 18:41:32 +01:00
Sasha
87a918d9cc
chore: remove go-waku related code in tests ( #2285 )
...
* remove go-waku related code in tests
* remove not needed
* remove args level for go-waku
2025-02-25 17:56:55 +01:00
Arseniy Klempner
4cd1eea05a
Merge pull request #2261 from waku-org/feat/sds-participant-state
...
feat(sds): add message channel with buffers and send/receive logic
2025-02-21 15:23:32 -08:00
Arseniy Klempner
389ca4062e
feat(sds): add message channel with buffers and send/receive logic
...
This commit creates the class for an SDS message channel, including
buffers for outgoing and incoming messages. Adds logic for sending
messages, receiving messages, delivering messages, and reviewing
acknowledgement status of messages. Also adds byte serialization
for bloom filters.
2025-02-21 14:12:29 -08:00