From ec71bc374e5dc0246f7ba36183e6e4243e7f4fad Mon Sep 17 00:00:00 2001 From: JayJay1024 Date: Fri, 23 Aug 2024 16:30:52 +0800 Subject: [PATCH] Upgrade helixconf package --- apps/web/package.json | 2 +- apps/web/src/config/chains/bera.ts | 13 ++++--------- apps/web/src/types/chain.ts | 2 +- pnpm-lock.yaml | 10 +++++----- 4 files changed, 11 insertions(+), 16 deletions(-) diff --git a/apps/web/package.json b/apps/web/package.json index efc16706..df6df2f4 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -19,7 +19,7 @@ "dependencies": { "@apollo/client": "^3.10.3", "@floating-ui/react": "^0.26.14", - "@helixbridge/helixconf": "1.1.11", + "@helixbridge/helixconf": "1.1.14", "@rainbow-me/rainbowkit": "^1.3.7", "date-fns": "^3.6.0", "date-fns-tz": "^3.1.3", diff --git a/apps/web/src/config/chains/bera.ts b/apps/web/src/config/chains/bera.ts index 2bbe2f28..5c9545c6 100644 --- a/apps/web/src/config/chains/bera.ts +++ b/apps/web/src/config/chains/bera.ts @@ -50,7 +50,7 @@ if (chain.couples.length && !chain.tokens.some((t) => t.type === "native")) { export const beraChain: ChainConfig = { id: ChainID.BERA, network: "bera", - name: "Berachain Artio", + name: "Berachain Bartio", nativeCurrency: { name: "BERA", symbol: "BERA", @@ -58,19 +58,14 @@ export const beraChain: ChainConfig = { }, rpcUrls: { default: { - http: ["https://artio.rpc.berachain.com/"], + http: ["https://bartio.rpc.berachain.com/"], }, public: { - http: ["https://artio.rpc.berachain.com/"], + http: ["https://bartio.rpc.berachain.com/"], }, }, blockExplorers: { - default: { name: "Artio", url: "https://artio.beratrail.io" }, - }, - contracts: { - multicall3: { - address: "0x9d1dB8253105b007DDDE65Ce262f701814B91125", - }, + default: { name: "Bartio", url: "https://bartio.beratrail.io" }, }, testnet: true, diff --git a/apps/web/src/types/chain.ts b/apps/web/src/types/chain.ts index cc5c6bf6..41830a41 100644 --- a/apps/web/src/types/chain.ts +++ b/apps/web/src/types/chain.ts @@ -26,7 +26,7 @@ export enum ChainID { OPTIMISM = 10, GNOSIS = 100, BLAST = 81457, - BERA = 80085, + BERA = 80084, TAIKO_HEKLA = 167009, ASTAR_ZKEVM = 3776, MORPH = 2710, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5536bc0b..99d4f362 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -35,8 +35,8 @@ importers: specifier: ^0.26.14 version: 0.26.20(react-dom@18.3.1(react@18.3.1))(react@18.3.1) "@helixbridge/helixconf": - specifier: 1.1.11 - version: 1.1.11 + specifier: 1.1.14 + version: 1.1.14 "@rainbow-me/rainbowkit": specifier: ^1.3.7 version: 1.3.7(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(viem@1.21.4(typescript@5.5.4))(wagmi@1.4.13(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.5.4)(viem@1.21.4(typescript@5.5.4))) @@ -1003,9 +1003,9 @@ packages: resolution: { integrity: sha512-KJ1rA4/43Jl7oQ6LBeTPeP9rfm1kaY5SNF8zFnECTVSY+GBMY0SuJddumw0a0fdwHxV1FhSnEE82ObVpbv4QqQ== } - "@helixbridge/helixconf@1.1.11": + "@helixbridge/helixconf@1.1.14": resolution: - { integrity: sha512-qNtIzc0CUMhpOIO6DDpJRMTLOlKD3WHcVSkAJOERAQkv0f1RvJHF7TwpJEDcSSUCXHOiAX0DiFb5skGh16p7xA== } + { integrity: sha512-zit/12tpHDhzNz3w+Jwuo8erONlUqEsyvrX/MyaJfOhVxxglext0gKeysctHIsfJZ8hzmKpB6Sz3krvuqbLb0A== } "@humanwhocodes/config-array@0.11.14": resolution: @@ -6222,7 +6222,7 @@ snapshots: "@helixbridge/helixconf@1.1.1": {} - "@helixbridge/helixconf@1.1.11": {} + "@helixbridge/helixconf@1.1.14": {} "@humanwhocodes/config-array@0.11.14": dependencies: