From cecfa5e6312e23470d881a10c26677d36ae0cd54 Mon Sep 17 00:00:00 2001 From: rajuvemula Date: Tue, 16 Sep 2025 22:03:17 +0530 Subject: [PATCH] fix: fix dependency issue --- .github/workflows/staging.yml | 20 ++++++++++---------- wrangler.toml | 9 +++------ 2 files changed, 13 insertions(+), 16 deletions(-) diff --git a/.github/workflows/staging.yml b/.github/workflows/staging.yml index a45e2eee..c21f5109 100644 --- a/.github/workflows/staging.yml +++ b/.github/workflows/staging.yml @@ -64,7 +64,7 @@ jobs: REACT_APP_SENTRY_API: "" REACT_APP_IPFS: false - name: Publish - uses: cloudflare/wrangler-action@1.3.0 + uses: cloudflare/wrangler-action@v3 with: apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} @@ -114,19 +114,19 @@ jobs: - run: npm run build --if-present env: CI: false - REACT_APP_API_KEY: "https://rest.testnet2.persistence.one" - REACT_APP_TENDERMINT_RPC_ENDPOINT: "https://rpc.testnet2.persistence.one" - REACT_APP_WEBSITE_URL: "https://test-core-1.wallet.persistence.one" - REACT_APP_EXPLORER_API: "https://testnet.mintscan.io/persistence-testnet" + REACT_APP_API_KEY: "https://rest.core.persistence.one" + REACT_APP_TENDERMINT_RPC_ENDPOINT: "https://rpc.core.persistence.one" + REACT_APP_WEBSITE_URL: "https://staging.wallet.persistence.one" + REACT_APP_EXPLORER_API: "https://www.mintscan.io/persistence" REACT_APP_MAIL_CHIMP_URL: "https://one.us17.list-manage.com/subscribe/post?u=fd70c7f5c39a43acbedb49253&id=7f8e2dbc48" - REACT_APP_CHAIN_ID: "test-core-2" - REACT_APP_CHAIN_NAME: "Persistence Testnet" - REACT_APP_IBC_CONFIG: "ibcStaging.json" + REACT_APP_CHAIN_ID: "core-1" + REACT_APP_CHAIN_NAME: "Persistence" + REACT_APP_IBC_CONFIG: "ibcMainnet.json" REACT_APP_GA_TRACKING_ID: "UA-219210130-1" - REACT_APP_SENTRY_API: "" + REACT_APP_SENTRY_API: "https://a31c61f5ce774e0791ffdc3b830b406c@o1083089.ingest.sentry.io/6092403" REACT_APP_IPFS: false - name: Publish - uses: cloudflare/wrangler-action@1.3.0 + uses: cloudflare/wrangler-action@v3 with: apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} diff --git a/wrangler.toml b/wrangler.toml index 96156be8..668f1486 100644 --- a/wrangler.toml +++ b/wrangler.toml @@ -1,12 +1,9 @@ name = "persistence-wallet" -type = "webpack" -compatibility_date = "2022-08-01" account_id = "1b234fd75823c727716b84645046a3ff" -zone_id = '000fde296cba847a78e918414382ba7a' -usage_model = 'bundled' -compatibility_flags = [] -site = {bucket = "./build"} +compatibility_date = "2024-01-01" main = "workers-site/index.js" +site = {bucket = "./build"} +workers_dev = false [env.testnet-staging]