From b79e73fb9f1aeab1dac4db321a69dd1b8e5a297b Mon Sep 17 00:00:00 2001 From: Thong Yuan Yu Sarah Date: Tue, 31 Oct 2023 12:59:31 +0800 Subject: [PATCH 1/9] Test maintenance page: init --- configs/devnet.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configs/devnet.json b/configs/devnet.json index c70e039..b66353e 100644 --- a/configs/devnet.json +++ b/configs/devnet.json @@ -11,5 +11,6 @@ "swth": 0, "usdc": 1, "eth": 2 - } + }, + "maintenance": {} } \ No newline at end of file From 7af2360672a10d63b78f2103d826fbf63ba26154 Mon Sep 17 00:00:00 2001 From: Thong Yuan Yu Sarah Date: Tue, 31 Oct 2023 13:03:20 +0800 Subject: [PATCH 2/9] Check title only json --- configs/devnet.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configs/devnet.json b/configs/devnet.json index b66353e..171bd0b 100644 --- a/configs/devnet.json +++ b/configs/devnet.json @@ -12,5 +12,7 @@ "usdc": 1, "eth": 2 }, - "maintenance": {} + "maintenance": { + "title": "We're working on it" + } } \ No newline at end of file From 222010b029a5992414fe8de3146917239c15f3f2 Mon Sep 17 00:00:00 2001 From: Thong Yuan Yu Sarah Date: Tue, 31 Oct 2023 13:05:58 +0800 Subject: [PATCH 3/9] Check title + message json --- configs/devnet.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configs/devnet.json b/configs/devnet.json index 171bd0b..ccf5ea9 100644 --- a/configs/devnet.json +++ b/configs/devnet.json @@ -13,6 +13,7 @@ "eth": 2 }, "maintenance": { - "title": "We're working on it" + "title": "We're working on it", + "message": "Chain down right now: more updates later." } } \ No newline at end of file From 659fdacdd50442f393b45428f840b4bc90f3ccdf Mon Sep 17 00:00:00 2001 From: Thong Yuan Yu Sarah Date: Tue, 31 Oct 2023 13:08:57 +0800 Subject: [PATCH 4/9] Check message only json --- configs/devnet.json | 1 - 1 file changed, 1 deletion(-) diff --git a/configs/devnet.json b/configs/devnet.json index ccf5ea9..7d55ded 100644 --- a/configs/devnet.json +++ b/configs/devnet.json @@ -13,7 +13,6 @@ "eth": 2 }, "maintenance": { - "title": "We're working on it", "message": "Chain down right now: more updates later." } } \ No newline at end of file From 53efe23ad3f1eea89de8cedca2981d2d5d75b73d Mon Sep 17 00:00:00 2001 From: Thong Yuan Yu Sarah Date: Tue, 31 Oct 2023 13:11:18 +0800 Subject: [PATCH 5/9] Test no maintenance obj --- configs/devnet.json | 3 --- 1 file changed, 3 deletions(-) diff --git a/configs/devnet.json b/configs/devnet.json index 7d55ded..c70e039 100644 --- a/configs/devnet.json +++ b/configs/devnet.json @@ -11,8 +11,5 @@ "swth": 0, "usdc": 1, "eth": 2 - }, - "maintenance": { - "message": "Chain down right now: more updates later." } } \ No newline at end of file From 9dd8ca3db4ed72307f7a74e2a929b08265da1960 Mon Sep 17 00:00:00 2001 From: Thong Yuan Yu Sarah Date: Tue, 31 Oct 2023 13:12:05 +0800 Subject: [PATCH 6/9] Test if schema is working in the first place --- configs/devnet.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/devnet.json b/configs/devnet.json index c70e039..c3101bd 100644 --- a/configs/devnet.json +++ b/configs/devnet.json @@ -11,5 +11,5 @@ "swth": 0, "usdc": 1, "eth": 2 - } -} \ No newline at end of file + }, +} \ No newline at end of file From e246f6a9493d4a174fc0e4a1884dfb32a4bf129e Mon Sep 17 00:00:00 2001 From: Thong Yuan Yu Sarah Date: Tue, 31 Oct 2023 13:16:14 +0800 Subject: [PATCH 7/9] Add title only (wrong type) --- configs/devnet.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/devnet.json b/configs/devnet.json index c3101bd..64896ce 100644 --- a/configs/devnet.json +++ b/configs/devnet.json @@ -12,4 +12,7 @@ "usdc": 1, "eth": 2 }, + "maintenance": { + "title": [] + } } \ No newline at end of file From e04508d33aa07de3440a80af7663ddebbd066772 Mon Sep 17 00:00:00 2001 From: Thong Yuan Yu Sarah Date: Tue, 31 Oct 2023 13:17:10 +0800 Subject: [PATCH 8/9] Add message only json (wrong type) --- configs/devnet.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/devnet.json b/configs/devnet.json index 64896ce..9fe727d 100644 --- a/configs/devnet.json +++ b/configs/devnet.json @@ -13,6 +13,6 @@ "eth": 2 }, "maintenance": { - "title": [] + "message": [] } } \ No newline at end of file From 28ae977bec14051d7c21d669647676241b33d395 Mon Sep 17 00:00:00 2001 From: Thong Yuan Yu Sarah Date: Tue, 31 Oct 2023 13:18:37 +0800 Subject: [PATCH 9/9] Test title + message obj (wrong types) --- configs/devnet.json | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/devnet.json b/configs/devnet.json index 9fe727d..f2a1fc1 100644 --- a/configs/devnet.json +++ b/configs/devnet.json @@ -13,6 +13,7 @@ "eth": 2 }, "maintenance": { + "title": 24, "message": [] } } \ No newline at end of file