harsh-98
d96e1aedde
fix: postgres jenkensfile
2023-10-13 10:35:11 +07:00
harsh-98
5d0692b339
test(store): add fixture for sqlite and postgres
2023-10-13 10:35:11 +07:00
harsh-98
d268b2e403
fix: limit can't be negative for postgres
2023-10-13 10:35:11 +07:00
harsh-98
2f9f304762
test: for postgres and jenkins postgres setup
2023-10-13 10:35:11 +07:00
Richard Ramos
7826e31f14
fix(store): query time comparison and max rows per page
2023-10-12 10:58:55 -04:00
richΛrd
5dcae1d190
feat: v0.8.1 ( #796 )
2023-10-10 02:35:22 -04:00
richΛrd
e1417b364d
fix: SignalHandler not exported in mobile package ( #793 )
2023-10-07 16:28:07 -04:00
richΛrd
3aa477cbc6
fix: return errors in FilterSubscribeOption ( #794 )
2023-10-07 16:19:53 -04:00
Roman Zajic
9017f9816a
Test: container image workflow ( #792 )
...
* test: Container image workflow and dockerfile
* test: test build container image workflow
* test: Test build container image workflow - authorization fixed
* test: Test build container image workflow - remove dummy job
* test: delete Test build container image workflow
2023-10-05 08:34:36 +08:00
richΛrd
dcc828749f
fix: use https for cloning submodules instead of ssh ( #780 )
...
* fix: use https for cloning submodules instead of ssh
* chore: move to libs/
This simplifies the checkout process for github actions
2023-09-30 13:57:49 -04:00
Prem Chaitanya Prathi
47c961dcbb
feat: update lightpush API for autosharding ( #774 )
...
* feat: update lightpush API to make pubSubTopic optional as per autosharding
* Extract contentFilter and subscriptions out of filter to reuse in relay (#779 )
* chore: extract contentFilter outside filter package
* chore: move subscription outside of filter so that it can be modified and reused for relay
* Feat: filter select peer for sharding (#783 )
* update selectPeer to support pubsubTopic based selection
2023-09-29 10:43:25 +05:30
Prem Chaitanya Prathi
dfd104dbac
Chore: test cov improvement ( #784 )
...
* add few tests to increase coverage
* consider other packages coverage while running unit tests
2023-09-29 04:40:43 +05:30
richΛrd
88d69ebccd
feat: force reachability ( #778 )
2023-09-28 16:08:40 -04:00
Anton Iakimov
7f466c1d99
update wakuv2 fleet DNS discovery enrtree ( #775 )
...
https://github.com/status-im/infra-misc/issues/171
2023-09-28 08:34:30 -04:00
Prem Chaitanya Prathi
388f56b43f
feat: Sharded peer management - Relay ( #764 )
...
* feat: connect/disconnect to peers based on node topic sub/unsub
* feat: maintain healty relay connections per pubSubTopic
Co-authored-by: richΛrd <info@richardramos.me>
* chore: add config to limit peerstore capacity (#770 )
2023-09-27 12:16:37 +05:30
richΛrd
d324234c81
fix(filter2): add requestID to pings and remove unneeded log ( #776 )
2023-09-26 12:27:29 -04:00
Vitaliy Vlasov
16ec22596e
feat: change UnsubscribeWithSubscription so that it's single sub-specific
...
Also merge FilterSubscribe and FilterUnsubscribe options/params
2023-09-22 17:53:33 +03:00
Vitaliy Vlasov
e0ba66791d
fix: only allow adding unique topics
2023-09-22 16:47:36 +03:00
Jakub Sokołowski
735c2fa0d7
ci: use latest and stable Docker tags based on job name
...
Also use Git commit by default if no tag is provided, but do not push.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-09-22 15:11:25 +02:00
Prem Chaitanya Prathi
9f4754dcae
fix: panic during removePubSubTopic ( #765 )
2023-09-22 17:36:45 +05:30
chair
a84701abaa
chore: Update auto assign pr gh command ( #761 )
...
* Create workflow for automatic assignment of a PR to its creator
Create workflow for automatic assignment of a PR to its creator.
* fix add assignee flag
* update gh command
2023-09-22 01:13:20 -07:00
Prem Chaitanya Prathi
3254d28968
Fix /health REST API panic ( #763 )
...
* fix: panic in REST health endpoint to running node without RLN
* chore: change title of each API file
2023-09-21 18:40:07 +05:30
richΛrd
d317b294a0
fix: panic when removing pubsub topic ( #759 )
2023-09-21 15:03:19 +05:30
Jakub Sokołowski
c132ee4303
ci: drop pushing commit tags for Docker
...
Nobody is using them and we are just cluttering up the repo.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-09-20 15:53:35 +02:00
Jakub Sokołowski
fcee52757e
ci: use wakuorg Docker Hub organization
...
We've been using `statusteam` Docker Hub org for a while now which was
never intended for public use, and we should be using `wakuorg` instead.
I've also updated references to `statusteam` in documentation and scripts.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-09-20 12:45:27 +02:00
richΛrd
003c90fba8
feat: force unreachability ( #753 )
...
Co-authored-by: Prem Chaitanya Prathi <chaitanyaprem@gmail.com>
2023-09-20 12:24:16 +05:30
Prem Chaitanya Prathi
054bdae1de
Feat/autoshard filter ( #723 )
...
* feat: update filter client to support autosharding
* chore: add filter tests for autoshard
* chore:update filter API docs for autosharding
* chore: docs changes to indicate sharding impact on pubSubTopic
* fix: handle partial errors during subscribe and return failed content-topic details
2023-09-20 11:26:55 +05:30
chair
bf90ab4d1b
Create workflow for automatic assignment of a PR to its creator ( #754 )
...
* Create workflow for automatic assignment of a PR to its creator
Create workflow for automatic assignment of a PR to its creator.
* fix add assignee flag
2023-09-19 16:18:47 -07:00
Vitaliy Vlasov
81638fe111
Use PubsubTopic naming; enforce unique ContentTopics ( #750 )
2023-09-19 18:22:11 +05:30
harsh jain
3d8d435502
test(store): make queries ( #752 )
...
* test(store): make queries
* test: most recent timestamp and count of msg
* nit: add comment for pageSize+1
2023-09-19 13:28:11 +07:00
Prem Chaitanya Prathi
9b05d48318
Feat : handle dynamic peer topic sub unsub ( #751 )
...
* feat: handle dynamic peer join and leave a pubSub topic
Co-authored-by: richΛrd <info@richardramos.me>
---------
Co-authored-by: richΛrd <info@richardramos.me>
2023-09-19 11:35:29 +05:30
harsh jain
a650469fae
feat: use CommonService in peerConnector ( #737 )
...
* feat(CommonService): add channel and use commonService in discv5
* fix: add mutex to PushToChan
* fix: remove generic functionality
* feat: use CommonService in peerConnector
* fix: remove generic functionality
* nit: add error log
2023-09-19 07:39:39 +07:00
Richard Ramos
be4601e8f1
fix: nix build with RLN
2023-09-18 11:20:31 -04:00
Prem Chaitanya Prathi
dd5dc7a9c8
fix: change mutex to rwLock and fix relay unsubscribe ( #749 )
...
* fix: change mutex to rwLock and fix relay unsubscribe
* chore: modify relay test to cover unsubscribe and few more relay functions
2023-09-18 18:48:16 +05:30
harsh jain
a5f9ee5ad8
feat(CommonService): add channel and use commonService in discv5 ( #735 )
...
* feat(CommonService): add channel and use commonService in discv5
* fix: add mutex to PushToChan
* fix: remove generic functionality
2023-09-18 16:41:40 +07:00
Richard Ramos
fb2df14cb7
feat: 0.8.0
2023-09-17 15:10:25 -04:00
Richard Ramos
2060c8c837
feat: allow running rln with no credentials
2023-09-15 10:18:44 -04:00
Richard Ramos
22b097817e
feat(rln-relay): use zerokit 0.3.4 to obtain number of leaves set in merkle tree
2023-09-15 10:13:02 -04:00
Richard Ramos
e1a84aab0e
chore(rln-relay): docs and docker
2023-09-14 14:30:48 -04:00
Prem Chaitanya Prathi
bfc3083fb1
feat: update WakuPeerStore to store pubSubTopics for a peer ( #734 )
...
* feat: update peerStore to store pubSubTopics a peer is linked to
* derive pubSubTopics from ENR
* New API to retrieve peers by shard information
2023-09-14 20:30:06 +05:30
Richard Ramos
55bc21c604
feat(rln-relay): isReady
2023-09-14 10:47:27 -04:00
Richard Ramos
7beaa3f029
feat(rln-relay): ensure execution order for pubsub validators
2023-09-14 09:38:28 -04:00
Richard Ramos
ab7e45c735
feat: make RLN available by default
2023-09-14 09:03:18 -04:00
Prem Chaitanya Prathi
8df69279ee
chore:remove duplicate declaration of relay protocol const ( #736 )
2023-09-14 14:06:08 +05:30
harsh jain
4b1c188cf0
feat: add common protocol design ( #724 )
...
* feat: add common protocol design
* fix: remove redundant vars
* fix: use AppDesign's ctx
* refactor: relay, add AppDesign
* feat: changes for suggestions
* test: commonService start/stop execution
* fix: lint error
* nit: add comments
2023-09-13 12:18:44 +07:00
Richard Ramos
2aea2f5ca5
fix: time calculation for fetching events
2023-09-12 12:09:30 -04:00
Richard Ramos
75486f8226
chore(rln-relay): add logs for fetching events
2023-09-12 11:22:07 -04:00
Richard Ramos
dcc87cf24f
chore(lint): adds `make lint-full` target and fixes some linting errors
2023-09-12 09:54:34 -04:00
Prem Chaitanya Prathi
db25b307e2
Fix/filterv2 ( #722 )
...
* fix: updated filterv2 protocol as per rfc, make pubsub topic optional
* chore: make broadcaster optional in filter client
* reverting optional pubSub topic in Filter.MessagePush
* fix: revert pubSubTopic as optional and add higher level validation
* Update waku/v2/protocol/filter/client.go
Co-authored-by: richΛrd <info@richardramos.me>
---------
Co-authored-by: richΛrd <info@richardramos.me>
2023-09-12 18:04:43 +05:30
Richard Ramos
db3a2d53b3
fix: log enr only after it has been setup
2023-09-08 17:37:23 -04:00