Skip to content

Commit 1d44472

Browse files
[Feature] Enable Test Networks by default on Dev, E2E and PR builds (#19365)
This commit enables Test Networks in Dev, E2E and PR Builds by default and disables in Release/Nightly Builds. This enables in create account or restore account flow. If you upgrade the app from the old build with an existing profile, it will use the last saved (test networks enabled) state of that profile. Signed-off-by: Mohamed Javid <[email protected]>
1 parent 495bc91 commit 1d44472

File tree

8 files changed

+11
-4
lines changed

8 files changed

+11
-4
lines changed

.env

+1
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,4 @@ STICKERS_TEST_ENABLED=1
3434
LOCAL_PAIRING_ENABLED=1
3535
TEST_STATEOFUS=1
3636
FAST_CREATE_COMMUNITY_ENABLED=1
37+
TEST_NETWORKS_ENABLED=1

.env.e2e

+1
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,4 @@ TWO_MINUTES_SYNCING=1
3333
STICKERS_TEST_ENABLED=1
3434
LOCAL_PAIRING_ENABLED=1
3535
FAST_CREATE_COMMUNITY_ENABLED=1
36+
TEST_NETWORKS_ENABLED=1

.env.jenkins

+1
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,4 @@ ENABLE_QUO_PREVIEW=1
3535
STICKERS_TEST_ENABLED=1
3636
LOCAL_PAIRING_ENABLED=1
3737
FAST_CREATE_COMMUNITY_ENABLED=1
38+
TEST_NETWORKS_ENABLED=1

.env.nightly

+1
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,4 @@ COMMUNITIES_ENABLED=1
2222
DATABASE_MANAGEMENT_ENABLED=1
2323
DELETE_MESSAGE_ENABLED=1
2424
FAST_CREATE_COMMUNITY_ENABLED=0
25+
TEST_NETWORKS_ENABLED=0

.env.release

+1
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,4 @@ MAX_IMAGES_BATCH=1
2020
DELETE_MESSAGE_ENABLED=1
2121
COLLECTIBLES_ENABLED=1
2222
FAST_CREATE_COMMUNITY_ENABLED=0
23+
TEST_NETWORKS_ENABLED=0

src/status_im/config.cljs

+1
Original file line numberDiff line numberDiff line change
@@ -169,3 +169,4 @@
169169

170170
(def community-accounts-selection-enabled? true)
171171
(def fetch-messages-enabled? (enabled? (get-config :FETCH_MESSAGES_ENABLED "1")))
172+
(def test-networks-enabled? (enabled? (get-config :TEST_NETWORKS_ENABLED "0")))

src/status_im/contexts/profile/config.cljs

+2-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@
4444
:networkId config/default-network-id
4545
:currentNetwork config/default-network
4646
:wakuV2LightClient false
47-
:previewPrivacy config/blank-preview?})))
47+
:previewPrivacy config/blank-preview?
48+
:testNetworksEnabled config/test-networks-enabled?})))
4849

4950
(defn strip-file-prefix
5051
[path]

status-go-version.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"_comment": "Instead use: scripts/update-status-go.sh <rev>",
44
"owner": "status-im",
55
"repo": "status-go",
6-
"version": "v0.177.0",
7-
"commit-sha1": "894eb5758e8ff8f449312f92149f8698058d0fbb",
8-
"src-sha256": "1q0l7ndm6s4kai6zn86mka5fxk2hl60qhlhfy9wh9lrl6a62r15p"
6+
"version": "v0.177.1",
7+
"commit-sha1": "158bd70c8914f27812d3dafb857d4d44256e3ed0",
8+
"src-sha256": "0n94709ba0xiaidnz0zxps3sqssgh2c60bfg4hsy0wam3dy5jndc"
99
}

0 commit comments

Comments
 (0)