From 66785d01ec784cce4af4b435e696f157a7c7c68f Mon Sep 17 00:00:00 2001 From: Icaro Motta Date: Mon, 24 Jun 2024 09:45:03 -0300 Subject: [PATCH] chore(perf)_: Use optimized endpoint to get communities (#20481) Adapts the client code to use the new optimized endpoint to get communities with images pointing to the media server. Related status-go PR https://github.com/status-im/status-go/pull/5336. --- src/status_im/contexts/communities/events.cljs | 2 +- status-go-version.json | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/status_im/contexts/communities/events.cljs b/src/status_im/contexts/communities/events.cljs index 63de16c64c..d733e41db1 100644 --- a/src/status_im/contexts/communities/events.cljs +++ b/src/status_im/contexts/communities/events.cljs @@ -137,7 +137,7 @@ (rf/reg-event-fx :community/fetch (fn [_] - {:json-rpc/call [{:method "wakuext_communities" + {:json-rpc/call [{:method "wakuext_serializedCommunities" :params [] :on-success #(rf/dispatch [:community/fetch-success %]) :on-error #(log/error "failed to fetch communities" %)} diff --git a/status-go-version.json b/status-go-version.json index b6b4ed78ba..8a4b03640d 100644 --- a/status-go-version.json +++ b/status-go-version.json @@ -3,7 +3,7 @@ "_comment": "Instead use: scripts/update-status-go.sh ", "owner": "status-im", "repo": "status-go", - "version": "v0.180.30", - "commit-sha1": "b665d68d0cff7cd4521ac8791fcf6eac29b23cd9", - "src-sha256": "1bpj3x2bmrh7whhx9sb2wgwc4q8knm4c3rzvimp0s84fsvna5ynq" + "version": "v0.180.31", + "commit-sha1": "e0673ad1ffec65e3bd96a46b5054fc2d36071cc4", + "src-sha256": "15y3fl0q8kqxbsqj9snyg7spaqj09xid9rfza7l5zpk8p0ajqnmk" }