Skip to content

Commit 8dd7f38

Browse files
committed
[Feature] Enable Test Networks by default on Dev, E2E and PR builds
status-im/status-go@894eb57...6a73aa6 Signed-off-by: Mohamed Javid <[email protected]>
1 parent 0cc414d commit 8dd7f38

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": "feature/allow-setting-testnetworksenabled-in-create-account",
7+
"commit-sha1": "6a73aa62483d29716009cd4224c7428360765621",
8+
"src-sha256": "04nklkhpwwkag3si9dkmsq6f8rilg25pdf2yxvb2bfzpqn4y1xhq"
99
}

0 commit comments

Comments
 (0)