From 631fbccff872f29caabba42a22c1f6516a3876c2 Mon Sep 17 00:00:00 2001 From: nazgull08 Date: Wed, 23 Oct 2024 11:55:21 +0300 Subject: [PATCH 1/5] added addresses for 0.6.2 stress test --- src/config.json | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/src/config.json b/src/config.json index 686ceb09..4a616621 100644 --- a/src/config.json +++ b/src/config.json @@ -1,6 +1,5 @@ { - "version": "1.5.1", - "isMainnet": false, + "version": "1.5.0", "contractVer": 1538, "tokens": [ { @@ -38,7 +37,7 @@ "quoteAssetDecimals": 6, "priceDecimals": 9, "version": 1538, - "contractId": "0x3830aa30ddd4843dd13b6af7ae4fb59d8c5933b1a98cba9a80897c8ba5557307" + "contractId": "0x048a023f12e789daca61c3d0f3f122682c45e7a5a1734dbb7411b4a4cff21d42" }, { "marketName": "BTCUSDC", @@ -49,23 +48,23 @@ "quoteAssetDecimals": 6, "priceDecimals": 9, "version": 1538, - "contractId": "0x81acb82a64ff799836c19f4e7f9871cf6d13a1e5d286e815f91c26a1b92a8195" + "contractId": "0x598181fdf206ef2109967be6c4ad75c338a1f082f27d98fedeacd5591c34552c" } ], "indexers": { - "0x81acb82a64ff799836c19f4e7f9871cf6d13a1e5d286e815f91c26a1b92a8195": { + "0x598181fdf206ef2109967be6c4ad75c338a1f082f27d98fedeacd5591c34552c": { "httpUrl": "https://indexer.bigdevenergy.link/67b693c/v1/graphql", "wsUrl": "wss://indexer.bigdevenergy.link/67b693c/v1/graphql" }, - "0x3830aa30ddd4843dd13b6af7ae4fb59d8c5933b1a98cba9a80897c8ba5557307": { + "0x048a023f12e789daca61c3d0f3f122682c45e7a5a1734dbb7411b4a4cff21d42": { "httpUrl": "https://indexer.bigdevenergy.link/67b693c/v1/graphql", "wsUrl": "wss://indexer.bigdevenergy.link/67b693c/v1/graphql" } }, "contracts": { "registry": "0xd76662328e464549b6f619401992127bed9b5cff3b46a3516e6b509d810b7035", - "multiAsset": "0xdc527289bdef8ec452f350c9b2d36d464a9ebed88eb389615e512a78e26e3509" + "multiAsset": "0xd737149903a8b50d44111ae7728cbd14952faaa78718996d80a995cdf03a2ba5" }, "networkUrl": "https://testnet.fuel.network/v1/graphql", "explorerUrl": "https://app-testnet.fuel.network" -} \ No newline at end of file +} From 061739ae447d3af45ebc0303304524edaeedf830 Mon Sep 17 00:00:00 2001 From: nazgull08 Date: Thu, 24 Oct 2024 01:42:09 +0300 Subject: [PATCH 2/5] added graphql urls --- src/config.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/config.json b/src/config.json index 4a616621..c9b3614e 100644 --- a/src/config.json +++ b/src/config.json @@ -53,12 +53,12 @@ ], "indexers": { "0x598181fdf206ef2109967be6c4ad75c338a1f082f27d98fedeacd5591c34552c": { - "httpUrl": "https://indexer.bigdevenergy.link/67b693c/v1/graphql", - "wsUrl": "wss://indexer.bigdevenergy.link/67b693c/v1/graphql" + "httpUrl": "https://indexer.bigdevenergy.link/b5c0882/v1/graphql", + "wsUrl": "wss://indexer.bigdevenergy.link/b5c0882/v1/graphql" }, "0x048a023f12e789daca61c3d0f3f122682c45e7a5a1734dbb7411b4a4cff21d42": { - "httpUrl": "https://indexer.bigdevenergy.link/67b693c/v1/graphql", - "wsUrl": "wss://indexer.bigdevenergy.link/67b693c/v1/graphql" + "httpUrl": "https://indexer.bigdevenergy.link/b5c0882/v1/graphql", + "wsUrl": "wss://indexer.bigdevenergy.link/b5c0882/v1/graphql" } }, "contracts": { From b29201929b988402c8be12bd23ab871d7e2d7175 Mon Sep 17 00:00:00 2001 From: nazgull08 Date: Thu, 24 Oct 2024 09:40:14 +0300 Subject: [PATCH 3/5] registry address fix --- src/config.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config.json b/src/config.json index c9b3614e..14729988 100644 --- a/src/config.json +++ b/src/config.json @@ -62,8 +62,8 @@ } }, "contracts": { - "registry": "0xd76662328e464549b6f619401992127bed9b5cff3b46a3516e6b509d810b7035", - "multiAsset": "0xd737149903a8b50d44111ae7728cbd14952faaa78718996d80a995cdf03a2ba5" + "registry": "0xd737149903a8b50d44111ae7728cbd14952faaa78718996d80a995cdf03a2ba5", + "multiAsset": "0xdc527289bdef8ec452f350c9b2d36d464a9ebed88eb389615e512a78e26e3509" }, "networkUrl": "https://testnet.fuel.network/v1/graphql", "explorerUrl": "https://app-testnet.fuel.network" From 1bd6251be97b097568df00989983c978c941f0da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=B8b=C4=97rt=C3=B8?= <106074508+EchoDex@users.noreply.github.com> Date: Thu, 24 Oct 2024 11:13:28 +0400 Subject: [PATCH 4/5] chore: correct build --- vite.config.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/vite.config.ts b/vite.config.ts index c410bad4..9c9c563c 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -7,8 +7,6 @@ import { nodePolyfills } from "vite-plugin-node-polyfills"; import svgr from "vite-plugin-svgr"; import tsconfigPaths from "vite-tsconfig-paths"; -import getConfig from "./script/getConfig"; - const OUT_DIR = "build"; const COMMIT_HASH = execSync("git rev-parse --short HEAD").toString().trim(); @@ -22,7 +20,7 @@ export default defineConfig({ "process.env.__COMMIT_HASH__": JSON.stringify(COMMIT_HASH), }, plugins: [ - getConfig(), + // getConfig(), nodePolyfills({ globals: { Buffer: true, From bb427dfe68d0adb0ce1cf22a90d57443ae1d5503 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=B8b=C4=97rt=C3=B8?= <106074508+EchoDex@users.noreply.github.com> Date: Thu, 24 Oct 2024 13:14:42 +0400 Subject: [PATCH 5/5] chore: update config --- src/config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.json b/src/config.json index 14729988..71624c55 100644 --- a/src/config.json +++ b/src/config.json @@ -1,5 +1,5 @@ { - "version": "1.5.0", + "version": "1.5.1", "contractVer": 1538, "tokens": [ {